Look at a giraffe's skin. Watch a lake freeze and crack. Observe a soap bubble raft. Look at the cells in a plant leaf. Notice how they all share a similar pattern: irregular polygons that fit together perfectly, with no gaps or overlaps. This natural pattern is described by mathematics developed in 1908 by Russian mathematician Georgy Voronoi: the Voronoi diagram.
The Question Voronoi Asked
Imagine you have a set of seed points scattered in a plane. For each seed point, Voronoi asked: what region of the plane is closer to that seed than to any other seed?
The answer creates a diagram where each seed point gets its own polygon - all the pixels closer to that seed than to any other. These polygons are called Voronoi cells.
How It Works
The boundary between two cells is the perpendicular bisector - the line equidistant from two seeds. Where three or more boundaries meet, you get a vertex. The result is a partition of the plane into irregular polygons that perfectly tile the space.
Where Voronoi Appears in Nature
Giraffe skin: Brown patches are roughly Voronoi cells. Scientists believe the pattern emerges from chemical gradients during development.
Cracked mud: As mud dries, it shrinks and cracks. The cracks follow Voronoi-like patterns because they form boundaries between contracting regions.
Soap bubbles: When bubbles cluster, they form Voronoi cells. This is mathematically inevitable - bubbles naturally minimize surface area, which leads to Voronoi structures.
Cellular tissue: Biological cells often arrange in Voronoi-like patterns. The organization minimizes energy and maximizes efficiency.
Voronoi in Digital Art
Voronoi diagrams have become popular in digital art because they're visually striking and mathematically elegant. By varying seed point density, color, and cell size, artists create intricate, organic-looking patterns that feel natural despite being purely mathematical.
The process is simple:
- Analyze your image to find interesting points (edges, brightness peaks, random samples)
- Compute the Voronoi diagram for those points
- Color each cell based on the average color of its region
- Optionally smooth or stylize the result
Voronoi and Its Dual: Delaunay
Every Voronoi diagram has a dual structure called the Delaunay triangulation. If you connect the seeds of adjacent Voronoi cells, you get a triangular mesh. Many artists use the Delaunay directly to create low-poly art.
From Pure Math to Art
What started as a mathematical construct has become a visual language. Voronoi patterns appear in:
- Abstract art: Voronoi structures as composition
- Game design: Procedural map generation and level design
- Architecture: Parametric design and facade patterns
- Textile design: Fabric patterns inspired by Voronoi geometry
Ready to try it? Open GlitchArt Studio and experiment with this effect.