#N canvas 574 81 416 260 10; #N canvas 501 430 530 244 score 0; #X restore 48 22 pd score; #X text 115 21 <- click to open; #N canvas 63 621 418 151 template 0; #X text 66 11 now with an array; #X obj 39 45 struct template float x float y array sequence template-element ; #X obj 38 83 plot sequence 339 50 10 100 10; #X restore 52 86 pd template; #N canvas 94 844 352 105 template-element 0; #X obj 48 27 struct template-element float y; #X restore 52 108 pd template-element; #N canvas 689 523 444 434 init 0; #X obj 94 18 inlet; #X msg 195 27 \; pd-score clear; #X obj 94 38 t b b b; #X obj 224 102 pointer; #X msg 224 82 traverse pd-score \, bang; #X msg 94 106 100 100; #X obj 94 128 append template x y; #X obj 94 154 t b b p; #X obj 125 239 setsize template sequence; #X obj 191 339 element template sequence; #X obj 63 312 unpack; #X msg 123 218 50; #X obj 63 365 set template-element y; #X msg 63 284 0 10 \, -10 15 \, -30 20 \, 50 30 \, 0 40 \, 10 45 \, 0 50; #X connect 0 0 2 0; #X connect 2 0 5 0; #X connect 2 1 4 0; #X connect 2 2 1 0; #X connect 3 0 6 2; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 13 0; #X connect 7 1 11 0; #X connect 7 2 8 1; #X connect 7 2 9 1; #X connect 9 0 12 1; #X connect 10 0 12 0; #X connect 10 1 9 0; #X connect 11 0 8 0; #X connect 13 0 10 0; #X restore 52 188 pd init; #X msg 52 162 bang; #X connect 5 0 4 0;