Light Simulator
Intro
No wires: light transmitted through air!
Only One basic logic circuit building blocks: NOR Gate.
Use NOR Gate to build a CPU!
Other blocks serve as light reflectors and splitters.
Requirements
Tkinter
Usage
- Clone this repo.
- run
python3 GUI.py
. - Press
o
on main window, and then enter4bitReg.txt
in your terminal. - Enjoy hacking!
Shortcuts
- Use
1~9
to select blocks. - Press
s
to save current design pattern into a.dgn
file. - Press
o
to load.dgn
files.
Hack
in core.py
: change the following to resize the canvas.
NX=400
NY=400