∫ Fourier Coefficient Integrator (2D)
Interactive 2D Canvas visualizer that numerically integrates the Fourier coefficients an and bn of square, sawtooth and triangle waves, then sums N harmonics to approximate the target function. Live Gibbs-overshoot and RMS-error readouts.
⚙ Under the hood
Numerically integrates the Fourier coefficients a_n and b_n of a square, sawtooth, or triangle wave using the trapezoidal rule, then sums N harmonics to build a live approximation of the true function. Individual harmonics can be toggled on, with the Gibbs-phenomenon overshoot percentage and RMS error tracked live as N changes.
fourier seriesnumerical integrationgibbs phenomenonharmonic analysissignal processingrms error
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install