hex-terrain

Standalone demo module that creates hexagonal terrain tiles on demand.

npm install hex-terrain
9 downloads in the last week
19 downloads in the last month

hex-terrain

Standalone demo module that creates hexagonal terrain tiles on demand

screenshot

  • npm install hex-terrain
  • cd hex-terrain
  • npm install ( to fetch dependencies )
  • ( you will still need to make the Three.js library files available at the paths expected by public/index.html)
  • npm start ( starts the server running )
  • visit http://localhost:8000 with your browser
    • plus key (+) requests a new tile from the server
    • use left & right arrow keys to rotate the camera
npm loves you