aboutsummaryrefslogtreecommitdiff
path: root/2dAngle-help.pd
diff options
context:
space:
mode:
Diffstat (limited to '2dAngle-help.pd')
-rw-r--r--2dAngle-help.pd87
1 files changed, 87 insertions, 0 deletions
diff --git a/2dAngle-help.pd b/2dAngle-help.pd
new file mode 100644
index 0000000..9047adf
--- /dev/null
+++ b/2dAngle-help.pd
@@ -0,0 +1,87 @@
+#N canvas 105 259 694 498 10;
+#X declare -lib Gem;
+#X floatatom 21 214 5 0 0 0 - - -;
+#X msg 21 109 0 1;
+#X msg 108 108 9 5;
+#X msg 139 108 1 0;
+#X msg 55 109 -2 6;
+#X text 18 86 Target point.;
+#X text 106 86 Reference point.;
+#X text 68 212 Angle in degrees.;
+#X msg 171 108 0 -1;
+#X text 250 85 -- GEM EXAMPLE --;
+#X obj 257 342 circle 0.3;
+#X obj 257 314 colorRGB 1 0 0;
+#X obj 313 233 cos;
+#X obj 368 234 sin;
+#X floatatom 313 255 5 0 0 0 - - -;
+#X floatatom 368 256 5 0 0 0 - - -;
+#X obj 367 206 t f f;
+#X obj 417 284 pack;
+#X floatatom 417 355 5 0 0 0 - - -;
+#X obj 366 354 gemhead;
+#X obj 366 454 curve 2;
+#X msg 385 429 0 0 0;
+#X msg 426 428 1 0 0;
+#X obj 366 380 rotateXYZ;
+#X obj 367 134 metro 1000;
+#X obj 367 112 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 367 91 loadbang;
+#X obj 385 401 loadbang;
+#X text 409 256 x y position of red circle.;
+#X text 426 331 angle between 0 0 and x y of circle;
+#X msg 510 206 3;
+#X msg 510 182 4;
+#X msg 509 159 6;
+#X msg 511 228 0.1;
+#X msg 253 108 1;
+#X msg 285 108 0;
+#X obj 12 10 cnv 15 380 60 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X text 17 52 tags: 2d;
+#X text 17 13 Description: Returns the angle in degrees between two
+2d points.;
+#X obj 253 134 mtl/gemsWin;
+#X obj 21 171 mtl/2dAngle;
+#X obj 417 307 mtl/2dAngle;
+#X obj 367 159 mtl/randomFloat 0 6;
+#X obj 612 11 import Gem;
+#X obj 257 254 gemhead;
+#X obj 257 287 translateXYZ 0 0 0;
+#X connect 1 0 40 0;
+#X connect 2 0 40 1;
+#X connect 3 0 40 1;
+#X connect 4 0 40 0;
+#X connect 8 0 40 1;
+#X connect 11 0 10 0;
+#X connect 12 0 14 0;
+#X connect 13 0 15 0;
+#X connect 14 0 17 0;
+#X connect 14 0 45 1;
+#X connect 15 0 17 1;
+#X connect 15 0 45 2;
+#X connect 16 0 12 0;
+#X connect 16 1 13 0;
+#X connect 17 0 41 0;
+#X connect 18 0 23 3;
+#X connect 19 0 23 0;
+#X connect 21 0 20 1;
+#X connect 22 0 20 2;
+#X connect 23 0 20 0;
+#X connect 24 0 42 0;
+#X connect 25 0 24 0;
+#X connect 26 0 25 0;
+#X connect 27 0 21 0;
+#X connect 27 0 22 0;
+#X connect 30 0 16 0;
+#X connect 31 0 16 0;
+#X connect 32 0 16 0;
+#X connect 33 0 16 0;
+#X connect 34 0 39 0;
+#X connect 35 0 39 0;
+#X connect 40 0 0 0;
+#X connect 41 0 18 0;
+#X connect 42 0 16 0;
+#X connect 44 0 45 0;
+#X connect 45 0 11 0;