./8-bit-adder
◐ DemoAn interactive 8-bit binary adding machine that uses logic gates (XOR, AND, OR) to compute sum and carry — CS fundamentals visualized in the browser.
screenshots
about this project
A hands-on educational tool that implements an 8-bit binary adder from first principles using logic gates — entirely in vanilla JavaScript.
Toggle individual bits on and off using interactive switches. The circuit evaluates each bit position through XOR (sum), AND (carry generation), and OR (carry propagation) gates, exactly mirroring how a real hardware adder works. The console logs base-10 conversions so you can verify the math.
What makes this interesting: it bridges the gap between abstract CS theory and tangible interaction. You get to see — and physically toggle — how binary addition works at the gate level. It's the kind of project that makes you appreciate what happens billions of times per second inside a CPU.