Home▸Articles▸Mathematics

The Mathematics of Spirograph: Exploring Hypotrochoids and Epitrochoids

Discover the fascinating curves generated by a point on a circle rolling inside or outside another circle.

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

What Spirograph Curves Are

Spirograph curves, specifically hypotrochoids and epitrochoids, are the paths traced by a point on one circle as it rolls around another. These curves have captivated mathematicians and artists alike due to their intricate patterns.

The name 'hypotrochoid' refers to when the rolling circle is inside the fixed circle, while 'epitrochoid' describes the case where the rolling circle is outside the fixed one.

How Spirograph Curves Are Formed

The formation of these curves can be described mathematically. For a hypotrochoid, if we denote the radius of the fixed circle as R, the rolling circle’s radius as r, and the distance from the tracing point to the center of the rolling circle as d, then the parametric equations are given by:

x(t) = (R - r) * cos(t) + d * cos((R - r)/r * t), y(t) = (R - r) * sin(t) - d * sin((R - r)/r * t). For an epitrochoid, the equations are similar but with R and r swapped.

live demo · related simulation● LIVE

Why Spirograph Curves Matter

These curves have practical applications in various fields. In engineering, they help design gears and mechanical parts that require precise motion paths. In art, spirographs are used to create aesthetically pleasing designs.

Moreover, the study of these curves contributes to our understanding of more complex mathematical concepts such as parametric equations and polar coordinates.

Real-World Examples

Spirograph patterns can be observed in various natural phenomena. For instance, the path traced by a planet moving around the sun while also rotating on its axis is somewhat similar to an epitrochoid.

In technology, spirograph-like mechanisms are used in certain types of microscopes and in the design of some roller coasters for smooth transitions between loops.

Frequently asked questions

What determines the shape of a spirograph curve?

The shape is determined by the radii of the fixed and rolling circles, as well as the distance from the tracing point to the center of the rolling circle.

Can spirograph curves be used in other fields besides art and engineering?

Yes, they have applications in physics, particularly in understanding planetary motion and in designing certain types of lenses and mirrors.

How do the equations for hypotrochoids differ from those for epitrochoids?

The main difference lies in the relationship between R and r. For a hypotrochoid, R > r, while for an epitrochoid, R < r.

Are there any limitations to using spirograph curves in practical applications?

While spirograph curves are versatile, they may not always provide the most efficient or precise solutions due to their complex nature and the need for careful parameter tuning.

Try it live

Everything above runs in your browser — open Spirograph: Hypotrochoids and Epitrochoids in 2D and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Spirograph: Hypotrochoids and Epitrochoids in 2D simulation

What did you find?

Add reproduction steps (optional)