diff options
Diffstat (limited to 'iemabs/my_canvas.pd')
-rw-r--r-- | iemabs/my_canvas.pd | 243 |
1 files changed, 243 insertions, 0 deletions
diff --git a/iemabs/my_canvas.pd b/iemabs/my_canvas.pd new file mode 100644 index 0000000..06538ff --- /dev/null +++ b/iemabs/my_canvas.pd @@ -0,0 +1,243 @@ +#N canvas 478 61 459 285 10; +#X obj 1 1 cnv 15 300 60 foo10_snd foo10_rcv my_canvas=cnv 50 20 192 +17 -225280 -11904 0; +#X text 4 232 (c) musil@iem.kug.ac.at; +#X text 46 245 IEM KUG; +#X text 21 257 graz \, austria 2001; +#N canvas 215 80 699 530 edit 0; +#X obj 39 226 f; +#X msg 17 205 bang; +#X floatatom 55 204 3 63 88; +#X floatatom 90 226 3 0 37; +#X obj 39 249 pack 0 0; +#X text 117 226 y-label; +#X text 83 204 x-label; +#X obj 297 281 f; +#X msg 275 260 bang; +#X floatatom 313 259 3 -10 10; +#X floatatom 348 281 3 -10 10; +#X obj 297 304 pack 0 0; +#X obj 309 396 f; +#X msg 287 375 bang; +#X floatatom 325 374 3 20 60; +#X floatatom 360 396 3 150 200; +#X obj 309 419 pack 0 0; +#X text 341 259 x-delta; +#X text 375 281 y-delta; +#X text 353 374 x-position; +#X text 387 396 y-position; +#X obj 59 341 f; +#X msg 37 320 bang; +#X floatatom 75 319 3 0 2; +#X floatatom 110 341 3 4 36; +#X obj 59 364 pack 0 0; +#X text 103 319 font; +#X text 139 341 height; +#X floatatom 275 183 3 2 20; +#X msg 52 137 \; foo10_rcv color \$1 \$2; +#X msg 39 274 \; foo10_rcv label_pos \$1 \$2; +#X msg 59 390 \; foo10_rcv label_font \$1 \$2; +#X msg 36 430 \; foo10_rcv label blabla; +#X msg 36 466 \; foo10_rcv label my_canvas; +#X msg 309 444 \; foo10_rcv pos \$1 \$2; +#X msg 297 329 \; foo10_rcv delta \$1 \$2; +#X obj 505 234 f; +#X msg 483 213 bang; +#X floatatom 521 212 5 100 1000; +#X floatatom 556 234 4 50 500; +#X obj 505 257 pack 0 0; +#X text 566 212 width; +#X text 594 236 height; +#X msg 505 282 \; foo10_rcv vis_size \$1 \$2; +#X msg 275 211 \; foo10_rcv size \$1; +#X text 305 183 selectable size; +#X msg 483 156 \; foo10a_rcv receive foo10_rcv; +#X msg 483 119 \; foo10_rcv receive foo10a_rcv; +#X msg 482 29 \; foo10_rcv send foo10a_snd; +#X msg 482 67 \; foo10_rcv send foo10_snd; +#X msg 509 372 \; foo10_rcv get_pos; +#X obj 510 407 r foo10_snd; +#X obj 510 428 unpack 0 0; +#X floatatom 510 453 4 0 0; +#X floatatom 575 452 4 0 0; +#X text 490 452 x=; +#X text 557 452 y=; +#X obj 52 79 f; +#X msg 29 31 bang; +#X floatatom 68 29 3 0 29; +#X floatatom 103 47 3 0 29; +#X text 96 29 background; +#X text 131 48 label-color; +#X msg 290 25 back; +#X msg 290 49 label; +#X msg 252 25 bang; +#N canvas 15 207 606 448 RGB_____________ 0; +#X obj 97 56 inlet; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X obj 97 270 bang; +#X msg 77 295 0; +#X msg 104 295 1; +#X obj 146 268 bang; +#X msg 132 295 0; +#X msg 160 295 1; +#X obj 265 313 spigot; +#X obj 312 313 spigot; +#X obj 249 385 outlet; +#X text 93 33 select; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 296 385 outlet; +#X obj 28 180 loadbang; +#X obj 296 361 f; +#X obj 249 361 f; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 97 135 route back label bang; +#X obj 235 168 t b b b; +#X connect 0 0 29 0; +#X connect 1 0 25 0; +#X connect 2 0 26 0; +#X connect 3 0 27 0; +#X connect 4 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 11 1; +#X connect 6 0 10 1; +#X connect 7 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 10 1; +#X connect 9 0 11 1; +#X connect 10 0 24 1; +#X connect 11 0 23 1; +#X connect 17 0 18 0; +#X connect 17 1 18 1; +#X connect 18 0 19 0; +#X connect 19 0 20 0; +#X connect 19 1 20 1; +#X connect 20 0 28 0; +#X connect 22 0 6 0; +#X connect 23 0 21 0; +#X connect 24 0 12 0; +#X connect 25 0 20 0; +#X connect 26 0 18 0; +#X connect 27 0 17 0; +#X connect 28 0 11 0; +#X connect 28 0 10 0; +#X connect 29 0 4 0; +#X connect 29 1 7 0; +#X connect 29 2 30 0; +#X connect 30 0 24 0; +#X connect 30 1 23 0; +#X connect 30 2 28 0; +#X restore 290 86 pd RGB_____________; +#X floatatom 332 55 3 0 255; +#X floatatom 375 55 3 0 255; +#X floatatom 418 56 3 0 255; +#X text 39 3 preset-colors; +#X text 301 0 RGB-colors; +#X text 332 37 red; +#X text 368 36 green; +#X text 416 36 blue; +#X obj 52 104 pack 0 0; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 2 0 0 1; +#X connect 3 0 4 1; +#X connect 4 0 30 0; +#X connect 7 0 11 0; +#X connect 8 0 7 0; +#X connect 9 0 7 1; +#X connect 10 0 11 1; +#X connect 11 0 35 0; +#X connect 12 0 16 0; +#X connect 13 0 12 0; +#X connect 14 0 12 1; +#X connect 15 0 16 1; +#X connect 16 0 34 0; +#X connect 21 0 25 0; +#X connect 22 0 21 0; +#X connect 23 0 21 1; +#X connect 24 0 25 1; +#X connect 25 0 31 0; +#X connect 28 0 44 0; +#X connect 36 0 40 0; +#X connect 37 0 36 0; +#X connect 38 0 36 1; +#X connect 39 0 40 1; +#X connect 40 0 43 0; +#X connect 51 0 52 0; +#X connect 52 0 53 0; +#X connect 52 1 54 0; +#X connect 57 0 75 0; +#X connect 58 0 57 0; +#X connect 59 0 57 1; +#X connect 60 0 75 1; +#X connect 63 0 66 0; +#X connect 64 0 66 0; +#X connect 65 0 66 0; +#X connect 66 0 75 0; +#X connect 66 1 75 1; +#X connect 67 0 66 1; +#X connect 68 0 66 2; +#X connect 69 0 66 3; +#X connect 75 0 29 0; +#X restore 305 20 pd edit; +#X floatatom 110 193 4 0 0; +#X floatatom 147 193 4 0 0; +#X text 121 209 x; +#X text 158 209 y; +#X obj 7 161 metro 100; +#X obj 33 141 tgl 15 1 empty empty empty 20 8 0 10 -262144 -1 -1 1 +1; +#X obj 110 145 r from_K1; +#X floatatom 188 194 4 0 0; +#X floatatom 225 194 4 0 0; +#X text 198 210 x; +#X text 236 210 y; +#X obj 188 146 r from_K2; +#X msg 7 185 \; to_K get_pos; +#N canvas 506 290 395 395 room 1; +#X obj 1 1 cnv 1 400 400 empty empty type...ctrl+e 150 140 2 17 -33289 +-24198 0; +#X obj 15 16 cnv 1 1 360 empty empty move_K1_and_K2 115 160 2 17 -166441 +-24198 0; +#X obj 374 15 cnv 1 1 360 empty empty empty 20 12 2 20 -99865 -66577 +0; +#X obj 15 15 cnv 1 360 1 empty empty empty 20 12 2 20 -166441 -66577 +0; +#X obj 17 375 cnv 1 358 1 empty empty empty 20 12 2 20 -99865 -66577 +0; +#X obj 24 24 cnv 25 25 25 from_K1 to_K K1 1 13 194 14 -261681 -123526 +0; +#X obj 342 342 cnv 25 25 25 from_K2 to_K K2 1 13 194 14 -225280 -1109 +0; +#X restore 307 147 pd room; +#X obj 110 169 unpack; +#X obj 188 170 unpack; +#X text 172 257 updated for Pd version 0.34; +#X text 51 92 to modify geometry \, colors \, etc.; +#X obj 2 115 cnv 1 470 1 empty empty empty 20 12 2 20 -261681 -66577 +0; +#X text 40 78 of the light-blue; +#X text 166 78 my_canvas-object \,; +#X text 5 64 click the properties-dialog on the top-left corner; +#X obj 361 195 r foo10_rcv; +#X obj 403 215 s ggg; +#X obj 187 236 x_7_guis aaa bbb ccc ddd eee fff ggg; +#X connect 9 0 17 0; +#X connect 10 0 9 0; +#X connect 11 0 19 0; +#X connect 16 0 20 0; +#X connect 19 0 5 0; +#X connect 19 1 6 0; +#X connect 20 0 12 0; +#X connect 20 1 13 0; +#X connect 27 0 28 0; |