The Electric and Magnetic Field Generator draws the field lines of six setups textbooks use again and again: one point charge, a positive and a negative charge, two like charges, a pair of parallel plates, a bar magnet, and a straight wire seen end-on carrying a current into or out of the page. Pick one, and the field lines are drawn with arrows showing their direction.
Lines around charges are traced through the real field, so they curve the way they should and never cross: from a positive charge into the negative one, or bending away from each other between like charges. Turn the lines off to leave just the charges, plates, magnet or wire for students to draw the field themselves.
Copy the figure straight into a test, worksheet or slide, or download it as a PNG or SVG. Printing the page prints just the figure. Share link copies the page’s address with your settings in it, so anyone who opens it sees this exact figure, and presets save settings you use often in your browser. It’s free, with no sign-up.
Around charges, yes: each line is traced step by step through the combined field of the charges, each falling off with the square of the distance, so the lines bend the way the real field does and never cross. Lines start evenly spaced around each charge. The bar magnet’s lines are traced the same way, and the wire’s are circles, further apart further out, because the field weakens with distance from the wire.
Electric field lines point away from positive charges and toward negative ones, and from the positive plate to the negative plate. Magnetic field lines run from the magnet’s north pole round to its south pole outside it. Around a wire with its current out of the page they run counterclockwise, and clockwise with the current into the page, as the right-hand rule says.
Yes. Turn off Draw the field lines to leave just the charges, plates, magnet or wire, or keep the lines and turn off the arrows, so students add the direction.
Not yet. The generator keeps to the setups teachers ask for most, with equal charges. If you need another setup, use Request a generator on the home page and tell us what it should draw.