Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T06:43:08.000Z (26 days ago)
- Last Synced: 2025-01-26T07:24:06.224Z (26 days 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
[Live Demo](http://hasnainroopawalla.github.io/circuit-sim)
A digital circuit simulator build using React, TypeScript and P5.js.
#### Data-latch circuit
![]()
#### Save circuit
![]()
#### Import chip
![]()
## Features
- Sandbox environment for digital chips
- Save the current circuit as a custom chip
- Import chips using blueprint strings. Example:
- blueprint string for the `NAND` custom chip
```
{"main":{"inputs":[{"id":"chip.input.0"},{"id":"chip.input.1"}],"outputs":[{"id":"chip.output.2"}],"chips":[{"id":"chip.AND.3","name":"AND"},{"id":"chip.NOT.4","name":"NOT"}],"wires":[["chip.input.0/output.0","chip.AND.3/input.0"],["chip.input.1/output.0","chip.AND.3/input.1"],["chip.AND.3/output.0","chip.NOT.4/input.0"],["chip.NOT.4/output.0","chip.output.2/input.0"]]}}
```## Contributing
- Post any issues or suggestions on the GitHub [issues](https://github.com/hasnainroopawalla/circuit-sim/issues) page.
- To contribute, fork the project and then create a pull request back to `master`.## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/hasnainroopawalla/circuit-sim/blob/4e430c15e967846c1117ecc3e1cb5b74095e870a/LICENSE) file for details.