aboutsummaryrefslogtreecommitdiff
path: root/examples/getfingerxy.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-04 00:55:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-04 00:55:40 +0000
commit8faa0fd4a2af762d54e3b9c2da3cd8e721bc20f3 (patch)
treea77cdc447da980638b336e204326e41d981ef873 /examples/getfingerxy.pd
parent68fcf7960caf5646fdfa7c401cd618dcf6638ffc (diff)
added Greg Shakar's multitouch example
svn path=/trunk/externals/apple/; revision=13971
Diffstat (limited to 'examples/getfingerxy.pd')
-rw-r--r--examples/getfingerxy.pd39
1 files changed, 39 insertions, 0 deletions
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;