Fractal

Classic fractal programs in C++ -- compiled to WebAssembly

Live Demos

Mandelbrot (Interactive)

Click to zoom 3x. Press R to reset, Q/Esc to quit.

Launch

Mandelbrot Set

Escape-time rendering with 256-color rainbow palette.

Launch

Barnsley Fern

4 weighted affine transforms, 200k iterations.

Launch

Dragon Curve

Recursive paper-folding fractal, order 14.

Launch

Hilbert Curve

Order-5 space-filling curve with rainbow gradient.

Launch

Koch Snowflake

Recursive Koch curve forming a snowflake.

Launch

Sierpinski Triangle

Chaos-game point iteration, 30k points.

Launch

Sierpinski Carpet

Recursive 9-subdivision carpet fractal.

Launch

Cantor Set

Middle-third removal line fractal.

Launch

Arborescent Tree

Recursive branching tree with depth gradient.

Launch

Starfield

Animated star particles with variable speeds.

Launch

Rainbow

HSL gradient with concentric rainbow arcs.

Launch

L-System Interpreter

General L-system: Koch, Dragon, Plant.

Launch

Math Gallery (formulas)