Generate random heightmap using ds-heightmap. Use Three.js to render in 3d.
-
Updated
Jul 27, 2022 - TypeScript
Generate random heightmap using ds-heightmap. Use Three.js to render in 3d.
The Diamond-Square algorithm (also known as the Diamond-Step Square-Step algorithm or Cloud Fractal) is a method for generating realistic-looking heightmaps for terrain. It creates natural-appearing landscapes by recursively subdividing a grid and adding random variations at each step.
Add a description, image, and links to the diamond-square-algorithm topic page so that developers can more easily learn about it.
To associate your repository with the diamond-square-algorithm topic, visit your repo's landing page and select "manage topics."