Knit One, Compute One • Kristine Howard • YOW! 2016

Discover how knitting patterns mirror programming concepts, from loops and binary operations to debugging. Plus learn about digital encoding through stitches and modern maker tools.

Key takeaways
  • Knitting patterns are algorithms and share many similarities with programming concepts:

    • Contain loops, functions, subroutines and control flow
    • Use binary operations (knit/purl stitches)
    • Follow sequential processing patterns
    • Include error checking and debugging capabilities
  • Knitting pattern formats have evolved like programming languages:

    • Early patterns were like machine code (basic instructions)
    • Charts and symbols added abstraction (like assembly)
    • Modern formats like KnitML provide standardized intermediate representation
    • Stitch maps offer visual pattern compilation and verification
  • Digital encoding can be done through knitting:

    • Binary data represented through knit/purl stitches
    • QR codes and messages can be encoded in patterns
    • Cellular automata patterns can be implemented
    • Source code and other data can be stored in knitted form
  • Knitting shares computational concepts:

    • CPU = human knitter processing instructions
    • RAM = active stitches on needles
    • Storage = completed knitted fabric
    • Debugging = checking stitch counts and pattern matching
  • Open source knitting tools exist:

    • Pattern generators and visualizers
    • Machine knitting hardware hacks
    • Pattern format converters
    • Repositories of knitting code and patterns
  • Cultural and technical crossover:

    • Historical use of punch cards links textiles to computing
    • Modern makers combine electronics with knitting
    • Communities bridge craft and coding
    • Documentation standards evolving like programming languages