What you are looking at
A horizontal card sits in the middle of the stage, and through it runs one of three conductors: a straight vertical wire, a flat circular coil standing on its edge, or a solenoid lying along the card. Orange cones show the conventional current, which enters at the + lead and leaves at the − lead. Teal tubes are field lines, and their arrowheads give the field's direction. You can orbit the camera by dragging the stage, or jump to a fixed angle with Front, Side and Top.
A drawing on a page can only show one slice of the field. Here you can turn the view and see that the circles round a wire are not just on the card: they fill every level along the wire, like rings threaded on a pole.
Strength and direction
Where the field is strong, the lines are packed close together. Round the wire, the circles are spaced so that the same amount of field passes between each neighbouring pair, so they bunch up close to the wire and spread out further away. Raise the current and more circles fit in the same space. The Field strength card compares the field with what 1 A would give at the same spot.
Reverse the current and every arrowhead turns round, along with every compass needle, while the pattern keeps its shape. Only the direction depends on which way the current flows.
The right-hand grip rule
Picture your right hand closed round the conductor, thumb along the conventional current. Your fingers then curl round it in the direction of the field. The sim draws this as an orange thumb and a teal curl of fingers. On the coil and the solenoid it grips the top of one turn, and the curl of the fingers shows the field passing through the middle of the coil.
For a coil there is a second way to use the same rule. Curl your fingers in the direction the current travels round the turns: your thumb now points to the N pole. Looking straight at one end, a current going anticlockwise means that end is N.
From a coil to a solenoid
Bend the wire into a flat coil and the fields from every part of the loop point the same way through the middle. One face behaves like an N pole and the other like an S pole. Lines close to the wire still make small loops round it.
Put many turns side by side and you have a solenoid. Inside, the lines are straight and evenly spaced, showing a strong field that is almost uniform. Outside, the pattern looks like the field of a bar magnet: lines leave the N end and curve back round to the S end. Compare it with the bar magnet field simulation.
Switch on the soft iron core and the field becomes many times stronger, with its N pole at the same end. Wrapped round iron like this, the solenoid has become an electromagnet. For iron filings, the Earth's field, paperclips and a relay, try the wire and solenoid field simulation. Put a current-carrying coil between the poles of a magnet instead and the forces on it turn it round, as in the 3D d.c. motor simulation.
Plotting compasses
Turn on the compasses and drag them across the card, or move the chosen one with the two sliders. Each needle lines up with the field where it sits, its red end pointing along the field lines. Inside the flat coil, a compass points straight through the middle; beside the solenoid, it points the other way to the field inside.