Home▸Chaos & Dynamics▸Magnetic Pendulum 2D — Fractal Basin Map (2D)

🧲 Magnetic Pendulum 2D — Fractal Basin Map (2D)

Top-down Canvas2D magnetic pendulum: watch a single damped bob chase a magnet, or compute the fractal basin-of-attraction map from real equations of motion.

Chaos & Dynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-magnetic-pendulum ↗ Open standalone
⚙ Under the hood

A top-down view of the classic magnetic pendulum: a damped bob is pulled by gravity toward the center and by two to four fixed magnets below it. Watch a single trajectory settle in real time, or compute the full fractal basin-of-attraction map by simulating thousands of starting points.

chaos theoryfractalpendulummagnetismbasin of attractionnonlinear dynamics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)