This java applet is an electronic circuit simulator. The green color indicates positive voltage. The gray color indicates ground. A red color indicates negative voltage. The moving yellow dots indicate current.
The top circuit is a gyrator circuit, being driven by a square wave generator. It simulates the circuit on the bottom, without using an inductor. The two graphs show the square wave (in green) and the current (in yellow) through each circuit.