Circuits v4 contains 5 Physlets designed to solve the most common AC and DC circuit problems. In addition to the usual RC and LRC simulations, there is an applet to plot non-linear I vs V response and an applet to plot frequency response.
Version 4 uses the STools4 package in order to support inter-applet communication. The circuit components that can act as data sources are listed on the examples page for each applet.
The setDefault method no longer takes the schematic cell size as a parameter. Use setDefault() followed by setPixPerCell(int).
Please refer to the script examples or investigate with the applet that is embedded in the top of this page.