# The Magnetic Field Mapper

Slide two uniformly magnetized spheres apart or reverse the right-hand sphere. Each compass samples the summed magnetic field at its pivot. A needle follows the horizontal projection of that field. The center readout reports that same horizontal component. Below 20 µT the rendered needles shrink to signal a weak heading. A zero-field needle uses an uncolored center mark.

This is an exterior dipole calculation at each sensor point using a moment of 11.5 A m² per sphere. The magnet centers sit 28 mm above the compass plane. Even when a magnet moves directly over a sensor, the sampled point stays outside the 22 mm radius. For an ideally uniformly magnetized sphere, the exterior field has exactly the dipole form. The model assumes fixed dipole moments and omits the Earth's field, interactions between the compass needles and changes of magnetization due to neighboring magnets.

## References

- David J. Griffiths, *Introduction to Electrodynamics*, fourth edition, 2013, Example 6.1. [Textbook](https://nucleares.unam.mx/~martinel/griffiths_4ed.pdf).
- University of Oxford Department of Physics, *Magnetostatics lecture notes*, section on the dipole field. [Lecture notes](https://www.physics.ox.ac.uk/system/files/file_attachments/notes_1.pdf).
- Michael Fowler, *Magnetostatic Boundary Conditions*, 2022. [University of Virginia graduate electrodynamics lecture](https://galileoandeinstein.phys.virginia.edu/Elec_Mag/2022_Lectures/EM_34_Magnetostatic_Bdry_Conds.html).


