The above simulation can be found at [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1824.0]RotationalPendulum[/url]