Home▸Quantum Computing▸Fourier Epicycles Simulator (2D)

Fourier Epicycles Simulator (2D)

Interactive 2D Fourier epicycles simulator: a chain of rotating circles, each spinning at its own integer frequency, sums its vectors to trace a square, star or heart — the same discrete Fourier transform used by the 3D version, drawn flat with live coefficient readouts.

Quantum Computing2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-fourier-epicycles ↗ Open standalone

This 2D simulator draws a chain of rotating circles — epicycles — whose vector sum traces a square, star or heart from a real discrete Fourier transform of the target outline. Each circle in the chain spins at its own fixed integer frequency, so the tip of the last circle sweeps out a growing trail that converges on the target shape as more terms are added. Drag the term-count slider to add or remove circles and watch the approximation quality climb, adjust the drawing speed, and switch shapes to see how the underlying coefficients change while the same chain-of-circles mechanic keeps working underneath.

⚙ Under the hood

A 2D chain of rotating circles sums its Fourier-series vectors to trace a square, star or heart, with live controls for term count and drawing speed.

Canvas 2DFourierDFTEpicycles

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)