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.
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.
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.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install