this http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1092.0 is a fantastic applet.