https://github.com/hasnainroopawalla/circuit-sim
Digital logic gate simulator using React, TypeScript and p5.js
https://github.com/hasnainroopawalla/circuit-sim
circuit-simulator digital-logic-design javascript logic logic-gate-simulator logic-gates p5js react simulator typescript webpack
Last synced: 5 months ago
JSON representation
Digital logic gate simulator using React, TypeScript and p5.js
- Host: GitHub
- URL: https://github.com/hasnainroopawalla/circuit-sim
- Owner: hasnainroopawalla
- License: mit
- Created: 2023-05-08T09:52:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T06:43:08.000Z (over 1 year ago)
- Last Synced: 2025-01-26T07:24:06.224Z (over 1 year ago)
- Topics: circuit-simulator, digital-logic-design, javascript, logic, logic-gate-simulator, logic-gates, p5js, react, simulator, typescript, webpack
- Language: TypeScript
- Homepage: https://hasnainroopawalla.github.io/circuit-sim/
- Size: 2.1 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Circuit Sim
A fast, playful digital-circuit sandbox.
Visually build logic circuits, compose custom chips, and experiment freely in real time. Save your designs as blueprints, share them with friends, or grow your own library of reusable components.
Built for tinkering, learning, and rapid iteration.
## 🚀 Live demo
http://hasnainroopawalla.github.io/circuit-sim
## 🛠️ Quick Start
### Tech Stack
- TypeScript
- React + Vite + Tailwind CSS
- WebGPU (custom render engine)
### Instructions
1. Install dependencies (requires `pnpm`):
```bash
pnpm install
```
2. Run the app:
```bash
pnpm start
```
## 📦 Blueprints
Looking for inspiration?
Check out the [/blueprints](https://github.com/hasnainroopawalla/circuit-sim/tree/biome/packages/simulator/src/blueprints) directory to explore a growing collection of prebuilt circuits—from simple logic gates to more complex compositions.
You can load these blueprints directly into the simulator, modify them, or use them as a starting point for your own designs.
## đź§© Contributing
- Found a bug or have a feature idea? Open an issue on GitHub: https://github.com/hasnainroopawalla/circuit-sim/issues
- To contribute: fork, make changes on a branch, and open a pull request against `master`.
## đź“„ License
- This project is licensed under the MIT License — see the LICENSE file for details.