applet physics