CircuitJS1 Interactive browser circuit simulator with animated schematics, reusable subcircuits and web embedding.
Overview CircuitJS1 is a browser-based electronic circuit simulator derived from Paul Falstad's simulator and Iain Sharp's JavaScript port. It displays an editable schematic with animated current and voltage indications, making it useful for exploring circuit behavior and explaining examples interactively. This article concerns the JavaScript edition, rather than the original Java application.[1] [2]
Contents Interactive exploration The hosted simulator supplies example circuits and lets users operate switches, inspect component state and change component values. Voltage colors and moving current indicators provide immediate visual feedback within the schematic. This supports demonstrations where seeing relationships change is more important than navigating a separate numerical-analysis workflow. The visual representation is a simulation aid, not evidence that a particular manufactured circuit has been measured or validated.[2]
Reusable circuit blocks Users can build a circuit block, label its input and output nodes and create a subcircuit model from it. Instances then place that block in a larger circuit, with pin arrangement adjustable during creation. The official guide says that saving a circuit also saves its subcircuit model. These reusable blocks belong to CircuitJS's documented workflow; their existence does not establish interchange with a vendor SPICE library's similarly named subcircuit format.[3]
Sharing and embedding The repository documents embedding the simulator in an iframe and encoding circuit data in a URL. A separate JavaScript interface permits same-origin page code to inspect elements and set external voltage nodes. This can support an explanatory page that controls a simulation alongside its text. URL-based sharing and remote circuit loading still depend on the relevant host and browser access rules; they should not be confused with a guaranteed private project-storage service.[1] [4]
License and substitution limits CircuitJS1 is GPL-licensed, with version 2 or later allowed by its README. It can substitute for the basic interactive circuit-exploration portion of LTspice when a browser demonstration is the goal. That comparison is deliberately narrower than replacing a component manufacturer's simulation environment. The inspected sources do not establish lossless LTspice project import, universal device-model compatibility or equivalent analysis coverage. Existing engineering projects therefore need a separate compatibility assessment before switching.[1] [2] [5]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.