Build and simulate a logic circuit from basic gates to see how components like adders or latches work before studying them in a textbook.
Use the simulator alongside the 'Exploring How Computers Work' YouTube series to visualise each concept as it is introduced.
Study the C# source code to learn how a visual logic circuit simulator handles signal propagation and custom chip composition.
Pre-built downloads are available on the author's itch.io page, no compilation needed to try the app.
Digital-Logic-Sim is a simple visual tool for simulating how digital logic circuits work. You build circuits by placing components and connecting them, and the simulator shows how signals flow through them. The project was created by Sebastian Lague as a companion to his YouTube video series called "Exploring How Computers Work," which explains how computers are built up from basic logic gates. The tool is intentionally minimal. It is not a professional circuit design application with a large library of built-in components. Instead, it focuses on the fundamentals: showing how basic building blocks like AND, OR, and NOT gates can be combined to create more complex behavior. This makes it useful for learning and demonstration rather than for production circuit design. Pre-built versions of the application for download are available on the author's itch.io page, so you do not need to compile the code yourself to try it. The source code is provided for those who want to understand how it works or contribute improvements. The author welcomes pull requests but has a clear preference for what gets merged: performance improvements, user experience fixes, and bug fixes are likely to be accepted, while new built-in chips or major feature additions are less likely to be merged. The README notes that some form of modding support is a future goal but has no concrete timeline. The README is short and does not go into technical details about how the simulation works internally.
← seblague on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.