← Back

Logic simulator

TypeScriptSvelteLogicSimulationEditor

Design and simulate logical circuits with this interactive logic simulator.

This is a logic simulator I built to help me learn about logic gates and how they work. It features a variety of logic nodes for creating complex circuits The nodes can be connected together using wires to create a circuit. The circuit can then be simulated to see how it behaves.


The simulator is built using TypeScript (and a little Svelte). It renders the editor on an HTML5 canvas, with exception of the menu elements which are made using HTML and CSS. The editor is fully interactive, allowing you to drag and drop nodes, connect them together with wires, and simulate the circuit.


Screenshot of the Logic Nodes simulator showing a simple circuit with various logic nodes

Screenshot of the Logic Nodes simulator showing a simple circuit with various logic nodes


The simulator is fully functional. You can try it using the link below.


Features