- System requirements: pnpm
- Install package:
pnpm i
- Serve locally:
pnpm dev
The map data, with states located using axial coordinates, is in helpers/hex-map/hex-positions.csv
. Starting from Kentucky at
Those axial coordinates are converted to Cartesian coordinated with helpers/hex-map/build-hex-map.py
, which produces src/data/state-hex.tsx
.
It might make sense to produce the hex map coordinates on the fly using JavaScript, so that features like padding can be adjusted in the app itself.