HomeChaos & DynamicsMagnetic Pendulum — Chaos & Fractal Basins of Attraction

🧪 Magnetic Pendulum — Chaos & Fractal Basins of Attraction

Simulate a magnetic pendulum above 3 magnets — watch chaotic motion and reveal fractal basins of attraction showing which magnet wins from each starting point. RK4 integration, 6 presets.

Chaos & Dynamics2DModerate60 FPS
magneticpendulum ↗ Open standalone
⚙ Under the hood

This simulation demonstrates a magnetic pendulum, showcasing chaotic behavior and fractal basins of attraction. The pendulum's motion is influenced by both gravity and the magnetic force, leading to complex oscillations that exhibit sensitive dependence on initial conditions.

Magnetic PendulumChaosBasins

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

What did you find?

Add reproduction steps (optional)