Change one line, look again
The point is to answer "what if" questions cheaply. What if brioche, but with two slips? What if the float goes in front? What happens when I forget the decrease? You change the pattern and look at the result instead of casting on again.
The swatches above are both brioche. The second one slips each column on two rows running, and the fabric opens into a lattice.
How it works
- Rows are written the way they are knitted:
k,p,sl1yo,brk,k2tog,yo, repeats in*...*. - The simulator tracks which strands sit on which needle and how the loops interlock, then relaxes the fabric with yarn physics: tension, gravity, friction and yarn thickness.
- Yarns can differ in weight and type, from smooth to mohair, can be multicolored (stripes, gradients, marls, speckles) and can have fuzz.
- Every pattern gets a chart next to the render, with row numbers on the side you knit them from.
Variants only state what changes
A pattern can start from another one and override rows, or swap stitches outright. Here a slip-stitch rib gets its floats moved to the front:
pattern slip-rib
cast on 15
row 1: k1, *sl1, k1*
row 2: *p*
work 1 2 x 10
pattern slip-rib-front from slip-rib
replace sl1 -> sl1 wyif
purlhaps is an early prototype. The stitch set, the language and the physics are all still changing.