Tim Hutton Designed a Knitting Computer That Moves Pegs Instead of Electrons
A knitting exhibition inspired a 33-part mechanical design that calculates a cellular automaton, though its yarn selector and supporting structure still need work.

Tim Hutton wants a knitting machine to work out its own pattern using pegs and gears. Pull a carriage across a row of pegs, and his design reads their positions, calculates the next row and pushes another set of pegs into place. The yarn would come later (much later, perhaps).
The idea came after Hutton saw Madeleine Shepherd’s cellular-automata knitting exhibition in October 2026. A knitting machine already moves a carriage across a bed of needles; punched cards or a computer can select stitch colors. Hutton wondered whether cogs could handle the calculation instead. His earlier interest in mechanical computing came from Sydney Padua’s animations of parts of Charles Babbage’s Analytical Engine.
Hutton chose Rule 110, a cellular automaton that updates each position using its current value and those of its immediate neighbors. Each position is either zero or one. Give the rule a row of those values, and it produces another row. Keep going and a simple starting state can grow into a pattern with a lot more going on than its eight input combinations suggest.
The design stores those ones and zeros as sliding pegs. Diamond-shaped sensors on rods pass over three neighboring pegs and turn their positions into rod movement. The pegs need enough friction to stay put, but not so much that they cannot be pushed. Slightly misplaced pegs can be nudged back by the sensors; badly misplaced ones could send a sensor the wrong way or jam it. This computer’s alignment problem comes with actual alignment.
The logic itself uses gears and rods to invert motion, average positions, multiply movement and apply minimum or maximum operations where rods push or hold one another back. Hutton says the arrangement saves parts compared with a straightforward composition of AND, OR and NOT gates. The Rule 110 mechanism uses 20 rods and 11 gears; add the two updaters that copy results between tapes, and the total is 33 moving parts, excluding the pegs.
The output tape also uses inverted peg positions relative to the input tape, a quirk of the sensors and actuators. Correctors fixed to the carriage nudge written pegs the rest of the way into position. Hutton could extend the actuators’ movement with another gear, but that would add moving parts. Even a computer made for knitting has to watch its overhead.
Hutton is clear about the missing pieces. “A sketch of the machine in action has been animated but lots of details are missing: support structures, output mechanism,” he writes. The files are not ready to 3D print as a complete machine. Friction is an open question, particularly where sensors meet pegs, and the design does not yet answer what happens at the ends of each row.
The knitted pattern shown in the illustration is a placeholder. Hutton proposes controlling a yarn selector with a sensor, but has not designed that selector. He notes that peg spacing may need to match the knitting needles, typically 9 millimeters or less, which could make manufacturing tricky. Getting a small mechanism to do the math is one challenge; getting it to select yarn reliably is another stitch altogether.
Rule 110 is Turing-complete, but Hutton cautions that a computed result would be encoded in its pattern rather than simply appearing as any chosen knitted image. He also says even simple programs would need tens of thousands or millions of pegs. That makes this a demonstration of a simple computer, not a practical replacement for the one already choosing stitches.
A working prototype could make the relationship between stored state, logic and output unusually easy to follow: the data would be right there in the pegs. That depends on the sensors moving reliably and on the unfinished knitting mechanism finding room beside them. For now, the pattern is waiting for its yarn.