While looking for a Java algorithm, I stumbled on below site:
- You can try various circuits, the author has programmed in. Love the 555 timer simulations there. Try changing the parameters, you will current moving slowly/faster! You can also right click on a point (junction) and say view in scope and you can see the wave pattern change. I wish, I had this tool when I took the Electronics class long time ago!