https://github.com/whiteboxdev/example-diamond-square
Example of the diamond square algorithm and procedural generation.
https://github.com/whiteboxdev/example-diamond-square
defold procgen tutorial
Last synced: 8 months ago
JSON representation
Example of the diamond square algorithm and procedural generation.
- Host: GitHub
- URL: https://github.com/whiteboxdev/example-diamond-square
- Owner: whiteboxdev
- License: zlib
- Created: 2021-01-03T19:20:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T16:12:05.000Z (over 1 year ago)
- Last Synced: 2025-04-22T16:05:15.294Z (8 months ago)
- Topics: defold, procgen, tutorial
- Language: Lua
- Homepage: https://whiteboxdev.github.io/bundles/example-diamond-square/index.html
- Size: 837 KB
- Stars: 22
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - Diamond Square
README
# 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!

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