Tune an atomic magnetometer through its Larmor resonance and read the magnetic field from a precessing spin. The Bloch equations in the rotating frame give the Lorentzian absorption and dispersion, the power-broadened linewidth and the shot-noise limited sensitivity in picotesla. Change field, coherence time, drive strength, signal-to-noise ratio, atomic species and field gradient to see how finely a probe could fix its position from the magnetic map. A Blender-built vapour cell, coils, laser and probe, with numerical checks of the Bloch equations built in.