From bdae26678d39c83280ed5e353986705da6f423c5 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 19 Mar 2015 23:06:26 +0000 Subject: Gem 4990e2aec04f67a68fbd2878f4d99bb8042f68fa osx/x86_64 built 'master:4990e2aec04f67a68fbd2878f4d99bb8042f68fa' for osx/x86_64 --- Gem/examples/08.io/02.Tablet.pd | 124 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 Gem/examples/08.io/02.Tablet.pd (limited to 'Gem/examples/08.io/02.Tablet.pd') diff --git a/Gem/examples/08.io/02.Tablet.pd b/Gem/examples/08.io/02.Tablet.pd new file mode 100644 index 0000000..c633ee7 --- /dev/null +++ b/Gem/examples/08.io/02.Tablet.pd @@ -0,0 +1,124 @@ +#N canvas 308 107 688 553 10; +#X msg 197 266 bang; +#X obj 375 326 spigot; +#X floatatom 448 437 0 0 0; +#X obj 12 444 gemwin; +#X msg 26 150 create; +#X obj 197 299 gemhead; +#X msg 38 179 destroy; +#X msg 63 227 1; +#X msg 70 251 0; +#X floatatom 375 438 0 0 0; +#X obj 197 358 translateXYZ; +#X obj 375 382 - 1; +#X obj 375 410 * 4; +#X obj 448 321 spigot; +#X text 120 71 x pos; +#X text 171 73 y pos; +#X obj 400 103 gemtablet; +#X msg 61 321 bang; +#X obj 197 439 alpha; +#X text 114 55 the outputs of gemtablet are:; +#X text 229 75 pressure; +#X text 298 76 azimuth; +#X text 364 75 altitude; +#X text 439 75 twist; +#X text 114 26 Be aware that your tablet might not have all of the +rotation variables.; +#X obj 266 160 / 90; +#X obj 197 329 colorRGB 1 0 0; +#X obj 375 354 / 200; +#X obj 448 352 / 200; +#X obj 448 381 - 1; +#X obj 448 409 * -4; +#X text 117 7 this demonstrates how to use gemtablet; +#X obj 400 265 s xPos; +#X obj 409 238 s yPos; +#X obj 375 295 r xPos; +#X obj 447 294 r yPos; +#X obj 458 139 s lBut; +#X obj 501 290 r lBut; +#X obj 419 213 s press; +#X obj 234 492 r press; +#X obj 290 280 r press; +#X obj 429 187 s azimuth; +#X obj 438 162 s altitude; +#X obj 236 385 r azimuth; +#X obj 266 132 r altitude; +#X text 45 298 clear screen; +#X obj 197 408 rotate 0 0 1; +#X obj 197 518 square; +#X obj 197 471 scaleXYZ 1 0.05 1; +#X obj 219 190 t b f; +#X obj 220 241 - 1; +#X msg 219 215 1; +#X obj 290 303 / 6; +#X text 527 74 middle; +#X text 488 75 left; +#X text 581 74 right; +#X obj 514 140 s mBut; +#X obj 570 139 s rBut; +#X obj 553 289 r mBut; +#X obj 605 289 r rBut; +#N canvas 421 80 290 179 Gem.init 0; +#X obj 83 30 loadbang; +#X msg 161 76 reset; +#X obj 45 146 outlet; +#X obj 88 51 t b b; +#X msg 45 75 dimen 400 400; +#X msg 90 114 buffer 1; +#X connect 0 0 3 0; +#X connect 1 0 2 0; +#X connect 3 0 4 0; +#X connect 3 0 5 0; +#X connect 3 1 1 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X restore 61 417 pd Gem.init; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 1 0 27 0; +#X connect 2 0 10 2; +#X connect 4 0 3 0; +#X connect 5 0 26 0; +#X connect 6 0 3 0; +#X connect 7 0 3 0; +#X connect 8 0 3 0; +#X connect 9 0 10 1; +#X connect 10 0 46 0; +#X connect 11 0 12 0; +#X connect 12 0 9 0; +#X connect 13 0 28 0; +#X connect 16 0 32 0; +#X connect 16 1 33 0; +#X connect 16 2 38 0; +#X connect 16 3 41 0; +#X connect 16 4 42 0; +#X connect 16 6 36 0; +#X connect 16 7 56 0; +#X connect 16 8 57 0; +#X connect 17 0 3 0; +#X connect 18 0 48 0; +#X connect 25 0 49 0; +#X connect 25 0 26 3; +#X connect 26 0 10 0; +#X connect 27 0 11 0; +#X connect 28 0 29 0; +#X connect 29 0 30 0; +#X connect 30 0 2 0; +#X connect 34 0 1 0; +#X connect 35 0 13 0; +#X connect 37 0 13 1; +#X connect 37 0 1 1; +#X connect 39 0 47 1; +#X connect 40 0 52 0; +#X connect 43 0 46 1; +#X connect 44 0 25 0; +#X connect 46 0 18 0; +#X connect 48 0 47 0; +#X connect 49 0 51 0; +#X connect 49 1 50 1; +#X connect 50 0 26 1; +#X connect 51 0 50 0; +#X connect 52 0 26 4; +#X connect 60 0 3 0; -- cgit v1.2.1