feat: Implement HeightmapGenerator and Voronoi module

- Added HeightmapGenerator class for generating heightmaps with various tools (Hill, Pit, Range, Trough, Strait, etc.).
- Introduced Voronoi class for creating Voronoi diagrams using Delaunator.
- Updated index.html to include new modules.
- Created index.ts to manage module imports.
- Enhanced arrayUtils and graphUtils with type definitions and improved functionality.
- Added utility functions for generating grids and calculating Voronoi cells.
This commit is contained in:
Marc Emmanuel 2026-01-16 13:12:56 +01:00
parent fa493989b6
commit 4b5e9bfeea
8 changed files with 748 additions and 601 deletions

2
src/modules/index.ts Normal file
View file

@ -0,0 +1,2 @@
import "./voronoi";
import "./heightmap-generator";