Visualization of the Fourier series for a square wave

Use the slider to increase or decrease the number of harmonics (n) when n=1 it's a sinus wave