∑ Fun With Math ← All Experiments

Fourier Series Visualizer

Sum of rotating circles that together draw any periodic waveform.

Controls

Square Wave

f(t) = (4/π) Σ sin((2k-1)t) / (2k-1) for k = 1, 2, 3, …
Only odd harmonics contribute.

What you're seeing

Each circle spins at a harmonic frequency. Their combined tip traces the target wave on the right. Add more harmonics for a sharper approximation.

← Back to all experiments