erosionRidges

Terrain eroded by water: sharp branching ridges with gullies running off them.

erosionRidges(): Field

Import noise from shaders/std and use noise.erosionRidges.

Still (no animation). Signed, centred on 0: wrap it in unitized before a tone word. Takes a 2D position, so frame it with seededPlane.

Example

paint: rampOver(noiseTone(seededPlane(unitized(erosionRidges()), {scale: p('scale'), seed: p('seed')}), {contrast: p('contrast'), balance: p('balance')}), stops(p('colorSpace')))

See also

  • unitized — Turns a signed field (−1 to 1) into a unit field (0 to 1).
  • seededPlane — Frames a field on a zoomable plane: how big the pattern is and where it starts.

Used by

ErosionNoise