A journey in eighteen chapters
Nand to Instagram
How a computer is built, from one switch to your feed. Follow one photo: Priya in Pune posts a cup of chai, and Arjun in London sees it about forty seconds later. Every chapter asks what has to happen to that photo here.
What you need: a browser. No sign-in. Works on a phone.
Prologue
Forty seconds
Priya in Pune posts a photo of a cup of chai. Arjun in London sees it about forty seconds later. In between, the photo becomes light, then numbers, then envelopes, then light again. Step through the trip, or press Play all.
Step 1 of 8
Light
Priya taps the shutter. Light from the cup passes through the lens and lands on the sensor: a grid of about twelve million tiny wells, typical for a phone camera. Each well collects charge. More light, more charge. Nothing is a number yet.
Where is the internet?
Bet first. In studies, many children picture this wrongly, and the wrong picture sticks. Where is it?
Sixty seconds to pick your depth
Four questions, one tap each. They set which rung you start on. Guessing is fine.
Binary 101 is which ordinary number?
What does a router do?
A NAND gate's output when both inputs are 1?
What is the clock inside a CPU?
Your computer so far
Every part you build becomes a tool for the next level. 1 of 16 built.
- NAND, built
- NOT, not built yet
- AND, not built yet
- OR, not built yet
- XOR, not built yet
- SR latch, not built yet
- D latch, not built yet
- flip-flop, not built yet
- bit, not built yet
- register, not built yet
- half adder, not built yet
- full adder, not built yet
- 8-bit adder, not built yet
- ALU, not built yet
- envelope sorter, not built yet
- forwarding table, not built yet
Saved in this browser only, with no account. Clearing your browser's site data clears it.
The eighteen chapters
- 00 · prologueForty secondsphoto: the whole trip
- 01 · liveThe switchphoto: on or off
- 02 · liveRememberingphoto: sixteen bits held
- 03 · liveCounting with wiresphoto: 178 + 20
- 04 · plannedThe first programphoto: three instructions
- 05 · plannedThe loopphoto: fetched and executed
- 06 · plannedWords instead of bitsphoto: a symbol
- 07 · plannedA language of our ownphoto: pixels[i] + by
- 08 · plannedThe stack machinephoto: pushed and popped
- 09 · plannedThe compilerphoto: a tree
- 10 · plannedThe libraryphoto: drawn with a line
- 11 · plannedThe refereephoto: a process
- 12 · plannedDoors and drawersphoto: ten sectors
- 13 · plannedThe photophoto: 1,280 words of grey
- 14 · liveEnvelopesphoto: about 250 envelopes
- 15 · plannedThe warehousephoto: a row and a file
- 16 · plannedWho sees it firstphoto: a candidate with a score
- 17 · plannedLighting the glassphoto: light again
- 18 · plannedEpiloguephoto: every layer at once