Knit One, Compute One

A presentation at Voxxed Days Melbourne in May 2018 in Melbourne VIC, Australia by Kristine Howard

Slide 1

Slide 1

PHOTO: LISA COCKBURN KNIT ONE COMPUTE ONE Kris Howard @web_goddess

Slide 2

Slide 2

Slide 3

Slide 3

youtu.be/RVU62CQTXFI

Slide 4

Slide 4

Slide 5

Slide 5

Worked over a multiple of 24 stitches. Row 1 (RS): Knit Row 2: Purl Row 3: *(k2tog) 4 times, (yo, k1) 8 times, (k2tog) 4 times; rep from * to end. Row 4: Purl Repeat rows 1-4 until desired length.

Slide 6

Slide 6

Programming Knitting

Slide 7

Slide 7

Slide 8

Slide 8

Programming Knitting

Slide 9

Slide 9

Programming Knitting Me

Slide 10

Slide 10

FLICKR: LORNA MITCHELL

Slide 11

Slide 11

FLICKR: SBRISTOW

Slide 12

Slide 12

KNITTING IS BINARY FLICKR: STEPHANIEASHER

Slide 13

Slide 13

“ DECODER HAT ” BY ZABET STEWART

Slide 14

Slide 14

“ BINARY SCARF ” BY HEYCARRIEANN

Slide 15

Slide 15

“ THE VIRAL KNITTING PROJECT "

Slide 16

Slide 16

RAVELRY: CYN FLICKR: DEVABURGER

Slide 17

Slide 17

FLICKR: ADAMKNITS

Slide 18

Slide 18

FLICKR: JACQUELINE-W

Slide 19

Slide 19

“ MORSE CODE ” BY KATE ATHERLEY

Slide 20

Slide 20

“ BRAILLE SOCKS ” BY JESSICA LANDERS

Slide 21

Slide 21

Slide 22

Slide 22

“ SCOREBOARD ” BY MICHELLE HUNTER FLICKR: TONY & WAYNE

Slide 23

Slide 23

Slide 24

Slide 24

Cast on 24 stitches. Slide intentionally blank…

Slide 25

Slide 25

FOR LOOP

Slide 26

Slide 26

let stCount

24 ; for ( let i

0 ; i < stCount; i ++ ) { stitch.castOn() }

Slide 27

Slide 27

Repeat to end of row. Slide intentionally blank…

Slide 28

Slide 28

WHILE LOOP

Slide 29

Slide 29

while ( ! thisrow.atEnd() ) { stitch.knit(); }

Slide 30

Slide 30

Cast on 242 (256, 270, 284) sts. Slide intentionally blank…

Slide 31

Slide 31

Slide 32

Slide 32

SWITCH STATEMENT

Slide 33

Slide 33

let size

38 ; switch (size) {

case

38 : stitch.castOn( 242 );

case

41 : stitch.castOn( 256 );

case

43 : stitch.castOn( 270 );

case

45 : stitch.castOn( 284 ); }

Slide 34

Slide 34

SUBROUTINES

Slide 35

Slide 35

Slide 36

Slide 36

Slide 37

Slide 37

Slide 38

Slide 38

COROUTINES

Slide 39

Slide 39

Slide 40

Slide 40

Row 1 : Side, O , * D, C, F, X, F, O, F, X * , D, B, D, A, E, B, E, ** X ,F ,O ,F ,X ,F, X ,E ** , O, Side, O, rep from * to * once, pm, F, O, F, X, F, C, F, W, F, O, F, pm, rep from ** to ** once, O.

Slide 41

Slide 41

Slide 42

Slide 42

PATTERN LANGUAGES

Slide 43

Slide 43

Slide 44

Slide 44

Slide 45

Slide 45

Slide 46

Slide 46

Slide 47

Slide 47

Slide 48

Slide 48

Slide 49

Slide 49

Slide 50

Slide 50

stitch-maps.com

Slide 51

Slide 51

Rows 1, 5, and 9 (RS):   K1, *k3,   k2tog,   k4,   yo,   p2, [k2,   yo,   ssk] 3 times, p2, yo, k4, ssk, k3, repeat from * to last   st,   k1. Rows 2, 6, and 10:   K1, *p2,   p2tog,   p4,   yo,   p1,   k2, [p2,   yo,   p2tog] 3 times, k2, yo, p4, p2tog, p3, repeat from * to last   st,   k1. Rows 3, 7, and 11:   K1, *k1,   k2tog,   k4,   yo,   k2,   p2, [k2,   yo,   ssk] 3 times, p2, k2, yo, k4, ssk,   k1, repeat from * to last   st,   k1. Rows 4, 8, and 12:   K1, *p2tog,   p4,   yo,   p3,   k2, [p2,   yo,   p2tog] 3 times, k2, p3, yo, p4, p2tog, repeat from * to last   st,   k1. Rows 13, 17, and 21:   K1, *yo, ssk, k2, yo, ssk, p2, yo, k4, ssk, k6, k2tog, k4, yo, p2, k2, yo,   ssk,   k2, repeat from * to last   st,   k1. Rows 14, 18, and 22:   K1, *yo, p2tog, p2, yo, p2tog, k2, p1, yo, p4, p2tog, p4, p2tog, p4,   yo,   p1,   k2,   p2,   yo,   p2tog,   p2, repeat from * to last   st,   k1. Rows 15, 19, and 23:   K1, *yo, ssk, k2, yo, ssk, p2, k2, yo, k4, ssk, k2, k2tog, k4, yo, k2,   p2,   k2,   yo,   ssk,   k2, repeat from * to last   st,   k1. Rows 16, 20, and 24:   K1, *yo, p2tog, p2, yo, p2tog, k2, p3, yo, p4, p2tog, p2tog, p4, yo, p3,   k2,   p2,   yo,   p2tog,   p2, repeat from * to last   st,   k1.

Slide 52

Slide 52

Slide 53

Slide 53

Slide 54

Slide 54

Slide 55

Slide 55

Slide 56

Slide 56

Slide 57

Slide 57

knitml.sourceforge.io/

Slide 58

Slide 58

<pattern:pattern xmlns:pattern="http://www.knitml.com/schema/pattern" xmlns="http://www.knitml.com/schema/operations" xmlns:common="http:// www.knitml.com/schema/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.knitml.com/schema/pattern http://www.knitml.com/ schema/pattern-0.7.xsd http://www.knitml.com/schema/operations http:// www.knitml.com/schema/operations-0.7.xsd http://www.knitml.com/schema/common http://www.knitml.com/schema/common-0.7.xsd" version="0.7" xml:lang="en"> pattern:directivespattern:instruction-definitions <inline-instruction id="cross-2-over-2" label="2/2 LC"> <cross-stitches first="2" next="2" type="front" /> <knit>4</knit> </inline-instruction> <inline-instruction id="cross-2-behind-2" label="2/2 RC"> <cross-stitches first="2" next="2" type="back" /> <knit>4</knit> </inline-instruction> </pattern:instruction-definitions> </pattern:directives> pattern:general-informationpattern:nameColor Sampler Swatch</pattern:name> pattern:descriptionA basic 2-color swatch sampler</pattern:description> <pattern:dimensions /> <pattern:gauge type="stockinette"> <pattern:stitch-gauge unit="st/in">5</pattern:stitch-gauge>

Slide 59

Slide 59

Pattern "en" { Directives { InstructionDefinitions { InlineInstruction 'cross-2-over-2' [label:"2/2 LC"] { cross 2 inFrontOf 2, k4 } InlineInstruction 'cross-2-behind-2' [label:"2/2 RC"] { cross 2 behind 2, k4 } } } GeneralInformation { Name: "Color Sampler Swatch" Description: "A basic 2-color swatch sampler" Dimensions Gauge 'stockinette' { StitchGauge: 5 stitchesPerInch RowGauge: 7 rowsPerInch } Techniques { Technique: "stranded knitting" Technique: "cabling" KnittingEL

Slide 60

Slide 60

sourceforge.net/projects/knitter/

Slide 61

Slide 61

Slide 62

Slide 62

knitsum.feministy.io/

Slide 63

Slide 63

Slide 64

Slide 64

Slide 65

Slide 65

Slide 66

Slide 66

Knitty: Know It All Bag

Slide 67

Slide 67

Slide 68

Slide 68

Slide 69

Slide 69

FLICKR: WEMAKE MILANO

Slide 70

Slide 70

FLICKR: MAR CANET

Slide 71

Slide 71

SMEECH.CO.UK

Slide 72

Slide 72

SMEECH.CO.UK

Slide 73

Slide 73

HEARTOFPLUTO.CO

Slide 74

Slide 74

GLITCHAUS.COM

Slide 75

Slide 75

ANDREW SALOMONE

PHOTO: BECKY STERN

Slide 76

Slide 76

Slide 77

Slide 77

MEGANANN MICHAELA112358 MAEVE DATASOCK CITIKAS GLORIAHANLON SkyKnit

Slide 78

Slide 78

KNITTING AS COMPUTATION

Slide 79

Slide 79

FLICKR: KATEMONKEY

Slide 80

Slide 80

FLICKR: BEEP1O

Slide 81

Slide 81

FLICKR: CHRISTIAAN COLEN

Slide 82

Slide 82

knityak.com

Slide 83

Slide 83

Slide 84

Slide 84

Slide 85

Slide 85

Slide 86

Slide 86

LESSONS

Slide 87

Slide 87

HUMILITY FLICKR: BEKATHWIA

Slide 88

Slide 88

DOCUMENTATION FLICKR: MALGLAM

Slide 89

Slide 89

INVEST IN TOOLING FLICKR: MARKSETON

Slide 90

Slide 90

WELCOME NEWBIES

Slide 91

Slide 91

PHOTO: LISA COCKBURN

Slide 92

Slide 92

FLICKR: ST3F4N @web_goddess Kris Howard