Rendering & applications

Fractal coloring beyond iteration bands

The equation decides the dynamical structure; coloring decides which signal the viewer can perceive. Good coloring reveals relationships without pretending the palette belongs to the mathematical set.

Vividly colored fractal relief with layered color bands
Color design in MandelKit: the image interprets computed values; it is not the mathematical set itself.Image: Björn Kindler / MandelKit · MandelKit · Eigene Darstellung · Own work
Continuous escape value
ν = n + 1 − log(log |zₙ|) / log p

For a degree-p escape-time map, the final magnitude estimates a fractional position between integer iteration bands. Exact conventions vary with bailout and formula, but the purpose is a smoother exterior coordinate.

Choose a mathematical source

Smooth escape count follows orbit duration. Potential and distance estimates relate to the exterior field; angle and domain methods expose direction; orbit traps measure proximity to chosen shapes. Interior methods use periodicity, attractor or derivative information because escape count is unavailable there.

Escape time, smooth iteration, final angle, orbit traps, distance estimates and potential answer different questions. Angle reveals direction but little about speed; distance emphasizes boundary proximity but requires derivatives. The source should match the intended reading. “More color” is not more information when several sources are added without clear roles.

Map values deliberately

Scale and offset determine how quickly a gradient cycles through the source. Cyclic palettes suit periodic coordinates, while monotonic lightness can clarify ordered magnitude. Perceptual spaces such as OKLCH help keep intended lightness and chroma relationships more even than direct RGB interpolation.

Raw values often have long tails and uneven density. Linear normalization can compress most pixels into a narrow color interval. Histogram equalization, logarithmic curves or separate interior and exterior ranges allocate contrast more deliberately. Normalization belongs to the scene because the same gradient over another distribution can look like an entirely new palette.

Color is interpretation

Two palettes can make the same orbit field look smooth, banded, metallic or topographic. Legends, source labels and reproducible settings matter when the image is explanatory. In art, the same freedom is expressive—but the distinction between geometry and mapping remains useful.

A gradient interprets a scalar quantity. Cyclic palettes fit angles or periodic phase, not every escape-time field. Resetting a cyclic option when a gradient changes therefore alters more than color: the mathematical mapping jumps. A professional tool preserves that choice until the user changes it explicitly.

Interior and exterior need different evidence

Escaping points provide a duration and final orbit magnitude. Interior points may be assigned a flat color, period class, attracting coordinate, derivative behavior or another statistic calculated after a warm-up. Reusing an exterior count inside can create arbitrary structure with no matching dynamical meaning.

Interior points have no escape time. They need another source such as period detection, interior potential or a constant color. An exterior value of zero should not silently stand for interior because semantically different cases collapse. Separation also permits independent interior and exterior gradients over the same correct geometry.

Avoiding banding and false emphasis

Color quantization, narrow lightness ranges and cyclic discontinuities can turn smooth fields into steps. Dithering and higher precision help, but the palette should first preserve contrast where the source changes slowly. Histogram equalization redistributes global values and therefore needs statistics for the whole image.

Bands can come from integer values, short gradients, low color depth or unsuitable normalization. Dithering reduces quantization but cannot replace mathematical smoothing. Aggressive histogram mapping can exaggerate rare values into apparent contours. Neutral grayscale references help determine whether a dramatic edge comes from data or merely palette.

Coloring across zoom and export

Screen-space frequencies should follow pixel density so rings and contours remain visible without collapsing into aliasing. A high-resolution tiled export must use the same global phase and coordinate mapping in every tile. Otherwise seams or frequency shifts appear even when the underlying fractal coordinates are correct.

Value distribution changes during deep zoom even when the gradient remains fixed. Global normalization preserves comparability; local normalization uses each crop’s contrast more fully. Both are valid and must be saved. Tiled exports need global statistics in advance or each tile will compute its own histogram and leave color seams.

Build one look in four stages

  1. Render the orbit field in grayscale before selecting a palette.
  2. Choose a source: continuous escape, distance, angle or trap proximity.
  3. Set scale and offset so important structures receive tonal separation.
  4. Add contour, texture and light one at a time, checking what each contributes.

Result: The final image remains explainable and reproducible. If a stage is disabled, its remembered parameters do not falsely count as an active effect.

Sources and further reading

This article summarizes the following specialist sources in original wording. Accessed and editorially reviewed 12 August 2026.

  1. Smooth Iteration Count for General PolynomialsLinas Vepštas
  2. The Science of Fractal ImagesSpringer