diff options
Diffstat (limited to 'msd2D/editor/scale-msd2ds.pd')
-rw-r--r-- | msd2D/editor/scale-msd2ds.pd | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/msd2D/editor/scale-msd2ds.pd b/msd2D/editor/scale-msd2ds.pd new file mode 100644 index 0000000..d90c3c2 --- /dev/null +++ b/msd2D/editor/scale-msd2ds.pd @@ -0,0 +1,42 @@ +#N canvas 9 170 970 485 10; +#X obj 43 52 inlet; +#X obj 43 255 outlet; +#X obj 338 50 inlet; +#X obj 338 253 outlet; +#X text 382 50 Y-coord. as in MSD; +#X text 87 52 X-coord. as in MSD; +#X text 99 255 X-coord. as in DS; +#X text 398 253 Y-coord. as in DS; +#X obj 688 336 pack 0 0; +#X obj 688 367 outlet; +#X obj 689 55 unpack 0 0; +#X obj 689 30 inlet; +#X text 725 148 Or use lists: (x \, y); +#X obj 78 164 r MSD-xmin; +#X obj 114 189 r MSD-xmax; +#X obj 149 111 r DS-xmin; +#X obj 185 138 r DS-xmax; +#X obj 444 99 r DS-ymin; +#X obj 480 126 r DS-ymax; +#X obj 373 164 r MSD-ymin; +#X obj 409 189 r MSD-ymax; +#X obj 338 216 expr_scale -2 2 600 0; +#X obj 43 218 expr_scale -2 2 0 600; +#X connect 0 0 22 0; +#X connect 2 0 21 0; +#X connect 8 0 9 0; +#X connect 10 0 22 0; +#X connect 10 1 21 0; +#X connect 11 0 10 0; +#X connect 13 0 22 1; +#X connect 14 0 22 2; +#X connect 15 0 22 3; +#X connect 16 0 22 4; +#X connect 17 0 21 3; +#X connect 18 0 21 4; +#X connect 19 0 21 1; +#X connect 20 0 21 2; +#X connect 21 0 3 0; +#X connect 21 0 8 1; +#X connect 22 0 1 0; +#X connect 22 0 8 0; |