Fractal flames
How an IFS with nonlinear maps and clever colouring became a digital art form.
The fractal flame algorithm was created by Scott Draves in 1992. It starts from an ordinary iterated function system and the chaos game, then changes three things.
- Nonlinear variations. Each map is an affine transform followed by a nonlinear function: sinusoidal, spherical, swirl and dozens more. These bend the straight-edged copies into soft, curved forms.
- Log-density display. Instead of marking a pixel as hit or not, the renderer counts how often each pixel is visited and shows the logarithm of the count. Huge variations in density then show as smooth gradations of light.
- Colour by map. Each map carries a colour coordinate, so the colour of a point records which maps produced it.
The results look like glowing silk or smoke. Draves also started the Electric Sheep project in 1999, a screen saver in which thousands of computers render and evolve flame animations together.
Today flames are made with programs such as Apophysis, JWildfire and Chaotica. Forum discussions focus on choosing variations, balancing colour, avoiding noise with enough samples, and animating smooth transitions between flames.