Alexis Mabanza @ alexvolkihar.ovh

Flame

Fractal flames, developed from millions of chaotic jumps

A fractal flame is a handful of transforms, each one a stretch, turn and shift of the plane followed by a blend of curved "variations": swirl, spherical inversion, julia’s square root, heart, disc, spiral. A single point is sent through a transform picked at random, then another, millions of times; wherever it lands, it leaves a hit in a grid and a trace of the colour that transform carries, so every region is coloured by the path that led there. Symmetry comes from extra transforms that only turn or mirror the point, and some pieces get a final transform that bends the whole picture once more. The grid is then developed like a photograph: logarithmic density, a gamma curve, sparse wisps smoothed into haze, and for some pieces a soft glow. Most random flames are a dot, a line or a fog, so a short test run measures every candidate and the hash draws again until it finds one with structure. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xa7174f86…b84f
Palette AbyssVariation ChimeraSymmetry RotationalFinish Glow
0x5a02196f…7383
Palette AurumVariation SpiralSymmetry NoneFinish Velvet
0x41390381…2e47
Palette OrchidVariation SilkSymmetry MirrorFinish Etched
0x4705f88a…00b7
Palette EmberVariation SpiralSymmetry DihedralFinish Glow
0xd100b1d7…5e47
Palette OrchidVariation SphericalSymmetry MirrorFinish Velvet
0x3e2d6c7b…acd2
Palette AbyssVariation SilkSymmetry RotationalFinish Velvet
0x3408e31e…cfd1
Palette EmberVariation SilkSymmetry RotationalFinish Velvet
0x584d65e2…c2e6
Palette VellumVariation SpiralSymmetry NoneFinish Glow
0xe1953e2d…9578
Palette EmberVariation SphericalSymmetry NoneFinish Velvet
0xe917477b…67bf
Palette EmberVariation ChimeraSymmetry RotationalFinish Etched
0x80d956f7…f97a
Palette AbyssVariation SphericalSymmetry MirrorFinish Glow
0xae4f3fb2…82e9
Palette EmberVariation PetalSymmetry RotationalFinish Etched

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteEmber 22 · Abyss 20 · Orchid 18 · Aurum 15 · Prism 13 · Vellum 12
VariationSpherical 24 · Silk 22 · Spiral 20 · Petal 19 · Chimera 15
SymmetryNone 40 · Mirror 18 · Rotational 30 · Dihedral 12
FinishVelvet 35 · Glow 40 · Etched 25

Credits

  • Algorithm: the fractal flame of Scott Draves and Erik Reckase, The Fractal Flame Algorithm (2003, revised 2008): the chaos game over affine transforms and nonlinear variations, colour indices blended at each jump, symmetry and final transforms, log-density tone mapping with gamma, and density estimation. The variation formulas follow the paper’s appendix; the random genomes (coefficients in [-1, 1]) follow its reference implementation, flam3. The chaos game itself is Michael Barnsley’s, from Fractals Everywhere (1988).
  • This implementation is written from the paper, with simplifications of its own: a cheap two-level blur in place of the variable-width density kernel, a linear foot on the tone curve in the spirit of flam3’s gamma threshold, and a probe that rejects dull genomes. Sines come from a table filled with a Taylor series and the arctangent from the polynomial of Abramowitz and Stegun (4.4.49), so a flame is the same in every browser.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The palettes are original. The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>