/Logic-Circuit-Simulator

A logic circuit simulator made with p5.js library.

Primary LanguageJavaScriptMIT LicenseMIT

Logic Circuit Simulator

A logic circuit simulator made with p5.js library, useful for educational use. It can be used to simulate combinational and sequential circuits.

Demo live

A live version is available here.

Usage

Demo

Tools

Edit - Move the components - Connect wires

Move the whole circuit

Remove the component

Logic Input (double click to change value)

Logic Output

Set up for offline work

Prerequisites

sudo apt-get install git

Clone the repository

git clone https://github.com/drendog/Logic-Circuit-Simulator.git

Serve it on local

cd Logic-Circuit-Simulator
npx serve

📖 Reference book

Hamacher, C., Vranesic, Z., Zaky, S., & Manjikian, N. (2011). Appendix A. In Computer Organization and Embedded Systems (6th ed., p. 465). McGraw-Hill Education.

🤝 Contributing

Contributions, issues and feature requests are welcome.

🔧 TODO

Code documentation and everything.

Author

👤 drendog

License

MIT