Drag to rotate · scroll or pinch to zoom

Points
dt

The Lorenz attractor comes from a 1963 simplified model of atmospheric convection: three coupled ordinary differential equations relating a state (x, y, z) through three parameters σ, ρ, β:

dx/dt = σ(y−x)    dy/dt = x(ρ−z)−y    dz/dt = xy−βz

The classic values σ = 10, ρ = 28, β = 8/3 produce the iconic butterfly-shaped strange attractor: the trajectory never settles to a point or a repeating cycle, never crosses itself, and never leaves a bounded region - it spirals around one wing, unpredictably kicks over to the other, and repeats forever without exact repetition. Two trajectories starting a hair's breadth apart diverge exponentially, the sensitive dependence on initial conditions that gave chaos theory its "butterfly effect" name (Lorenz's own 1972 talk title). The attractor itself is a fractal: it has a non-integer dimension of roughly 2.06 - more than a surface, less than a solid.

Below ρ ≈ 24.74 (with σ = 10, β = 8/3) the chaos vanishes: trajectories spiral down to one of two stable fixed points instead. Try dragging ρ below that threshold to watch the butterfly collapse into a simple spiral.

The trajectory is integrated with fourth-order Runge–Kutta and rendered by the same point-cloud renderer built for the 3D IFS page - a dense point sequence along the curve, projected and density-shaded exactly like that chaos-game point cloud.

Color by time tints the trajectory by how far along the sequence each point falls, split into 256 evenly sized chunks along d3's Turbo gradient (near-black at the very start, through blue, green, and yellow, to dark red at the end). Unlike IFS's coloring, which tints by which of a handful of transformations produced a point - where a cyclical rainbow palette is fine, since there's no inherent order to "which vertex" - time has a direction, so a plain hue wheel would make the beginning and end look like the same color. The sequential gradient makes the spiral-and-switch motion visible all at once: each wing's loops fan out through the gradient, and a visible color jump marks exactly where the trajectory kicks over to the other wing.

The other buttons are the "orbit" fractals of Fractint, the DOS fractal program (the formulas are those of its lorenz.c and its default parameters). Every one is a short rule applied again and again to a point, and the picture is where the point lands. The number of points and the sliders work as for the Lorenz attractor; a rule whose point runs off to infinity (try a large a in Hénon) stops there and shows what it had.

The flat maps are shown straight on; drag to turn them. Pick a button to reset its sliders to the starting values.

This page was created with Claude Code.