Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 753 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 753 Bytes

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.