Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T16:12:05.000Z (7 months ago)
- Last Synced: 2024-10-25T09:48:43.427Z (about 2 months ago)
- Topics: defold, procgen, tutorial
- Language: Lua
- Homepage: https://whiteboxdev.github.io/bundles/example-diamond-square/index.html
- Size: 837 KB
- Stars: 19
- Watchers: 1
- 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=4GuAV1PnurUPlay with the interactive HTML5 demo:
https://whiteboxdev.github.io/bundles/example-diamond-square/index.htmlPlease click the ☆ button on GitHub if this repository is useful or interesting. Thank you!
![alt text](https://github.com/whiteboxdev/example-diamond-square/blob/main/assets/thumbnail.png?raw=true)
## 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. |