Epicycloid
An epicycloid is the curve traced by a fixed point on a circle of radius r as it rolls without slipping on the outside of a fixed circle of radius R. It is a special case of a trochoid and is studied in geometry and kinematics for its characteristic looping shapes.
If the tracing point is at a distance d from the center of the rolling circle, its
x(t) = (R + r) cos t − d cos(((R + r)/r) t)
y(t) = (R + r) sin t − d sin(((R + r)/r) t),
where t is the rolling parameter. For the common case where the tracing point lies on the
x(t) = (R + r) cos t − r cos(((R + r)/r) t)
y(t) = (R + r) sin t − r sin(((R + r)/r) t).
A key property is how the shape depends on the ratio R/r. If R/r is an integer
Epicycloids appear in various contexts, including decorative patterns, gear design and epicyclic mechanisms, and handheld drawing