Magnetic Pendulum Chaos

A pendulum suspended over three magnets exhibits exquisitely sensitive dependence on initial conditions. Each pixel's color shows which magnet the pendulum settles to from that starting position — the boundaries form a fractal of infinite complexity. Click to launch a live pendulum.

0.10
2.0
3
Three magnets at 120° intervals attract the pendulum bob. The fractal boundary between basins has infinite detail.