Home▸Physics & Mechanics▸Magnetic Field Simulator: Bar Magnets, Wires & Loops (2D)

🧲 Magnetic Field Simulator: Bar Magnets, Wires & Loops (2D)

Interactive 2D magnetic field visualiser. Place bar magnets, current-carrying wires and current loops, and watch field lines or a magnitude heatmap update in real time from real superposition physics.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-magnetic-field ↗ Open standalone
⚙ Under the hood

Interactive 2D magnetic field visualiser. Place bar magnets, current-carrying wires and current loops, and watch field lines or a magnitude heatmap update in real time from real superposition physics.

PhysicsElectromagnetismMagnetic FieldBiot-SavartField Lines

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

What did you find?

Add reproduction steps (optional)