HexGrid is a comprehensive toolkit for working with hexagonal grids. Whether you're building a strategy game, a simulation, or just want cool hex-based visualizations, HexGrid has you covered.
Key Features
- >Multiple Coordinate Systems: Cube, axial, and offset coordinates
- >Procedural Generation: Terrain, biomes, rivers, and settlements
- >Pathfinding: A* implementation optimized for hex grids
- >Rendering: Canvas and WebGL renderers included
- >Serialization: Save and load worlds efficiently
- >TypeScript: Fully typed API
Tech Stack
Pure TypeScript with zero runtime dependencies. Optional rendering packages for Canvas and WebGL.