A spirograph is a geometric drawing toy composed of interlocking gears that creates intricate mathematical curves, known as hypotrochoids and epitrochoids, by rotating a smaller wheel with a pen hole inside a fixed ring.
This Spirograph Generation Tool uses trigonometric functions to create a continous curve.
R = radius of the outer circler = radius of the rotating inner circleO = offset of the pen from the inner circle’s center