text: Logic gates can be built that use water instead of electricity to power the gating function. These are reliant on being positioned in one orientation to perform correctly. An OR gate is simply two pipes being merged, and a NOT gate (inverter) consists of "A" deflecting a supply stream to produce Ā. The AND and XOR gates are sketched in the diagram. An inverter could also be implemented with the XOR gate, as A XOR 1 = Ā.
  Another kind of fluidic logic is bubble logic. Bubble logic gates conserve the number of bits entering and exiting the device, because bubbles are neither produced nor destroyed in the logic operation, analogous to billiard-ball computer gates.