Skip to content

whiteboxdev/example-diamond-square

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diamond Square

Example of the diamond square algorithm and procedural generation.

Watch the reference video:
https://www.youtube.com/watch?v=4GuAV1PnurU

Play with the interactive HTML5 demo:
https://whiteboxdev.github.io/bundles/example-diamond-square/index.html

Please click the ☆ button on GitHub if this repository is useful or interesting. Thank you!

alt text

Controls

Control Description
Left Click Generate a new map.
Right Click Scroll across the map.
1 Use grayscale graphics.
2 Use colored graphics.
3 Decrease the random scalar.
4 Increase the random scalar.