Value of the left current
-10 A +10 A
5
Value of the right current
-10 A +10 A
-5

The simulation shows the magnetic field near two long-straight current-carrying wires.
If the wire is drawn in red, the current is directed out of the screen.
If the wire is drawn in blue, the current is directed into the screen.

You should be able to click-and-drag the wires to move them around the screen, and use the sliders to change the currents.

Simulation first posted on 2-15-2015. Written by Andrew Duffy
Typo corrected on 1-28-2017

Creative Commons License
This work by Andrew Duffy is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This simulation can be found in the collection at http://physics.bu.edu/~duffy/classroom.html.

The counter has been running on this page since 8-13-2018. The number of people accessing the page since then is: