Home▸Physics & Mechanics▸3D Magnet Field Lines - 2D Dipole Field Map, Compass Needles and Magnet Forces

🧲 3D Magnet Field Lines - 2D Dipole Field Map, Compass Needles and Magnet Forces

2D companion of the 3D magnet field-lines simulation: draggable bar magnets with traced field lines, a logarithmic field-strength map, compass needles, the 1/r cubed law and the force, torque and energy between two magnets.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
3D Magnet Field Lines - 2D Dipole Field Map, Compass Needles and Magnet Forces ↗ Open standalone
⚙ Under the hood

2D companion of the 3D magnet field-lines simulation: draggable bar magnets with traced field lines, a logarithmic field-strength map, compass needles, the 1/r cubed law and the force, torque and energy between two magnets.

Magnetic FieldDipoleField LinesMagnet ForceElectromagnetism

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

What did you find?

Add reproduction steps (optional)