Play moves through the noise along its third axis, so the picture flows.
Ken Perlin made this noise for the film Tron (1982) to give computer graphics the texture of the real world, and won an Academy Award for it. One octave is a smooth random field with features about one cell wide: a random direction (gradient) sits on every point of an integer grid, and each point of the picture blends the pull of the gradients of the corners around it with a smooth curve. This page uses his improved version of 2002, in three dimensions. The third dimension costs nothing, and the Play button uses it as time.
One octave is not yet a fractal. Adding octaves is: each one has features lacunarity times smaller (2: half the size) and is persistence times as strong (0.5: half), and the sum is the fractal noise, fractional Brownian motion, rough at every scale. A persistence near 0.5 with lacunarity 2 looks like clouds or terrain; a higher persistence makes it rougher, a lower one smoother. Feature size is the width of the first octave in pixels.
The four modes only change what is done with each octave. Clouds adds the octaves as they are. Turbulence adds their absolute values, which folds the noise at zero and puts a crease at every scale. Ridged turns each octave upside down at its zero so the creases become sharp mountain ridges. Marble takes the sine of the x coordinate shifted by the turbulence.
It is a close relative of the plasma clouds, which build the same kind of fractal surface by subdividing a grid. Plasma is a single recursive pass over a fixed picture; Perlin noise is a function you can ask for at any point, at any resolution, and it has no grid-aligned creases.
This page was created with Claude Code.