Home▸Space & Astronomy▸Voronoi Terrain Generator: Lloyd Relaxation, Cell Rivers and Drainage - 2D Map

🗺️ Voronoi Terrain Generator: Lloyd Relaxation, Cell Rivers and Drainage - 2D Map

A top-down terrain built from Voronoi cells: place or drag seed points, relax them with Lloyd steps toward hexagons, shape plateaus, basins or cones from fractal noise, and watch rain follow the cell drainage graph into rivers, lakes and the sea.

Space & Astronomy2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Voronoi Terrain Generator: Lloyd Relaxation, Cell Rivers and Drainage - 2D Map ↗ Open standalone
⚙ Under the hood

A top-down terrain built from Voronoi cells: place or drag seed points, relax them with Lloyd steps toward hexagons, shape plateaus, basins or cones from fractal noise, and watch rain follow the cell drainage graph into rivers, lakes and the sea.

Voronoi DiagramLloyd RelaxationProcedural TerrainDrainage BasinComputational Geometry

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)