fbz > notebook > projects > wolfram 1d cellular automata 01001001 scarf

Project info
wolfram 1d cellular automata 01001001 scarf
Machine Knitting
the beauty of math
Tools and equipment
Yarn
Hamburger Wollfabrik Merino extrafein (3 fädig/3ply)
Black
Hamburger Wollfabrik Merino extrafein (3 fädig/3ply)
Natural/Undyed
Notes

Scripted with Processing, Wolfram’s Cellular Automata with ruleset 01001001 (rule 73, which is an unusual case, and in this version, doesn’t form walls and exhibits class 3 behavior). Width of the scarf is 51 pixels/stitches. The width affects the generative pattern. The first pixel (the seed for the pattern) on one side is (0,23), the first pixel on the other side is (0,29). There is no repeat in this particular length of scarf. The total length is 640 rows. Each chunk of 102 by 128 stitches had to be cut and pasted together before sending to the knitting machine. At 102 stitches wide, the maximum memory on my KH930 knitting machine is 128 rows long. Tension 3.. (almost 4, 3 and two dots). Black is the main color, and corresponds to the black pixels output by Processing. I should have cast on two more stitches: 104 for the black bands on the edges to show up, but I forgot so added in an extra stitch as I knitting machine hemmed up the long edge (edge Tension 3, cast on 3 stitches, two of which are where the scarf’s edges are added, see last two pictures). The two short edges are kitchenered.

The code for the scarf is in Processing, a java based language. You can download the code and run it for free, it is located in this zip file in the folder: Units 43-51 > 49 Simulate 1 > _01 > _01.pde. This code is an example from the book Processing: A Programming Handbook for Visual Designers and Artists.

I added on the functionality to output an image of the finished generative art in tiff format to the code. Here is the source code for that:
http://pastebin.com/hiP11A3N

A script I wrote in Scheme for Script Fu in Gimp to batch convert a folder of images from tiff to indexed two-color bitmap for the knitting machine is located here.

Knit on my hacked KH930 knitting machine.

viewed 189 times | helped 1 person
Finished
October 18 2011
October 20 2011
 
About this pattern
Personal pattern (not in Ravelry)
About this yarn
Merino extrafein (3 fädig/3ply)
by Hamburger Wollfabrik
Lace / 2 ply
100% Wool
273 yards / 50 grams
fbz's star rating
85 projects, stashed 60 times
  • Project created: October 19, 2011
  • Finished: October 20, 2011
  • Updated: January 15, 2014