Generative Knitting

Olivia Glennon
Apr 23, 2019 · 5 min read

I personally have long been fascinated by textile arts, and as a studio we are always looking for ways to explore data-driven designs beyond the computer screen. The 1:1 comparison of pixels to stitches has been widely explored, but it wasn’t until recently that our studio had the means to explore it ourselves.

Jacquard Loom

Coding and textile arts share a close bond. Some of the earliest programmable machines were Jacquard looms — weavers used a series of punch cards to make more complex patterns and produce textiles more quickly.

Since a full Jacquard loom was a little out of scope for a side project, we started looking into other machines. An embroidery machine was promising, but was unsuited for a project of a larger scale.

Then I stumbled upon Claire Williams‘s data knits work. I was so intrigued by the complexity of patterns she was able to knit using a hacked 90‘s electronic knitting machine that I started looking into how it was done. Turns out, she has instructions on how to get started with connecting these kinds of machines to a computer. While Anisha looked into the parts we would need for the electronics, I began my search for a knitting machine. I ended up finding a woman in western Massachusetts who works with these machines and had a nicely refurbished one that we were able to purchase. She even came to the studio and gave us a full tutorial on how to the machine works.

Learning about our new knitting machine

While we waited for the electronic interface to get up and running, Martha and I tested different techniques and patterns with the machine.

During that time, we also went to the Bauhaus exhibit at the Harvard Art Museums, and I was completely blown away by Anni Albers’s and Gunta Stölzl’s work. That led me to pick up Albers’s book On Weaving.

“Pasture” by Anni Albers https://www.metmuseum.org/art/collection/search/489779

In particular, Albers’s piece “Pasture” stuck with me, and I began thinking about using photographs of places and objects to generate palettes for textiles. That led to an exploration using various software sketches to generate palettes and patterns and build assistive knitting tools.

Generating palettes

In making mistakes, I also got some cool results.

Generating patterns

I didn’t have any knitting patterns handy, so I drew a few “pattern pieces” in Photoshop, and used those as the blueprints onto which I could map new colors. I wrote a few sketches in Processing to map the photo colors onto these pieces, and also generate different combinations of the pieces to create different patterns.

All of the blue pixels would get the same new color, then all of the green pixels would get a second, etc.

The program also worked by passing in a set palette, and having it randomly select four colors to apply to a pattern.

I realized later that my pattern “pieces” didn’t line up, so something like this would have to be adjusted to actually be knit-able, but it looks cool nonetheless!

Moving into Knitting

I printed out a small sample of all my generated palettes to bring to the store and see which colors were available.

From far away, this also started to look like its own giant pattern…

It only took five hours…but I did knit one pattern I had generated, and I am really excited by the results. My knitting and finishing techniques need some work, but the colors and texture that resulted are lovely.

I struggle to keep track of where I’m at in a pattern, so I threw together a little Processing sketch to help me. One thing I didn’t realize while making this tool is that the machine knits patterns upside down! Oh well: I’ve been told there are no mistakes in knitting.

With more of the automation in place (and more practice!), we‘ll be able to explore the more irregular, glitchy, and tapestry-like patterns.

There’s also so much more to experiment with on the physical side that moves beyond color and its arrangement — like the different textures and sheen of the yarn (maybe we could use four different black yarns with different textures!), or different types of stitches. I’m also looking forward to exploring more meaningful data relationships between the data generating the colors and the patterns themselves.

fathominfo

We build platforms and products for understanding data. See the full archive of our writing on process, client work, and curiosities at fathom.info/notebook.

Olivia Glennon

Written by

Designer/Developer at https://medium.com/fathominfo

fathominfo

We build platforms and products for understanding data. See the full archive of our writing on process, client work, and curiosities at fathom.info/notebook.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade