How would I teach Precalculus? By solving trig identities or by creating dynamic generative art? This Processing sketch, with less than 20 lines of code, uses a sine wave, frequency, amplitude and phase shift from Precalculus, as well as loops, variables and functions from computer programming.