#midpoint displacement
A way to make a rough line or surface: push the middle of a straight line sideways by a random amount, then the middle of each half by less, and so on. Each level adds the same kind of detail at half the size, so the result is a fractal. A shader can find any point of it without building the line, as a sum of tents, one per level.
1 shader
