Flame Fractal — Definition, Formula & Example
A flame fractal, also called a fractal flame, is a computer-generated image made by repeatedly moving a point with randomly chosen nonlinear functions and recording where it lands. The brightness and color at each spot show how often the point visited it, which gives the soft, glowing look these images are known for.
A fractal flame is defined by finitely many functions on the plane, chosen with probabilities . Each applies an affine map and then a weighted sum of fixed nonlinear functions , called variations. A chaos-game orbit is computed, and the image is a histogram of visited points, displayed with brightness on a logarithmic scale. Because variations such as the spherical one need not be contractions, the histogram is an empirical picture of the orbit's long-run distribution. It is not guaranteed to be the unique attractor described by Hutchinson's theorem for contractive systems. Scott Draves introduced the method in 1992.
Key Formula
Where:
- = The i-th function of the flame, applied when it is chosen at random
- = Coefficients of the affine map applied before the variations
- = A fixed variation, such as linear or spherical
- = Weight of variation inside function
Worked Example
Problem: A flame function uses the affine map , then blends the linear and spherical variations with weights and . Find the image of the point .
Step 1: Apply the affine map to .
Step 2: Apply the spherical variation to . Here .
Step 3: The linear variation leaves unchanged. Blend the two results with their weights.
Answer: The point maps to . A flame renderer repeats steps like this millions of times, choosing a function at random each time, and counts how often each pixel is hit.
Why It Matters
Fractal flames power digital-art tools such as Apophysis and the Electric Sheep screensaver, and they appear in computer graphics and generative-art projects. They also give a clear case where the contraction-based theory of iterated function systems does not directly apply.
Common Mistakes
Mistake: Assuming a flame image is the unique attractor guaranteed by the theory of iterated function systems.
Correction: That guarantee requires every map to be a contraction, meaning it shrinks the distance between any two points. The spherical variation can stretch distances. It sends to and to , so a distance of about grows to about , four times larger. Treat the flame as a histogram of a chaos-game orbit, not as a proven attractor.
