Skip to content

A procedural terrain generator made with React and Three.js

Notifications You must be signed in to change notification settings

HMShannon/landscape-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live demo at https://hmshannon.github.io/landscape-generator/

This procedural terrain generator utilizes the Diamond-square algorithm to generate height values which are used to construct a 3D landscape. The terrain can be made more or less mountainous with the Roughness selector. Custom colors are chosen based on the height of each point in the terrain.

diamond-square algorithm landscape

Run git clone, npm install, and npm start to run locally.