A river on a flat plain can't stay straight. Water swings wide on the outside of a bend and runs faster there, so it eats that bank, while the slow inside drops sand. Every bend grows, and slides slowly downstream.
The model is one rule from 1984 (Howard and Knox): a bank moves at a speed set by how sharply the river is turning there, plus a fading memory of every turn upstream. That is the whole thing. There is no water in it.
Bends grow until two of them touch. Then the river takes the shortcut, and the loop it abandons is left as a curved lake, an oxbow. The lakes silt up and fade. The river gets shorter in one jump, which is the sawtooth in the chart.
The colors are the river's past. Every few years the pen changes color, and wherever the river has not come back since, the old paint is still showing. In 1944 Harold Fisk drew the lower Mississippi this way by hand, from old surveys and aerial photos, and those maps are where the look comes from.
"Straighten it" does what engineers do: cuts a straight channel through. Watch how long that lasts.
About π: in 1996 Hans-Henrik Stølum reported that model rivers like this one hover around a winding of 3.14. This river is boxed in by valley walls and it is one river, so read the dashed line as a landmark, not a promise.