Random Mandala Generator

Draw a one-of-a-kind mandala or spirograph -- perfectly symmetric line art, seeded and reproducible, different every press.

What is a mandala?

A mandala is a design built outward from a single centre in repeating, radially symmetric rings -- the Sanskrit word simply means circle. In Hindu and Buddhist practice mandalas are meditation and ritual devices, maps of the cosmos to be contemplated or, in the Tibetan sand tradition, painstakingly built and then swept away. The underlying geometry travels well beyond religion: rose windows, tile work, and adult colouring books all use the same logic of a motif repeated around a centre. A spirograph pattern is a mechanical cousin, traced by a pen orbiting inside a rolling gear, and closes into a perfect loop for the same reason a mandala satisfies: strict symmetry around a fixed point.

About this generator

Each press draws a one-of-a-kind piece of radial line art on the site's ink card: either a mandala -- rings of petals, dots, diamonds, and arcs repeated with perfect rotational symmetry -- or a spirograph, a single closed curve traced by mathematical gears. Choose a style or let every press surprise you; the seed on the card can reproduce any design exactly.

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

People generate them for the same reason they doodle them -- it's soothing -- and keep favorites as phone wallpapers, embroidery and tattoo references, or coloring templates. The spirograph mode doubles as a quiet math demo: the curve's loops and petals come straight from gear ratios.

How it works

Every press draws a 32-bit seed from the site's cryptographically secure randomness and unfolds the whole design from it. Mandalas pick a symmetry order (8- to 16-fold), then build four to six rings, each choosing a motif, size, and colour, occasionally offset half a step so the rings weave. Spirographs pick integer gear sizes and a pen offset, then trace the hypotrochoid until it closes -- which it must, in exactly as many revolutions as the gear ratio dictates. Same seed, same art, every time.

Common questions

What's the difference between the two styles?

A mandala is built from discrete motifs -- petals, dots, diamonds -- stamped around the centre in symmetric rings. A spirograph is one continuous line: the path of a pen fixed inside a small gear rolling around inside a big one, exactly like the toy.

Can I get the same design back?

Yes -- the geometry is fully determined by the seed stamped on the card. Note the seed and style, and the identical design can always be redrawn.

Why do spirograph curves always close perfectly?

The generator uses whole-number gear sizes, so after a fixed number of revolutions -- the small gear's size divided by the gears' greatest common divisor -- the pen returns exactly to its starting point. That's the toy's magic, and it's pure arithmetic.

Can I use these as wallpapers or coloring pages?

Freely -- screenshot the card, or print the page. The art is vector-drawn, so it stays crisp at any size.

Related Generators

Coat of Arms · Maze · Game of Life · Langton's Ant · Fractal · Walk Art

All Pattern generators

Browse all generators