Magnetic Pendulum Physics Simulation: Chaos, Basins of Attraction and Fractal Boundaries

Pendulum over 1 to 6 magnets: click to release, watch the fractal map of where it ends up