🧲 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.
⚙ 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