aboutsummaryrefslogtreecommitdiff
path: root/msd3D/05_msd3Dvline.pd
diff options
context:
space:
mode:
Diffstat (limited to 'msd3D/05_msd3Dvline.pd')
-rw-r--r--msd3D/05_msd3Dvline.pd224
1 files changed, 122 insertions, 102 deletions
diff --git a/msd3D/05_msd3Dvline.pd b/msd3D/05_msd3Dvline.pd
index d0893c7..632d238 100644
--- a/msd3D/05_msd3Dvline.pd
+++ b/msd3D/05_msd3Dvline.pd
@@ -1,34 +1,56 @@
-#N canvas 799 61 800 658 10;
+#N canvas 711 237 465 154 10;
+#N canvas 530 297 450 300 gem 0;
+#X obj 101 220 gemwin;
+#X msg 120 102 0 \, destroy;
+#X obj 13 211 gemhead;
+#X obj 13 234 world_light;
+#X msg 101 80 reset \, dimen 800 800 \, create \, lighting 1 \, 1;
+#X obj 101 17 inlet;
+#X obj 101 47 sel 1 0;
+#X msg 219 156 view 0 0 11 0 0 0 1 0 0;
+#X connect 1 0 0 0;
+#X connect 2 0 3 0;
+#X connect 4 0 0 0;
+#X connect 4 0 7 0;
+#X connect 5 0 6 0;
+#X connect 6 0 4 0;
+#X connect 6 1 1 0;
+#X connect 7 0 0 0;
+#X restore 14 85 pd gem;
+#X obj 14 62 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+;
+#X text 33 60 gem on/off;
+#N canvas 0 22 563 316 creation 0;
#X obj 32 13 loadbang;
-#X obj 457 430 gemwin;
-#X msg 457 408 0 \, destroy;
-#X obj 288 577 gemhead;
-#X obj 288 599 world_light;
-#X obj 146 205 t a;
-#X obj 146 16 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262131 -1
--1;
#X msg 204 68 reset;
-#X obj 33 179 gemhead;
#X msg 204 88 symbol reset;
-#X obj 33 497 msd3D --------------------------------;
#X obj 146 42 t b b b b;
-#X msg 296 393 forceZ filet \$1;
-#X obj 444 207 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 1
-1;
-#X obj 444 258 f;
-#X obj 444 234 metro 65;
-#X msg 457 327 reset \, dimen 800 800 \, create \, lighting 1 \, 1
-;
-#X obj 421 221 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262131
--1 -1 10000 1;
-#X obj 206 315 sin;
-#X obj 206 335 *;
-#X obj 206 255 counter 0 360;
-#X obj 206 204 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 1
-1;
-#X obj 206 275 / 3.6;
-#X obj 206 295 * 6.28319;
-#X obj 206 232 metro 35;
+#X msg 165 139 setFixed 0 \, setFixed 29 \, setFixed 420 \, setFixed
+449;
+#X obj 184 115 filet -3.2 -3.2 0.22068 0.45714 15 30;
+#X msg 146 173 Xmax 4 \, Xmin -4 \, Ymax 4 \, Ymin -4 \, Zmax 9 \,
+Zmin -6;
+#X obj 146 205 s \$0-msdin;
+#X obj 147 19 inlet;
+#X connect 0 0 3 0;
+#X connect 1 0 7 0;
+#X connect 2 0 5 1;
+#X connect 3 0 6 0;
+#X connect 3 1 4 0;
+#X connect 3 2 5 0;
+#X connect 3 3 1 0;
+#X connect 3 3 2 0;
+#X connect 4 0 7 0;
+#X connect 5 0 7 0;
+#X connect 6 0 7 0;
+#X connect 8 0 3 0;
+#X restore 14 38 pd creation;
+#X text 34 17 reset;
+#X obj 14 20 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#N canvas 0 22 450 300 compute 0;
+#X obj 33 23 gemhead;
+#X obj 33 201 msd3D --------------------------------;
#N canvas 646 294 504 533 getmmasses 0;
#X obj 154 13 inlet;
#X obj 152 238 outlet;
@@ -45,9 +67,7 @@
#X connect 4 0 3 1;
#X connect 5 0 3 1;
#X connect 6 0 3 0;
-#X restore 51 364 pd getmmasses;
-#X obj 183 219 vsl 15 128 0 30 0 0 empty empty empty 0 -8 0 8 -262131
--1 -1 5000 1;
+#X restore 60 116 pd getmmasses;
#N canvas 259 464 942 390 massrender 0;
#X obj 286 2 inlet;
#X obj 306 144 pack f f f f;
@@ -115,75 +135,75 @@
#X connect 12 0 4 0;
#X connect 13 0 14 0;
#X connect 14 0 12 0;
-#X restore 33 565 pd massrender;
-#X msg 165 139 setFixed 0 \, setFixed 29 \, setFixed 420 \, setFixed
-449;
-#X text 459 113 Filet abstraction : x0 y0 stepx stepy ny nx;
-#X text 483 206 <-- Add constant force;
-#X text 240 204 <-- Add sinus force;
-#X obj 457 348 t b;
-#X text 179 18 Reset;
-#X obj 184 115 filet -3.2 -3.2 0.22068 0.45714 15 30;
-#X msg 327 449 setK fil 20;
-#X obj 104 93 s resban;
-#X msg 425 449 setK fil 10;
-#X text 528 458 Change physical parameters of links;
-#X msg 457 388 view 0 0 5 0 0 0 1 0 0;
-#X text 624 390 <-- Zoom in;
-#X msg 51 388 get massesPos \$1;
-#X msg 146 173 Xmax 4 \, Xmin -4 \, Ymax 4 \, Ymin -4 \, Zmax 9 \,
-Zmin -6;
-#X msg 457 369 view 0 0 11 0 0 0 1 0 0;
-#X obj 33 257 t b b;
-#X msg 29 323 bang;
-#X text 154 365 Get masses in order;
-#X obj 33 539 route massesPosNo;
-#X msg 425 468 setD fil 25;
-#X msg 326 468 setD fil 2;
-#X connect 0 0 11 0;
-#X connect 2 0 1 0;
-#X connect 3 0 4 0;
-#X connect 5 0 10 0;
-#X connect 6 0 11 0;
-#X connect 7 0 5 0;
-#X connect 8 0 44 0;
-#X connect 9 0 34 1;
-#X connect 10 0 47 0;
-#X connect 11 0 42 0;
-#X connect 11 1 28 0;
-#X connect 11 2 34 0;
-#X connect 11 3 7 0;
-#X connect 11 3 9 0;
-#X connect 12 0 10 0;
-#X connect 13 0 15 0;
-#X connect 14 0 12 0;
-#X connect 15 0 14 0;
-#X connect 16 0 1 0;
-#X connect 16 0 32 0;
-#X connect 17 0 14 1;
-#X connect 18 0 19 0;
-#X connect 19 0 12 0;
-#X connect 20 0 22 0;
-#X connect 21 0 24 0;
-#X connect 22 0 23 0;
-#X connect 23 0 18 0;
-#X connect 24 0 20 0;
-#X connect 25 0 41 0;
-#X connect 26 0 19 1;
-#X connect 28 0 5 0;
-#X connect 32 0 43 0;
-#X connect 34 0 5 0;
-#X connect 35 0 10 0;
-#X connect 37 0 10 0;
-#X connect 39 0 1 0;
-#X connect 41 0 10 0;
-#X connect 42 0 5 0;
-#X connect 43 0 1 0;
-#X connect 44 0 25 0;
-#X connect 44 0 45 0;
-#X connect 44 1 25 0;
-#X connect 44 1 45 0;
-#X connect 45 0 10 0;
-#X connect 47 0 27 0;
-#X connect 48 0 10 0;
-#X connect 49 0 10 0;
+#X restore 33 253 pd massrender;
+#X msg 60 140 get massesPos \$1;
+#X obj 33 47 t b b;
+#X msg 33 75 bang;
+#X text 154 155 Get masses in order;
+#X obj 33 227 route massesPosNo;
+#X obj 60 162 r \$0-msdin;
+#X connect 0 0 5 0;
+#X connect 1 0 8 0;
+#X connect 2 0 4 0;
+#X connect 4 0 1 0;
+#X connect 5 0 2 0;
+#X connect 5 0 6 0;
+#X connect 5 1 2 0;
+#X connect 5 1 6 0;
+#X connect 6 0 1 0;
+#X connect 8 0 3 0;
+#X connect 9 0 1 0;
+#X restore 14 106 pd compute;
+#N canvas 0 22 450 300 sinus 0;
+#X msg 206 243 forceZ filet \$1;
+#X obj 116 165 sin;
+#X obj 116 185 *;
+#X obj 116 105 counter 0 360;
+#X obj 116 54 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 0 0.23622
+;
+#X obj 116 125 / 3.6;
+#X obj 116 145 * 6.28319;
+#X obj 116 82 metro 35;
+#X obj 93 69 vsl 15 128 0 30 0 0 empty empty empty 0 -8 0 8 -262131
+-1 -1 0 1;
+#X text 64 215 Get masses in order;
+#X obj 206 264 s \$0-msdin;
+#X obj 163 51 inlet;
+#X connect 0 0 10 0;
+#X connect 1 0 2 0;
+#X connect 2 0 0 0;
+#X connect 3 0 5 0;
+#X connect 4 0 7 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 3 0;
+#X connect 8 0 4 0;
+#X connect 11 0 2 1;
+#X connect 11 0 4 0;
+#X restore 150 106 pd sinus;
+#X obj 153 85 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X text 149 66 add sinusoidal force;
+#X text 290 67 add constant force;
+#N canvas 0 22 450 300 constant 0;
+#X msg 176 111 forceZ filet \$1;
+#X obj 176 33 tgl 20 0 empty empty empty 0 -6 0 8 -262131 -1 -1 0 1
+;
+#X obj 176 84 f;
+#X obj 176 60 metro 65;
+#X obj 176 132 s \$0-msdin;
+#X obj 225 28 inlet;
+#X connect 0 0 4 0;
+#X connect 1 0 3 0;
+#X connect 2 0 0 0;
+#X connect 3 0 2 0;
+#X connect 5 0 1 0;
+#X connect 5 0 2 1;
+#X restore 292 105 pd constant;
+#X obj 295 85 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 0 1;
+#X text 151 26 vertical lines under various forces;
+#X connect 1 0 0 0;
+#X connect 5 0 3 0;
+#X connect 8 0 7 0;
+#X connect 12 0 11 0;