Fourier Series

This interactive sketch visualizes a Fourier series using epicycles. Each circle represents an odd harmonic; as you add more epicycles with the slider, the path on the right converges toward a square wave. The rotating vectors sum to a point whose vertical position is traced over time.