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.
Traits
The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.
| Trait | Values (weight) |
|---|---|
| Palette | Survey 24 · Sepia 20 · Canyon 18 · Glacier 14 · Nocturne 14 · Basalt 10 |
| Style | Relief 35 · Drainage 30 · Shaded 20 · Scour 15 |
| Terrain | Massif 35 · Ranges 25 · Plateau 20 · Cone 20 |
| Rain | Drizzle 30 · Steady 45 · Deluge 25 |
| Sea | Inland 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.