circuit.mp4
Circuit Solver written in cpp and raylib will use Kirchhoff's circuit laws to solve for voltages across resistors
Only works on linux/unix install raylib then
git clone https://github.com/manthanabc/CircuitSolver cs
cd cs
make run
just hover over an edge to select it, press (Case sensitive)
R: Add a resistor to the selected edge.W: Add a wire to the selected edge.num[0-9]: Switch the highlighted path (replacenumwith a number key, e.g.,0,1, etc.).
Makes use of kirchhoffs law to decompose circuit into loops (In DFS like way), then calculating current across each loop. then summing the currents for each indivisual component;
