Logic gates are an abstract device which can be implemented with electromagnetic relays, vacuum tubes, or transistors. These implemenations have been successful in computing in part because of various properties of chainability, durability, and size beyond their basic binary stability. They also work well because electricity is the energy source which can rather easily be shipped around.

I've seen adders built out of wood, marbles, and gravity. I've seen "lab on a chip" capilary-action-driven prototypes. I've seen all kinds of specialty mechanical calculators (Curta, slide rule). I've seen domino trails as single-use logic gates.

I'm interested in other illustrative computing devices that aren't necessarily convenient, durable, or fast, but which exploit properties of everyday materials to perform computation and which are directly visible. The dominoes trails are close, but are a little too complicated to reset.

Magneto-mechanical arrangements? Water in pipes/troughs? More general marble contraptions?

PS. Here's a new one. Mechanical CPU Clock

  • $\begingroup$ @J.D. Yes, but perhaps for a certain physical device, neither a relay nor a NAND gate are the simplest structure to create. I'm not sure what the theoretical alternatives are for constructing all the necessary logic functions. $\endgroup$ Commented Apr 16, 2012 at 22:54
  • $\begingroup$ Why build a computer at all? Go catch some. hydrogenfuelnews.com/… $\endgroup$
    – Patrick87
    Commented Apr 18, 2012 at 20:16

3 Answers 3


Some more options:

If you're into Billiard, you can create logic gates from Billiard balls

If you prefer the wild life, Crab-based logic gates should fit.

  • $\begingroup$ Billard seems workable and to fit the question best so far; crab gates are just awesome! $\endgroup$
    – Raphael
    Commented Apr 23, 2012 at 6:39
  • $\begingroup$ note that Patrick87 mentioned the crab-computer in his comment to the question. I didn't see it earlier. $\endgroup$
    – Ran G.
    Commented Apr 23, 2012 at 7:34

It is possible to build a Turing machine with "Lego" elements without any electric components, only with pneumatic transmission of energy. The guys who did this used some logic gates with pneumatic but this was the very easy part. The underlying automaton was way harder to build. (webpage in French. The other Turing machines in Legos use electronic devices which is very much like cheating)

Moreover I know you can build logic gates using only Lego elements and that may be more relevant.

So mechanics as well as pneumatics are enough to build logic gates.


Believe it or not, here's a guy who built logic gates using streams of water...


Apparently, he worked up to a 4-bit adder, though I believe this picture shows only a single half-adder...

(source: blikstein.com)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.