How it works
Uplift against erosion
Mountains stand where rock is pushed up faster than it is worn away. The model keeps one number for each point of the map, its height h, and three things change it: the ground rising, rivers cutting down, and soil creeping downhill.
U is uplift, set by plate tectonics: up to a few millimetres a year in the fastest-rising ranges. The Uplift slider sets the rate; the Make it rise brush paints where it applies.
K Am S is the stream-power law for rivers cutting into rock [1][2]. A is the drainage area, all the land upstream whose rain passes through this point, standing in for how much water the river carries. S is the slope. Big rivers cut more, and steep stretches cut fast. K, the Erosion slider, lumps together how wet the climate is and how soft the rock.
D ∇²h is soil creep: the slow slide of soil downhill, which rounds off ridge tops. On a 500 m grid it matters much less than the rivers.
Where the water goes
Each point sends its water to whichever of its eight neighbours is steepest downhill. Adding up the water from the ridges down gives every point its drainage area, and the points with the most are drawn as rivers. A hollow with no way out fills up into a lake until it spills over its lowest rim, found with the priority-flood method [3]. Lake beds do not erode here; rivers cross the lake and carry on from its outlet.
Balance
Under steady uplift the land rises until the rivers cut down as fast as it goes up, and then it stops changing shape, though rock keeps moving through it. In that state the equation says the slope along every river is S = (U/K) A−m: small streams steep, big rivers gentle. A rising block reaches it in a few million years. Faster uplift or harder rock (smaller K) needs steeper rivers to keep up, so the mountains stand higher, which is why a band of hard rock ends up as a ridge.
How it is solved
Every step, the points are put in order from the sea upstream. Because a river's cutting depends only on the height of the point it flows into, the new heights can then be found in one pass along that order, implicitly, with no limit on the time step. This is the method of Braun and Willett [4], at the heart of the FastScape code. One step of 10,000 years on a 256 × 256 grid takes about 10 ms in WebAssembly.
What it leaves out
Rivers here carry away everything they cut; nothing settles out to build plains or fill lakes, which later work adds [5]. Rain is the same everywhere, and the crust does not bob up as weight is removed.
References
[1] A. D. Howard, A detachment-limited model of drainage basin evolution, Water Resources Research 30, 2261–2285 (1994).
[2] K. X. Whipple and G. E. Tucker, Dynamics of the stream-power river incision model, J. Geophys. Res. Solid Earth 104, 17661–17674 (1999).
[3] R. Barnes, C. Lehman and D. Mulla, Priority-flood: an optimal depression-filling and watershed-labeling algorithm for digital elevation models, Computers & Geosciences 62, 117–127 (2014).
[4] J. Braun and S. D. Willett, A very efficient O(n), implicit and parallel method to solve the stream power equation governing fluvial incision and landscape evolution, Geomorphology 180–181, 170–179 (2013).
[5] X. P. Yuan, J. Braun, L. Guerit, D. Rouby and G. Cordonnier, A new efficient method to solve the stream power law model taking into account sediment deposition, J. Geophys. Res. Earth Surface 124, 1346–1365 (2019).
Open-source landscape evolution codes: FastScape (Braun, Yuan and colleagues) and Landlab (Barnhart et al., 2020). This app is written from the equations in [1]–[4] and shares no code with them.