The magnetic field of a magnetic dipole is depicted in the figure.
Which matches the expression of the force between two magnetic dipoles.
Also, you will have to put the small metallic ball inside something else that has a magnetic dipole (I think).
The second is a magnetic dipole, a closed circulation of electric current.
The first case is a magnetic dipole of constant magnitude that has a fast (fixed) orientation.
A magnetic dipole is a closed circulation of electric current.
The magnetic dipole moves as well, quite a bit more than the rotation axis.
The magnetic dipoles of the atoms point in random directions.
Such material has magnetic dipoles that, when adjacent, prefer to point in opposite directions.
The effect is caused by the non-concentricity of the Earth and its magnetic dipole.