📈 Interactive 3-Mode Digital Lab
Three instruments in one panel. Binary Explorer: click bits directly on the canvas and watch decimal, hex, octal, and 2's-complement readings update live — then press +1 repeatedly to watch carries ripple. Gate Lab: pick a gate, flip the input switches, and see the truth-table row light up. DeMorgan Prover: two different circuits, one pair of switches, identical outputs on every row — the theorem proven before your eyes.
💡 The canvas is clickable — toggle bits and switches directly.
💡 Guided Explorations
1. Weights are everything: in Binary Explorer, build 178 by clicking only the bits whose weights sum to it (128+32+16+2). 2. Ripple carry: set 0111 1111 (127) and press +1 — watch eight bits flip in one step, and with SIGNED on, watch +127 wrap to −128 (overflow!). 3. Shifts are arithmetic: set 0000 0110 (6) and press << twice — doubling each time. 4. Invert-plus-one: set 25, press Invert, then +1, switch to SIGNED: −25. You just executed 2's complement by hand. 5. Gate fingerprints: in Gate Lab, find the single input combination that makes AND output 1 and the single one that makes NOR output 1. 6. The proof: in DeMorgan mode press Step Row four times — the two outputs agree on every row, for both theorems.