aboutsummaryrefslogtreecommitdiff
path: root/puremapping/pmattractor_3d.pd
blob: df0341ca134e161e41f06658021852c5494788a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#N canvas 1142 241 697 573 10;
#X obj 31 34 inlet;
#X obj 76 286 loadbang;
#X obj 31 511 outlet;
#X obj 76 312 pack \$1 \$2;
#X obj 341 24 inlet;
#X msg 341 71 setK lnk \$1;
#X obj 434 25 inlet;
#X msg 434 71 setD lnk \$1;
#X msg 276 246 bang \, get massesPos out \, get massesForces out;
#X obj 140 512 outlet;
#X obj 31 459 route massesPosId massesForcesId;
#X obj 156 281 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 209 217 forceX out \$1 \, forceY out \$2 \, forceZ out \$3;
#X msg 31 112 posX grab \$1;
#X msg 145 192 setK lgrab \$1;
#X msg 70 136 posY grab \$1;
#X obj 31 55 route grab grab_on force bang;
#X obj 31 88 unpack f f f;
#X msg 111 159 posZ grab \$1;
#X msg 76 338 reset \, mass border 0 1 -1 0 0 \, mass border 0 1 1
0 0 \, mass border 0 1 0 -1 0 \, mass border 0 1 0 1 0 \, mass border
0 1 0 0 1 \, mass border 0 1 0 0 -1 \, mass out 1 1 0 0 0 \, link lnk
border out \$1 \$2 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0
0;
#X obj 31 437 pmpd3d;
#X obj 31 483 route 6;
#X obj 140 484 route 6;
#X connect 0 0 16 0;
#X connect 1 0 3 0;
#X connect 3 0 19 0;
#X connect 4 0 5 0;
#X connect 5 0 20 0;
#X connect 6 0 7 0;
#X connect 7 0 20 0;
#X connect 8 0 20 0;
#X connect 10 0 21 0;
#X connect 10 1 22 0;
#X connect 11 0 3 0;
#X connect 12 0 20 0;
#X connect 13 0 20 0;
#X connect 14 0 20 0;
#X connect 15 0 20 0;
#X connect 16 0 17 0;
#X connect 16 1 14 0;
#X connect 16 2 12 0;
#X connect 16 3 8 0;
#X connect 17 0 13 0;
#X connect 17 1 15 0;
#X connect 17 2 18 0;
#X connect 18 0 20 0;
#X connect 19 0 20 0;
#X connect 20 0 10 0;
#X connect 21 0 2 0;
#X connect 22 0 9 0;