Skip to content

evroon/bevy-hydrology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy hydrology

Hydrology simulation in Bevy

Hydrology simulation in Bevy based on this blog post.

It simulates particles falling on the terrain, which descend down the slope. The particles affect the terrain by erosion and sedimentation.

Note

The erosion and sedimentation is (contrary to the original article) fully simulated in a compute shader.

Usage

To quickly run it to see how it works, clone this repo and run cargo run --release:

git clone git@github.com:evroon/bevy-hydrology.git
cd bevy-hydrology
cargo run --release

License

Licensed under MIT: LICENSE.