algorithmically morphing scarf

Fresh off the knitting machine is this algorithmically morphing scarf with a pattern that changes by one pixel in each repeat. The software was made by Laura Kogler and used by me with the hacked Brother KH930 I currently have. Laura Kogler’s pattern generator script is meant for mosaic knitting but I knit it as a standard two color fair isle pattern on my KH930. Knitting mosaic or slip-stitch on the KH930 is very operator intensive. It’s much faster to knit fair isle on the machine. It is a two-sided scarf with one side black on pink and the other side inverted with pink on black. I hand-seamed the whole thing together (which took days) and kitchenered the ends. It is knit in Hamburger Wollfabrik 3-ply Merino in a dark pink and black. It’s incredibly warm and soft, beyond the general nomminess of the algorithmically generated morphing pattern. The scarf has it’s own ravelry page.

The output I used from Laura Kogler’s script is pictured here below in teal and dark teal:

The output pictured above is 7 repeats wide, but I knit it 3 repeats wide for each side of the scarf. Each repeat is 26 stitches (pixels) wide, and the total length of the file sent to the knitting machine is 361 stitches (rows, pixels) long. I flipped the pattern upside down for the second half of the length with the KH930’s built-in pattern flipping functions.

I’m working on some general open source scripts for generative patterns for knitting machines, and so far I have thrown together some Processing code for creating random blocks in definable sizes: Eventually I hope to have some general open source algorithmic tools for the knitting machine to allow you to create much longer pattern morphs where the pixel mutations are more prominent. I also am writing in some auto-fill tools to add in patterns to blank areas in picture knitting so they turn out better with two-color knitting on knitting machines. The other killer feature will be to have options to limit the amount of repeats of one color in one row, to keep floats short on the reverse side of the knitting. Happy knitting to all you warmth-creating people out there!

skull logo arrrgyle ipad sleeve

In February of 2007 I worked out an argyle pattern based on my blue skull logo (see graph paper drawing below). In June of 2008 I knit the two color pattern up by hand (see shot in front of graffiti above). This week, August of 2011, I knit my skull argyle on a hacked knitting machine (Brother KH-930, documented here, code on github here). Sometimes it takes years to complete a project, especially if a project requires a new machine with which to make it.

The finished ipad sleeve (see images below) is knit from cotton on the hacked KH-930 (with computer control) and finished with a sewing machine. It isn’t all that complex, and is drawn pixel-wise on the Gimp and exported to the knitting machine with some code to emulate a TDD Tandy floppy disk drive, a bit of hardware, and some code to parse the resulting bitmap into a format which the knitting machine will recognize. This happened during cccamp11 where I had brought the knitting machine to demo in the HXX hardware tent. In the process I have learned all about the mechanics of knitting machines, their capabilities, how to get them to be computer controlled and the yarns that knitting machines like. In the end, I really still hate hand knitting two color stranded patterns, but I love the way the finished products look. The machine gets to offload that burden and still output beautiful pieces.

Update (September 18th, 2011): I redid the sleeve in a cotton that doesn’t fuzz so much, made the pattern repeat properly, and made the skulls right side up on both sides. The ravelry page for the first version is here, and the second version is here. The second version is pictured below:

and a before and after shot with the old on the left, new on the right:

The generosity of knitters

Now that I’m up and blogging again, I just wanted to extend a huge thank you to the knitters in my life. Firstly, pictured above is some of the gorgeous PigeonRoof Studios fiber gifted to me by the ever-awesome Ms. B. That and another blue roving made their way into my stash so a huge Thank You for those!

Secondly, I have been gifted a bike from Erin as she was leaving. What an amazing gesture! Thank you Erin!

And thirdly, I received the SpinCycle handspun pictured below in a mystery package, until I realized that it was a thank you from Chris (aka ItsMyKnitInABox). He came to visit a few months ago and while he was here I sold him some of my bright green baby camel and merino handspun, which he knit into this. Rocking. So thank you Chris for this totally awesome gift! (I’ve already knit up the handspun he gave me shown below, photos soon.)