Skip to content

echennau/terrain-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terrain-Gen

Terrain generation using diamond square algorithm.

Sample Output

sample output

Algorithm Inputs and Effects

Smoothness, ranging from 0 to 1, determines the smoothness of the output. The lower the smoothness, the more staticky the values may appear. Higher smoothness reduces this.

Amplitude, a positive integer, also helps determines the difference in values, essentially influencing the difference between the lowest and highest point. However, if normalizing, amplitude is essentially irrelevant.

See comparisons of inputs below.

input comparisons

Author

Ethan Chennault ethanolchennault@gmail.com

About

Terrain generation using diamond square algorithm.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages