Interactive Fourier Transform

Draw a waveform → see its frequency spectrum → reconstruct

Draw your signal here (click+drag) — or pick a preset
Frequency spectrum |X[k]| (click bars to toggle harmonics)
Reconstruction from selected harmonics

Draw any waveform on the top canvas. The middle panel shows its discrete Fourier transform — click frequency bins to toggle them on/off. The bottom panel reconstructs the signal from only the selected harmonics, demonstrating how complex waves are sums of simple sinusoids.