kabel_vis is a simple circuit visualisation and simulation tool
- raylib
- linux for hot reloading (static version might work on windows but I don't test it there)
- a C compiler
- stop ignoring memory management and fix the leaks
- add license
Make sure to have raylib installed where the compiler will find it or add appropriate -I and -L flags to the build scripts.
./static-build.sh
./kabel_vis_static
./build.sh
./kabel_vis
- Right Mouse Button place/remove gates
- Left Mouse Button drag scene or gates
- Left Mouse Button toggle switch
- Shift + scroll zoom
- scroll / UpDown arrows select gate
- scroll + Ctrl / LeftRight arrows select wire color
- R hot reload (if available)
- Ctrl + R close window hot reload then reopen window (if available)
Leftclick a gate port (gray circle) to start creating a wire. Leftclick anywhere to create a waypoint along the wire. Leftclick another connector to finish the connection or Rightclick/ESC to cancel.
attempting to create a wire starting from an input (port on the left side of a gate) will remove the previous connection
gate output ports may have arbitrarily many wires attached