Home▸Articles▸Quantum Computing

Fourier Epicycles: Tracing Shapes with Rotating Circles

A fascinating demonstration of how complex shapes can be constructed from simple circular motions.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Fourier Epicycles Are

Fourier epicycles are a visual representation of how complex shapes can be constructed by summing the motions of multiple rotating circles. Each circle's motion is defined by its radius, angular frequency, and phase angle, which together form a term in the Fourier series.

The concept was popularized by Eric Lengyel’s 'Fourier Series' video, where he demonstrated how to trace simple shapes like squares or stars using this method.

Why It Matters

Understanding Fourier epicycles provides insight into the nature of periodic functions and their ability to represent complex waveforms. This concept is foundational in fields such as signal processing, quantum computing, and even music synthesis.

By manipulating the term count and drawing speed, one can observe how increasing the number of terms improves the approximation of a shape, illustrating the power of Fourier series in decomposing functions into simpler components.

live demo · related simulation● LIVE

How It Works

Each circle in the epicycle model represents a term in the Fourier series. The radius corresponds to the amplitude of that term, while the angular frequency and phase angle determine its contribution over time. When these circles rotate simultaneously, their combined motion traces out the desired shape.

The 'circles' toggle allows you to visualize each individual circle's path, revealing how they collectively form the final shape.

Real-World Applications

Fourier epicycles have applications in various fields. In signal processing, Fourier series are used to analyze and synthesize signals. In quantum computing, similar principles can be applied to understand the behavior of particles under different conditions.

The concept is also relevant in computer graphics for generating complex shapes and animations.

Frequently asked questions

What does increasing the term count do?

Increasing the term count adds more circles to the epicycle model, improving the approximation of the shape. More terms provide a smoother and more accurate representation of the desired form.

How does changing the drawing speed affect the simulation?

Adjusting the drawing speed changes how quickly the simulation updates, allowing you to observe the process of constructing the shape in real-time or at a faster pace for quicker results.

Can Fourier epicycles trace any shape?

While the simulator focuses on tracing shapes like squares, stars, and hearts, the underlying principle can be applied to trace virtually any periodic function. The limitation lies in the complexity of the shape and the number of terms required for an accurate representation.

What is the significance of the 'clear trail' feature?

The 'clear trail' feature allows you to reset the drawing, making it easier to observe the construction process without visual clutter. It also helps in comparing different shapes or adjusting parameters more effectively.

Try it live

Everything above runs in your browser — open Fourier Epicycles Simulator (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Fourier Epicycles Simulator (2D) simulation

What did you find?

Add reproduction steps (optional)