← all demos
Music & Acoustics

Fourier Synthesis (Sawtooth)

f(x) = (2/π) Σₙ (−1)ⁿ⁺¹ sin(nx)/n
Fourier Synthesis (Sawtooth)

A sawtooth wave assembling itself from pure sines: each harmonic enters with amplitude 1/n and alternating sign, sharpening the ramp and its vertical drop one partial at a time.

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