🗺️ 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.
⚙ 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