DevToolBox

🌀 SVG Spirograph Generator

Generate mathematical spirograph patterns as SVG

Settings

Presets

Preview

SVG Code

How It Works

A spirograph is created by rolling a smaller circle (inner radius) inside a larger circle (outer radius). A pen is positioned at a distance from the center of the inner circle, creating the pattern as it moves.

The mathematical formula uses parametric equations based on these three values to generate the beautiful curves.