sharpie7 / circuitjs1

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

API #696

Closed roy77 closed 2 years ago

roy77 commented 2 years ago

Is there a javascript api to use the simulation core directly. You specify a circuit with several sources/switches/variables and measurement points. For each time step values for the sources/switches/variables are passed and the measurement results are calculated.

pfalstad commented 2 years ago

yes see here: https://www.falstad.com/circuit/jsinterface.html