Voronoi pattern generator

Scatter points, grow a cell around each one, and get a pattern that looks like cracked earth, soap bubbles or a honeycomb. Set how orderly the cells are, round their corners, switch to triangles — and export a seamless pattern as SVG, PNG or CSS.

Open in the generator How it works

Irregular cells in vivid colours forming a Voronoi pattern

What is a Voronoi diagram?

Take a handful of points on a plane and give every spot on the plane to its nearest point. The territories you get are called Voronoi cells (after Georgy Voronoy, who studied them in 1908). The same idea appears in giraffe patches, dried mud, soap foam and the cells of a leaf.

Connect points whose cells touch, and you get the Delaunay triangulation, the dual of the same diagram. Ornamatic can draw either: cells or triangles.

How the generator builds them

Points are scattered at random and wrapped around the edges of the tile, so the cells on one side continue on the other and the pattern is seamless. The “Shuffle” button picks a new scatter.

Plain random points give uneven cells. Lloyd relaxation fixes that: each point moves to the centre of its own cell, step after step. After a few steps the cells even out, and after six or more they are close to a honeycomb.

What you can adjust

Export and use

Download the seamless tile as PNG or SVG, or copy a ready CSS background. The patterns you create are free to use, personally or commercially.