North pole (source) South pole (sink) Traced field line

Magnetic Dipole Field-Line Tracer (2D)

This 2D companion focuses on field-line topology itself rather than particle motion: up to four draggable bar magnets, each a real point dipole, superpose their B(r,θ) ∝ (2cosθ, sinθ)/r³ fields, and every line on screen is numerically traced through that summed vector field rather than drawn by hand — alignment, relative strength and magnet count all visibly reshape where the loops close.