Digital Loom

A few years ago, I took a beginner's weaving class. It was very simple, using a cardboard loom and very thick knitting yarn, but it was fun. However, I found that I got a little confused about how to follow some of the instructions, and that the little reference sheet they gave us was not very useful. I decided to make my own 'digital loom' as a reference.

Plain weave

One over, one under. This is the simplest weave you can make. If your warp is one color and the weft is another color, this will produce an alternating checkerboard pattern.

Imagine that we represent a weave as an n x m grid of binary numbers. 0 represents the weft going beneath the warp and 1 represents the weft going over the warp. Plainweave would involve a starting configuration of alternating bits:

01010101

You can then apply a logical NOT to each member to produce the next line:

01010101
10101010
      

And you can continue applying logical NOT to each member to produce all the lines:

01010101
10101010
01010101
10101010
      

Basket weave

2 over, 2 under. This one is used in making baskets. While traditionally it is done with 2 over and 2 under, nothing is stopping you from having 3 over 3 under.

00110011
      

There is also a twist - the 'flip' happens after 2 rounds of populating the line.

00110011
00110011
    

This means you print the starting line twice and then you apply the transformation for 2 lines before switching back. If you go with 3, you would change that to 3 lines.

00110011
00110011
11001100
11001100
00110011
00110011
    

Twill