Labs · Oscillation

Fourier Epicycles

Fourier Epicycles simulation

The previous demo added two sine waves. Fourier showed that any periodic signal is a sum of sines. In 2D that means any closed drawing can be traced by a chain of rotating circles (epicycles), each spinning at a whole-number frequency.

The Discrete Fourier Transform turns the shape's points into circle radii and starting angles. Circles are sorted biggest first, so a handful already capture the rough shape and the rest add fine detail.

Pick "Draw your own", sketch a shape with the mouse, then lower the number of circles to 3, 5, 10…

Controls

Evolved from Oscillation & Waves.

Evolved into Fourier Series: Building Waves.