Geometry / Space
Voronoi Playground
Divide a plane with points. Move the sites, discover their shared boundaries, and relax a seeded Voronoi composition into balance.
18 seeded sites. JavaScript enables editing.
The current cells, sites and selected geometry mode. Selection highlighting is omitted. PNG targets 2× or a 2,000 px long edge, capped at 4 million pixels and 4,096 px per side.
JavaScript and SVG are required to edit. This static composition shows the real default cells.
A boundary is a balance.
Each cell contains the positions closest to its site by Euclidean distance. Relax once moves each site to its cell’s area centroid. Dual geometry connects sites across shared visible cell edges: the clipped Delaunay dual. At cocircular sites, no arbitrary diagonal is added.
How to play
Tap empty space to add a site or drag a marker. Use Selected site and the X/Y fields for keyboard editing. Remove keeps at least two sites; the limit is 60. Relax once applies one area-centroid Lloyd step. Reset restores the original 18 sites, seed and Cells mode. Export the current geometry as PNG or SVG.
Built with
Astro · TypeScript · SVG · Half-plane clipping
The geometry changes only when you edit it. No continuous animation runs. A genuine default tessellation and its explanation remain available without JavaScript.