Pointings of magnetic <a href="https://en.wikipedia.org/wiki/Compass" class="extiw" title="w:Compass">compasses</a> around a spherical (homogeneously magnetized) <a href="https://en.wikipedia.org/wiki/Magnet" class="extiw" title="w:Magnet">magnet</a>. The direction of each compass needle is computed with the exact formula, given in the source code. Outside of the sphere, the field resembles that of an ideal dipole.
<a href="//commons.wikimedia.org/wiki/User:Geek3" title="User:Geek3">Geek3</a>
CC BY-SA 4.0
<span class="int-own-work" lang="en">Own work</span>