Fourier series: build a wave from harmonics

Add harmonics one at a time and watch a square, triangle, sawtooth or rectified sine take shape. The line spectrum lights up as you go, Parseval reports how much of the power you have, and the Gibbs ripple refuses to shrink.

Loading the lab…