Alexis Mabanza @ alexvolkihar.ovh

Erosion

Terrain carved by simulated rain

Each piece starts as a landform that does not exist: a mountain massif, parallel ranges, a plateau of mesas or a group of volcanoes. Then it rains. Tens of thousands of drops are released one after another; each runs downhill, picks up sediment where it moves fast down a steep slope and lays it down where it slows, climbs or reaches the sea. Slopes are scored with gullies, valleys join into branching networks, and fans and deltas build up at their mouths. The worn terrain is then mapped from above: as tinted relief with its rivers, as a drainage sheet where the river network is the subject, as a shaded-relief print, or as a scour map of where the rain carried ground away and where it laid it down. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0x1694036b…0866
Palette SurveyStyle ReliefTerrain MassifRain SteadySea Islands
0xdb45e239…c122
Palette SepiaStyle ShadedTerrain RangesRain SteadySea Coast
0x84019309…0cbd
Palette GlacierStyle DrainageTerrain PlateauRain SteadySea Coast
0xede56b5c…ba31
Palette SurveyStyle ReliefTerrain PlateauRain SteadySea Coast
0x35b0e398…55a1
Palette GlacierStyle ScourTerrain ConeRain DelugeSea Islands
0x59082ba2…03c6
Palette NocturneStyle ShadedTerrain MassifRain SteadySea Inland
0x8999cc29…88b8
Palette SurveyStyle ShadedTerrain ConeRain DrizzleSea Inland
0x12c40b07…53ee
Palette CanyonStyle ScourTerrain MassifRain DelugeSea Coast
0x17e647ca…0c9d
Palette CanyonStyle ReliefTerrain RangesRain DelugeSea Coast
0x7c619a7b…98c2
Palette NocturneStyle ReliefTerrain ConeRain DrizzleSea Inland
0x3d8e3a08…bbee
Palette SurveyStyle DrainageTerrain ConeRain DrizzleSea Inland
0xfe140ea3…e7fb
Palette GlacierStyle DrainageTerrain MassifRain SteadySea Inland

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteSurvey 24 · Sepia 20 · Canyon 18 · Glacier 14 · Nocturne 14 · Basalt 10
StyleRelief 35 · Drainage 30 · Shaded 20 · Scour 15
TerrainMassif 35 · Ranges 25 · Plateau 20 · Cone 20
RainDrizzle 30 · Steady 45 · Deluge 25
SeaInland 35 · Coast 40 · Islands 25

Credits

  • Erosion: particle-based hydraulic erosion as described by Hans Theobald Beyer, Implementation of a method for hydraulic erosion (bachelor’s thesis, Technische Universität München, 2015), and by Sebastian Lague in Coding Adventure: Hydraulic Erosion (2019). Drops carry sediment in proportion to their speed, water and slope, erode with a radial brush and deposit bilinearly. The implementation here is original, written from those descriptions.
  • Drainage: depressions filled with the priority-flood algorithm of Barnes, Lehman & Mulla, Priority-flood (Computers & Geosciences, 2014), and flow accumulation after O’Callaghan & Mark (1984). River widths follow the drained area.
  • Terrain: Ken Perlin’s gradient noise, summed as fractal Brownian motion and as F. Kenton Musgrave’s ridged multifractal, with a light domain warp.
  • Mapping: Lambertian hillshade lit from the north-west, hypsometric tints, and the height-dependent contrast of Eduard Imhof’s relief shading for the shaded prints. River lines are smoothed with Chaikin’s corner cutting.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The palettes are original. The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>