pfalstad / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
1.64k stars 279 forks source link

Reset button does not really reset circuit #45

Open herrmanthegerman opened 1 year ago

herrmanthegerman commented 1 year ago

Hello, I was under the impression that the "Reset" button should reset the circuit to the state when the page was loaded.

With that said, the "delayed buffer" example cannot be reset by using the "Reset" button. One has to reload the page to see the delay between input and output signal.

This is the link to the example: http://www.falstad.com/circuit/e-delayrc.html

pfalstad commented 1 year ago

No, the "Reset" button doesn't reset the circuit to the state when the page was loaded. It resets time to 0, resets all the capacitors to a small initial voltage (which can be changed in the edit menu), resets the inductors to zero current (which can also be changed), etc.

In this case though I will fix it so that "Reset" works like you expect, by adjusting the initial voltage.

In the meantime, you can just click on the Input to change it from H to L, and that will show you the delay again.