aboutsummaryrefslogtreecommitdiff
path: root/3dPanTilt.pd
diff options
context:
space:
mode:
Diffstat (limited to '3dPanTilt.pd')
-rw-r--r--3dPanTilt.pd52
1 files changed, 52 insertions, 0 deletions
diff --git a/3dPanTilt.pd b/3dPanTilt.pd
new file mode 100644
index 0000000..f82d0dd
--- /dev/null
+++ b/3dPanTilt.pd
@@ -0,0 +1,52 @@
+#N canvas 0 25 991 658 10;
+#X obj 74 97 inlet;
+#X text 60 68 x y z (target);
+#X obj 107 184 unpack f f f;
+#X obj 176 747 outlet;
+#X obj 468 740 outlet;
+#X obj 448 217 loadbang;
+#X obj 270 528 atan;
+#X obj 270 501 /;
+#X obj 79 132 t l l l;
+#X obj 77 425 loadbang;
+#X obj 232 295 t l l;
+#X obj 230 266 pack;
+#X obj 268 471 swap;
+#X text 172 770 pan;
+#X text 467 759 tilt;
+#X obj 447 244 pack \$1 \$2;
+#X obj 78 452 pack \$1 \$2;
+#X obj 456 339 - \$3;
+#X obj 265 424 t f f;
+#X obj 374 87 inlet;
+#X obj 377 124 t l l l;
+#X msg 490 171 \$3;
+#X obj 282 595 * -57.2958;
+#X obj 225 390 ./2dDistance;
+#X obj -31 492 ./2dAngle;
+#X connect 0 0 8 0;
+#X connect 2 0 11 0;
+#X connect 2 1 11 1;
+#X connect 2 2 17 0;
+#X connect 5 0 15 0;
+#X connect 6 0 22 0;
+#X connect 7 0 6 0;
+#X connect 8 0 2 0;
+#X connect 9 0 16 0;
+#X connect 10 0 24 0;
+#X connect 10 1 23 0;
+#X connect 11 0 10 0;
+#X connect 12 0 7 0;
+#X connect 12 1 7 1;
+#X connect 15 0 23 1;
+#X connect 16 0 24 1;
+#X connect 17 0 12 1;
+#X connect 18 0 12 0;
+#X connect 19 0 20 0;
+#X connect 20 0 16 0;
+#X connect 20 1 15 0;
+#X connect 20 2 21 0;
+#X connect 21 0 17 1;
+#X connect 22 0 4 0;
+#X connect 23 0 18 0;
+#X connect 24 0 3 0;