Circuit Simulator is built using HTML5 and will run in any
modern browser on a reasonable fast machine. You can hook up all the
usual components of a circuit including resisters, capacitors, voltage
sources, wires etc. and visualize how it works without building anything
physical. A great way to experiment!
Site: http://lushprojects.com/circuitjs/