From 8faa0fd4a2af762d54e3b9c2da3cd8e721bc20f3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 4 Sep 2010 00:55:40 +0000 Subject: added Greg Shakar's multitouch example svn path=/trunk/externals/apple/; revision=13971 --- examples/getfingerxy.pd | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 examples/getfingerxy.pd (limited to 'examples/getfingerxy.pd') diff --git a/examples/getfingerxy.pd b/examples/getfingerxy.pd new file mode 100644 index 0000000..617c529 --- /dev/null +++ b/examples/getfingerxy.pd @@ -0,0 +1,39 @@ +#N canvas 789 244 476 427 10; +#X obj 45 46 inlet; +#X obj 45 116 unpack 0 0 0 0 0 0 0 0 0 0 0 0; +#X obj 125 350 outlet; +#X obj 248 332 outlet; +#X obj 51 84 route \$1; +#X msg 184 65 \$5; +#X floatatom 192 89 5 0 0 0 - - -; +#X floatatom 69 163 5 0 0 0 - - -; +#X floatatom 127 154 5 0 0 0 - - -; +#X floatatom 56 311 5 0 0 0 - - -; +#X floatatom 277 301 5 0 0 0 - - -; +#X obj 254 265 expr ((1-$f1) * 200) - \$3; +#X obj 55 258 expr (($f1*1.43) * 200) + \$2; +#X obj 288 178 delay 100; +#X obj 284 148 bang; +#X obj 389 209 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 422 318 outlet; +#X obj 373 35 inlet; +#X obj 419 244 spigot; +#X connect 0 0 4 0; +#X connect 1 4 7 0; +#X connect 1 4 12 0; +#X connect 1 4 14 0; +#X connect 1 5 8 0; +#X connect 1 5 11 0; +#X connect 4 0 1 0; +#X connect 4 0 5 0; +#X connect 5 0 6 0; +#X connect 11 0 3 0; +#X connect 11 0 10 0; +#X connect 12 0 2 0; +#X connect 12 0 9 0; +#X connect 13 0 15 0; +#X connect 14 0 13 0; +#X connect 15 0 18 0; +#X connect 17 0 18 1; +#X connect 18 0 16 0; -- cgit v1.2.1