Applet: Magnet and Compass