Colouring algorithms
The same set can look like a contour map, a jewel or a nebula. The difference is the colouring.
An escape-time program computes, for each pixel, the orbit of a point. Turning that orbit into a colour is an art of its own, and much forum discussion is about it.
- Iteration count. The simplest method colours by how many steps the orbit took to escape. It gives visible stripes, or bands.
- Smooth (normalised) iteration count. Adding a correction based on how far past the escape radius the orbit landed, ν = n + 1 − log₂(log|z|), removes the bands. The plates on this page use it.
- Histogram colouring. Colours are spread according to how many pixels have each count, so the palette is used evenly at any zoom.
- Distance estimation. An estimate of each pixel’s distance to the set draws thin filaments crisply, even where they are far thinner than a pixel.
- Orbit traps. Colour by how close the orbit comes to a chosen shape, such as a point, a line or a circle. This creates flowers, rings and crosses inside the image.
- Interior colouring. Points inside the set never escape, but their orbits can still be measured, for example by their period or final angle.
Programs like Ultra Fractal let artists stack several colourings in layers, which is how many of the most striking fractal images are made.