← all demos
Music & Acoustics

Fourier Synthesis (Square)

f(x) = (4/π) Σ sin((2k-1)x)/(2k-1)
Fourier Synthesis (Square)

A square wave assembling itself one odd harmonic at a time — watch the Gibbs overshoot form at the edges.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).