Skip to main content

Module erosion

Module erosion 

Source
Expand description

Hydraulic and thermal erosion simulation.

Hydraulic erosion: virtual raindrops flow downhill, picking up sediment from steep slopes and depositing it in flat areas. Creates realistic valleys, ridges, and drainage patterns.

Thermal erosion: material slumps from steep slopes to neighbors when the slope exceeds a talus angle threshold.

Structs§

ErosionParams
Erosion parameters.

Functions§

erode
Run erosion on a heightmap.
erode_with_params
Run erosion with custom parameters.