Deepwell

How the rules work

Fractal flames

Shrinking rules bent through curved functions, drawn as millions of glowing dots.

Start from copy rules

A flame begins like the copy-rule fractals: a few rules that each shrink, turn and move the plane. One point jumps from rule to rule at random, and where it lands is drawn.

Then bend it

After the straight move, the point is pushed through a curved function, called a variation. Swirl twists by distance from the center, spherical turns the plane inside out, sinusoidal folds it into a box, heart and disc wrap it into the shapes their names suggest. Each rule can use a mix of variations, like 70% swirl plus 30% spherical. The demo above uses the three rules of a Sierpinski triangle; change the curve and the same rules give something completely different.

Light, not lines

Flames count how many times each pixel is hit and show the count on a log scale, so faint wisps and dense cores both read clearly. Each rule carries a color, and the point's color drifts toward the color of the rule that just moved it. That is why different parts of a flame glow in different colors.

Symmetry

Adding copies of the whole picture turned by 120°, 90° or 60° gives 3-, 4- or 6-fold symmetry. The Garden picks symmetry at random for about half of its flames.

Watch flames grow