ThreeJS React app with Phoenix backend for generating hexagon-based worlds and seeing them in 3D.
Clone repo, then run:
yarn install
You can also use npm install if you prefer.
Then:
yarn start
to start development server
Just run:
yarn test
Try to migrate data structure to mobx-state-tree and see how it will affect performance on larger maps- Increase test coverage
- Add more terrain types and assets placed on tiles (like villages, caves, etc.)
Use InstancedBufferGeometry with some shaders to speed up rendering
This project is being made as a hobby in my free time, feel free to contribute or ask about anything here :)