![]() | Knitting is a means of making fabric by pulling loops of yarn through other loops. Loops, called 'stitches,' are the discrete unit of knitted fabric. Knitted fabric, worked in rows or spirals, grows in one direction. |
The rule is like a truth table with three inputs (stitch directly below, stitch below left, stitch below right) and an output. The diagram shows
a rule in which three white stitches determine a black stitch, and all other combinations, a white stitch.
Read from left to right, the binary number created by the outputs is 00000001, or 1.
Such rules can be summarized as a number from 0 to 255.
% caknit -s -r -w -c [-f]-s: number of stitches
Handy printout for E-Z knitting:
rows: 20 stitches: 20 wolfram: 105
colors: lightgrey (L), darkgrey (D)
1D CA rule:
DDD: D
DDL: L
DLD: L
DLL: D
LDD: L
LDL: D
LLD: D
LLL: L
1: L D D L L L D D L L D D L L D D L D D D
2: L L L D L D L L D D L L D D L L L L D L
3: L L D D L D D D L L D D L L D L L D D D
4: D D L L L L D L D D L L D D D D D L D L
5: L L D L L D D L L L D D L D D D L L D L