{"schemaVersion":"1.0","record":{"label":"CircuitJS1","description":"Interactive browser circuit simulator with animated schematics, reusable subcircuits and web embedding.","aliases":["CircuitJS","Falstad Circuit Simulator (JavaScript)"],"kind":"software","website":"https://www.falstad.com/circuit/","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.","license":"GPL-2.0-or-later","lifecycle":"active","example":false,"features":[{"name":"Animated interactive circuits","status":"supported","detail":"Edit components and switches while inspecting circuit behavior in the browser.","useCase":"Electronic circuit simulation","platforms":["Web browser"],"region":"Availability depends on platform, build and component-model compatibility","evidence":[{"url":"https://www.falstad.com/circuit/","locator":"JavaScript edition, animated current/voltage, component editing and example circuits","retrievedAt":"2026-10-07T03:37:57Z","kind":"vendor"}]},{"name":"Reusable subcircuits","status":"supported","detail":"Saved circuits include their custom subcircuit models.","useCase":"Electronic circuit simulation","platforms":["Web browser"],"region":"Availability depends on platform, build and component-model compatibility","evidence":[{"url":"https://www.falstad.com/circuit/subcircuits.html","locator":"Labeled ports, creating instances and saved embedded subcircuit models","retrievedAt":"2026-10-07T03:38:07Z","kind":"vendor"}]},{"name":"LTspice project interchange","status":"unknown","detail":"The inspected documentation does not establish lossless native-project interchange.","useCase":"Electronic circuit simulation","platforms":["Web browser"],"region":"Availability depends on platform, build and component-model compatibility","evidence":[{"url":"https://github.com/sharpie7/circuitjs1","locator":"README origins, embedding, export URLs and GPL version 2 or later","retrievedAt":"2026-10-07T03:38:18Z","kind":"vendor"},{"url":"https://ez.analog.com/ez-blogs/b/engineerzone-spotlight/posts/a-perfect-match-how-to-determine-if-a-model-is-compatible-with-an-existing-symbol","locator":"Symbol pin order, SUBCKT terminals and electrical compatibility","retrievedAt":"2026-10-07T03:33:25Z","kind":"vendor"}]}],"alternatives":[],"slug":"circuitjs","draftAlternatives":[{"targetSlug":"ltspice","status":"limited","detail":"A browser-based alternative for demonstrations; not evidence of equivalent models, analyses or native project compatibility.","useCase":"Basic interactive circuit exploration","platforms":["Web browser"],"region":"Availability depends on platform, build and component-model compatibility","evidence":[{"url":"https://www.falstad.com/circuit/","locator":"JavaScript edition, animated current/voltage, component editing and example circuits","retrievedAt":"2026-10-07T03:37:57Z","kind":"vendor"},{"url":"https://ez.analog.com/ez-blogs/b/engineerzone-spotlight/posts/a-perfect-match-how-to-determine-if-a-model-is-compatible-with-an-existing-symbol","locator":"Symbol pin order, SUBCKT terminals and electrical compatibility","retrievedAt":"2026-10-07T03:33:25Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.falstad.com/circuit/","locator":"JavaScript edition, animated current/voltage, component editing and example circuits","retrievedAt":"2026-10-07T03:37:57Z","kind":"vendor"},{"url":"https://github.com/sharpie7/circuitjs1","locator":"README origins, embedding, export URLs and GPL version 2 or later","retrievedAt":"2026-10-07T03:38:18Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/sharpie7/circuitjs1","locator":"README origins, embedding, export URLs and GPL version 2 or later","retrievedAt":"2026-10-07T03:38:18Z","id":"cj-repo","title":"CircuitJS1 source repository","kind":"vendor"},{"url":"https://www.falstad.com/circuit/","locator":"JavaScript edition, animated current/voltage, component editing and example circuits","retrievedAt":"2026-10-07T03:37:57Z","id":"cj-home","title":"Falstad circuit simulator","kind":"vendor"},{"url":"https://www.falstad.com/circuit/subcircuits.html","locator":"Labeled ports, creating instances and saved embedded subcircuit models","retrievedAt":"2026-10-07T03:38:07Z","id":"cj-sub","title":"CircuitJS subcircuits","kind":"vendor"},{"url":"https://www.falstad.com/circuit/jsinterface.html","locator":"Same-origin iframe integration and element voltage/current access","retrievedAt":"2026-10-07T03:38:07Z","id":"cj-js","title":"CircuitJS JavaScript interface","kind":"vendor"},{"url":"https://ez.analog.com/ez-blogs/b/engineerzone-spotlight/posts/a-perfect-match-how-to-determine-if-a-model-is-compatible-with-an-existing-symbol","locator":"Symbol pin order, SUBCKT terminals and electrical compatibility","retrievedAt":"2026-10-07T03:33:25Z","id":"lt-pins","title":"Matching SPICE models to symbols","kind":"vendor"}],"overviewCitations":["cj-home","cj-repo"],"licenseCitations":["cj-repo"],"sections":[{"id":"exploration","heading":"Interactive exploration","paragraphs":[{"id":"exploration-detail","content":[{"text":"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."}],"citations":["cj-home"]}]},{"id":"subcircuits","heading":"Reusable circuit blocks","paragraphs":[{"id":"subcircuits-detail","content":[{"text":"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."}],"citations":["cj-sub"]}]},{"id":"sharing","heading":"Sharing and embedding","paragraphs":[{"id":"sharing-detail","content":[{"text":"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."}],"citations":["cj-repo","cj-js"]}]},{"id":"scope","heading":"License and substitution limits","paragraphs":[{"id":"scope-detail","content":[{"text":"CircuitJS1 is GPL-licensed, with version 2 or later allowed by its README. It can substitute for the basic interactive circuit-exploration portion of "},{"text":"LTspice","targetSlug":"ltspice"},{"text":" 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."}],"citations":["cj-repo","cj-home","lt-pins"]}]}]},"id":"Q1244","revision":1292,"updatedAt":"2026-10-14T01:15:23Z","sourceUrl":"https://substitutefor.net/entities/Q1244?revision=1292"}}