Fourier Mode Decomposition

Draw any waveform, then watch it decomposed into individual frequency modes. Each harmonic lights up as a tunable component.

Presets:
Modes used: 12 Gibbs error: -% Power in modes: -%
Any periodic signal decomposes uniquely into harmonics: f(x) = a₀/2 + Σ(aₙcos(nωx) + bₙsin(nωx)). The Gibbs phenomenon: a square wave's Fourier series overshoots by ~9% near discontinuities, no matter how many modes you add. Draw your own waveform to see its spectrum live.