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!
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. |