I just create an RLC with Easy Java Simulation. [url=http://www.phy.ntnu.edu.tw/ntnujava/viewtopic.php?p=1640] RLC circuit[/url] I would suggest you to download EJS and learn how to use it. It will be much easier to create simulation with EJS. Because it has a lot of build in graphic library and simulation routines. It will help you concentration on physics model instead of programing skill.