Knitting for Javascripters
summary
Code converts knitting patterns to a pixel matrix using GM (PhantomJS tried then dropped), applies Bayer dithering to turn grayscale into ones and zeros, packs bits with bitwise shifts into .dat hex files, and targets an actual 1980s Electroknit machine. A 30 line prototype visualizes patterns in JavaScript, a bought-for-a-few-hundred-dollars machine is repaired and fed the file, and the JSConf logo successfully knits out — manual knitting took about five days versus instant machine runs.
AI-written summary · about
chapters (9)
- 0:00Intro
- 7:53Knitting Machine
- 11:45Jacquard Knitting
- 14:00Making a bitmap image
- 15:20Grayscale
- 16:25First upload
- 18:02Noise Matrix
- 18:49Pattern Files
- 19:58Bitwise Operator








