How a loom learned to read a pattern

Before punched-card control, producing an elaborate woven design could require a skilled operator to coordinate thread movements by hand. Jacquard’s system shifted much of that work into a sequence of cards. Each card’s pattern of holes determined which hooks could rise; those hooks lifted selected threads, while the others stayed down. As the cards passed through the loom in order, they turned a design into repeated mechanical instructions.

The key change was not simply faster weaving. The pattern could be stored separately from the machine and changed by replacing or rearranging the cards. A loom could therefore repeat intricate instructions without asking an operator to recreate every movement by hand.

From textile instructions to calculation

Charles Babbage recognized that this arrangement suggested a broader principle: a machine could be directed by instructions recorded outside it. In his planned Analytical Engine, punched cards were intended to specify operations and data, much as cards guided a loom’s actions. The machine was never completed, but the design carried the idea of programmable control beyond textiles.

The analogy had limits: weaving a pattern and carrying out arithmetic are different tasks. What traveled between them was the method of control—encode a sequence, feed it to a machine, and let the machine perform the prescribed steps. A tool for repeating designs helped make “instructions for a machine” imaginable as something that could be written down and changed.