A responsive progressive Perlin noise playground for 3D terrain generation.
This application can be pulled down and run locally. You can also pull it down, tweak it, build it, and host the build contents on a static server.
View the LIVE DEMO HERE.
Read the article that goes along with this demo HERE.
You will need NodeJS installed which ships with NPM.
Once you have NodeJS and NPM run the following command within the terrain-react-app
directory:
cd terrain-react-app
npm install
npm run start
That will install dependencies, start watches on files, and serve the application locally ( typically localhost:3000 ).
To run a build which will generate the production build
directory that can then be dropped into a static server, you will need to do two things:
- Modify package.json and update the "hostname" property to point to the root of the host where the app will live.
- Run the following command in your terminal:
cd terrain-react-app
npm install
npm run build
This app was bootstrapped using create-react-app. See the README.md file within terrain-react-app for more details.