aboutsummaryrefslogtreecommitdiff
path: root/tSeg2D-help.pd
blob: 97f573e7205dc9036101cd90b0ac8e982e2e66d2 (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
#N canvas 36 81 579 593 10;
#X text 270 16 test segment;
#X text 175 146 1 : name;
#X text 121 113 message to change parametter / default value / creation
arg number / description;
#X text 196 164 this is the name of the mass interacting with this
object. you can also conect the output of this object to a mass \,
to allow an interaction with this mass.;
#X msg 104 233 setY1 0;
#X msg 105 279 setY2 0;
#X msg 103 208 setX1 -1;
#X msg 104 256 setX2 1;
#X text 174 208 2 : X coordonate of the the 1st point of the line;
#X text 174 232 3 : Y coordonate of the the 1st point of the line;
#X text 174 255 4 : X coordonate of the the 2nd point of the line;
#X text 174 279 5 : Y coordonate of the the 2nd point of the line;
#X msg 105 312 setPmax 1;
#X text 199 296 X and Y position of the 2 points defining the line.
;
#X text 197 327 maximum depth of the interaction line.;
#X text 173 312 6 : maximum depth;
#X floatatom 66 481 5 0 0 0 - - -;
#X floatatom 66 481 5 0 0 0 - - -;
#X floatatom 50 505 5 0 0 0 - - -;
#X floatatom 35 529 5 0 0 0 - - -;
#X text 172 479 speed regarding the distance from the segment;
#X text 171 504 distance from the segment;
#X text 195 378 position of the mass (first outlet of the mass object)
;
#X msg 92 379 position2D 0 0;
#X obj 35 450 tSeg2D;
#X text 129 40 This object sould be used for testing a mass position.
;
#X text 129 56 It receive a mass position \, and output 0/1 according
to the mass position (1 if the mass is on a side of the line);
#X text 171 530 0/1 according to the position of the mass;
#X connect 4 0 24 0;
#X connect 5 0 24 0;
#X connect 6 0 24 0;
#X connect 7 0 24 0;
#X connect 12 0 24 0;
#X connect 23 0 24 0;
#X connect 24 0 19 0;
#X connect 24 1 18 0;
#X connect 24 2 17 0;