Math & Complex Systems in 3D.
Interactive 3D mathematics and nonlinear dynamics — Lorenz and strange attractors, Mandelbulb fractals, Hopf fibration, reaction-diffusion, knots, and topology.
Math
23Computing π
The decimal expansion of π unspools as a luminous helix tower — each digit emerges at the leading edge with a brief flash, settles into the spiral, and the column climbs forever as the camera tracks the new growth.
Diffusion-Limited Aggregation
Brownian particles drift through 3D space until they touch the growing aggregate, then stick — a stochastic fractal tree branches out from a central seed, sub-unit by sub-unit.
Double Pendulum
Two pendulums hinged together swing through chaotic motion — three identical replicas with infinitesimal initial-condition differences diverge dramatically, each leaving a coloured trail of where its tip has been.
Fibonacci Spiral
The golden-ratio spiral emerges in nature — sunflower seeds, pine cones, nautilus shells — as florets pack along a golden-angle rotation (137.5°), producing interlocking clockwise and counter-clockwise spirals.
Fourier Epicycles
A chain of rotating circles, each turning at an integer-multiple frequency with a complex amplitude, traces a recognisable closed curve at its tip — Fourier series made geometric.
Galton Board
Hundreds of balls rain down through a triangular array of pegs in 3D — each peg deflects left or right with equal probability, and the heap below gradually piles up into a Gaussian.
Harmonograph
Three coupled damped oscillators on x, y, and z swing a virtual pen through space — the trajectory spirals inward as each axis decays at its own rate, drawing intricate 3D Lissajous-like figures.
Hopf Fibration
The Hopf fibration projected from the 3-sphere into our 3D space — every point on a 2-sphere lifts to a circle, and the linked tori reveal the topology of S³ as the projection slowly rotates.
Julia Set
Julia sets — fractal boundaries of complex dynamical systems z → z² + c — morph as the parameter c traces a circle in the complex plane, revealing the rich family of connected and disconnected dust-like structures.
Klein Bottle
A Klein bottle — a non-orientable closed surface with no distinct inside or outside — is rendered as its classic self-intersecting 3D immersion, slowly rotating with colorful parametric gridlines.
Knot Theory
Classic knots — trefoil, figure-eight, Solomon's seal, Hopf link — each rendered as a smooth closed curve rotating in space, distinct under continuous deformation yet related through invariants like the Jones polynomial.
Koch Snowflake
The Koch snowflake grows iteration by iteration — each line segment replaces its middle third with a triangular bump, multiplying perimeter by 4/3 each step while enclosing finite area, a classic fractal showing infinity within boundedness.
L-System Tree
A Lindenmayer-system tree grows from a single seed — branches recursively split via stochastic production rules with thinning radii and tropism, until a full fractal canopy fills the frame.
Lissajous 3D
Parametric curves x = sin(at+φ), y = sin(bt), z = cos(ct+ψ) trace complex 3D orbits — a small swarm of particles follows the path while the frequency ratios a:b:c slowly drift, morphing simple loops into intricate knots.
Lorenz Attractor
Particles trace the trajectories of the Lorenz equations — two wings of a strange attractor swirling through 3D phase space, each path persistent yet never repeating.
Mandelbulb
A raymarched 3D fractal — the order-8 Mandelbulb rendered with distance-estimation and ambient-occlusion, slowly rotating against a starfield as the camera glides past its iridescent crevices.
Menger Sponge
A recursive cube fractal — each iteration carves the central cross-shaped void from every sub-cube, exposing depth-4 self-similar structure with 20³ = 8000 unit cubes at the deepest level.
Möbius Strip
A Möbius strip has only one side and one edge — an arrow travels along the surface and must make two full laps before returning to its starting orientation, proving the loop's non-orientable twist.
Penrose Tiling
A Penrose tiling covers the plane aperiodically with two rhombi — thin and fat — their matching rules forcing five-fold symmetry that can never repeat, a bridge between crystallography and quasicrystals.
Reaction-Diffusion
A Gray-Scott reaction-diffusion system runs on a torus surface — Turing patterns of spots, stripes, and labyrinths emerge spontaneously from a uniform initial state and slowly evolve.
Spherical Harmonics
A sphere's radius is modulated by the real spherical harmonic Y_l^m — the surface deforms into lobed shapes, cycling through (l,m) pairs from (1,0) up to (6,4), each wave mode colored by sign.
Strange Attractor Zoo
Five strange attractors in rotation — Lorenz, Rössler, Aizawa, Halvorsen, and Thomas — each integrated by a swarm of particles trailing through phase space, the system morphing every 8 seconds.
Tesseract
A 4-dimensional hypercube rotates simultaneously in two 4D planes, then projects perspective into 3D — the inner and outer cubes weave through each other as edges stretch and compress.