🏔️ Voronoi Terrain Generator: Lloyd Relaxation, Cell Rivers and Drainage - 3D Diorama
A 3D tabletop diorama of a terrain made from Voronoi cells: pin the seed points, relax them with Lloyd steps toward hexagons, raise or lower cells, and watch rain run along the cell drainage graph into carved rivers, lakes and the sea.
⚙ Under the hood
A 3D tabletop diorama of a terrain made from Voronoi cells: pin the seed points, relax them with Lloyd steps toward hexagons, raise or lower cells, and watch rain run along the cell drainage graph into carved rivers, lakes and the sea.
Voronoi DiagramLloyd RelaxationProcedural TerrainDrainage BasinComputational Geometry
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install