A tiny formula computes a point's next position purely from its previous one — this demo uses the Clifford attractor popularised by Clifford Pickover. Start two points almost, but not quite, in the same place and their paths diverge completely over time — that's chaos's famous sensitivity to initial conditions. Yet the trajectories never scatter everywhere; they stay confined to a particular butterfly- or loop-shaped region, called the attractor.
A single point's path looks disordered, but iterate the same formula tens of thousands of times and stack every point at very low opacity, and the spots visited most often glow brighter — revealing a startlingly intricate structure. This demo doesn't draw it all at once; it plots points in sequence as an animation.
Designers reach for it for organic poster and album-cover graphics, or "mathematically beautiful" background patterns. Nudging the formula's coefficients slightly produces an entirely different shape, so in practice you explore several coefficient sets until one looks right.
When to use
Use it for abstract album-cover or poster graphics, or science/math-themed backgrounds. Try a few coefficient sets until the shape reads right.