← all demos
Music & Acoustics

Fourier Synthesis (Triangle)

f(x) = (8/π²) Σ (−1)ᵏ sin((2k+1)x)/(2k+1)²
Fourier Synthesis (Triangle)

A triangle wave built from odd harmonics only, each weighted 1/n² so the series converges fast — after a handful of terms the corners are already crisp.

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).