!! - PRESS THE GREEN FLAG AFTER CHANGING ANY VARIABLES - !! !! - VARIABLES HAVE TO DIVIDE EVENLY OR IT WILL BUG OUT (size/frequency) - !! If you go into fullscreen it gets blurry for some reason. Base values - intensity: 1 | size: 100 | frequency: 5 WASD to move, arrow keys for rotation and up/down. Higher positive intensity = More hills. Higher negative intensity = More valleys. Lower frequency = more squares + More hills and valleys. Higher frequency = less squares + less hills and valleys Higher size = more squares.
This took many hours of jumbling code together until it worked. It could be greatly optimized so feel free to remix and do that if you want. everything by me. Jun 11, 2026 - added a second intensity option so you can now make the terrain generate more up or down.