aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2015-07-28 10:09:38 +0000
committerN.N. <nimon@users.sourceforge.net>2015-07-28 10:09:38 +0000
commit3b83adbcc7204632814705b2f15d2ac7a4cc6644 (patch)
tree80f51fcede40b1169851d7a4a59b3b25991a7091 /examples
parent33615ea88d1d44a04252347fdf28983116a365e0 (diff)
change radian -> degree
svn path=/trunk/externals/pmpd/; revision=17507
Diffstat (limited to 'examples')
-rw-r--r--examples/68_2d_hinge.pd46
1 files changed, 25 insertions, 21 deletions
diff --git a/examples/68_2d_hinge.pd b/examples/68_2d_hinge.pd
index a901298..ea1285f 100644
--- a/examples/68_2d_hinge.pd
+++ b/examples/68_2d_hinge.pd
@@ -1,9 +1,8 @@
#N canvas 640 304 796 716 10;
-#X obj 31 576 pmpd2d;
#X msg 99 332 setK hinge \$1;
#X msg 129 384 setD hinge \$1;
-#X floatatom 99 308 5 0 0 0 - - -, f 5;
-#X floatatom 129 361 5 0 0 0 - - -, f 5;
+#X floatatom 99 308 5 0 0 0 - - -;
+#X floatatom 129 361 5 0 0 0 - - -;
#N canvas 986 544 784 467 gemrender 0;
#X obj 48 243 translateXYZ;
#X obj 48 269 sphere 0.1;
@@ -65,8 +64,8 @@
#X obj 154 628 print;
#X msg 42 47 0 \, destroy;
#X msg 32 23 reset \, create \, 1;
-#X msg 229 446 setL hinge \$1;
-#X floatatom 229 424 5 0 0 0 - - -, f 5;
+#X msg 232 446 setL hinge \$1;
+#X floatatom 232 364 5 0 0 0 - - -;
#X msg 31 146 reset \, mass fix 0 1 -1 0 \, mass fix 0 1 1 0 \, mass
mvt 1 1 3 1 \, hinge hinge 0 1 2 0.1 0.1 \, link L 1 0 0.5 0.3 \, link
L 1 2 0.5 0.3;
@@ -86,22 +85,27 @@ an angle between them;
#X text 429 205 2 moving masses;
#X text 445 257 3 moving masses;
#X obj 46 530 gemhead 66;
-#X text 271 425 angle (in radian);
-#X connect 0 0 15 0;
-#X connect 1 0 0 0;
+#X obj 31 576 ../pmpd2d;
+#X obj 232 393 / 360;
+#X obj 232 417 * 6.28;
+#X text 282 361 angle (in degree);
+#X connect 0 0 22 0;
+#X connect 1 0 22 0;
#X connect 2 0 0 0;
#X connect 3 0 1 0;
-#X connect 4 0 2 0;
-#X connect 7 0 16 0;
-#X connect 8 0 16 0;
-#X connect 9 0 0 0;
-#X connect 10 0 9 0;
-#X connect 11 0 0 0;
-#X connect 12 0 0 0;
-#X connect 13 0 0 0;
-#X connect 14 0 0 0;
-#X connect 15 0 5 0;
-#X connect 15 1 5 1;
-#X connect 15 2 6 0;
-#X connect 17 0 11 0;
+#X connect 6 0 15 0;
+#X connect 7 0 15 0;
+#X connect 8 0 22 0;
+#X connect 9 0 23 0;
+#X connect 10 0 22 0;
+#X connect 11 0 22 0;
+#X connect 12 0 22 0;
+#X connect 13 0 22 0;
+#X connect 14 0 4 0;
+#X connect 14 1 4 1;
+#X connect 14 2 5 0;
+#X connect 16 0 10 0;
+#X connect 21 0 13 0;
#X connect 22 0 14 0;
+#X connect 23 0 24 0;
+#X connect 24 0 8 0;