This is a great applet showing reinforcement learning. It's written by Dan Hess (672 student). The applet is training a small neural network to balance an applet on Dan's head. It takes about a minute or so to learn from scratch. The applet uses the rules of physics to simulate the motion of the apple. Note: the hand control does not seem to work.