https://github.com/konaeakira/erosion-sim
Procedural terrain generator via hydraulic erosion simulation
https://github.com/konaeakira/erosion-sim
Last synced: about 1 month ago
JSON representation
Procedural terrain generator via hydraulic erosion simulation
- Host: GitHub
- URL: https://github.com/konaeakira/erosion-sim
- Owner: KonaeAkira
- License: gpl-3.0
- Created: 2021-09-05T07:05:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T02:46:58.000Z (over 3 years ago)
- Last Synced: 2025-01-29T12:11:22.180Z (3 months ago)
- Language: C++
- Size: 86.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Erosion Sim
Procedural terrain generator via hydraulic erosion simulation.The initial terrain is generated via 2D Perlin noise. Then, water is added through random precipitation by taking 2D slices from 3D Perlin noise. Water flow along with force-based and dissolution-based erosion are then simulated to produce natural looking terrain.

The resulting terrain (left) after 5315 generations and the current precipitation (right). Results will vary depending on seed, precipitation amount, and erosion constants.
## Compiling and running
Qt5 needs to be installed.
```
qmake
make
./erosion-sim
```