Three gradients in one codebase

Part 3 of From Saturday to Co-Author. Part 2 covered the fold under the tree. This series is dedicated to Stephen Jordan.