Home▸Electromagnetism▸Magnetic Field of Two Wires in 3D: Compass Needles, Lorentz Force and a Charged-Particle Path

🧲 Magnetic Field of Two Wires in 3D: Compass Needles, Lorentz Force and a Charged-Particle Path

Two vertical current-carrying wires stand on a board with compass needles showing the field. Set the currents, wire separation and the speed and direction of an electron or positron, and follow its 3D path under the Lorentz force, with the force between the wires.

Electromagnetism3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Magnetic Field of Two Wires in 3D: Compass Needles, Lorentz Force and a Charged-Particle Path ↗ Open standalone
⚙ Under the hood

Two vertical current-carrying wires stand on a board with compass needles showing the field. Set the currents, wire separation and the speed and direction of an electron or positron, and follow its 3D path under the Lorentz force, with the force between the wires.

Magnetic Field2D InteractionLorentz forceAmpere lawBiot-Savartforce between wirescharged particleBoris integrator

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)