In a first scene of simulation you can to move of magnetical needle in magnetic field and see how it behave in this field, you will see magnetic field lines too.
In a second scene you can to move and rotate of magnet and see how it change magnetic field around.
Click on picture below to run simulation




