aboutsummaryrefslogtreecommitdiff
path: root/tLine2D-help.pd
blob: 5c90e77f07115aa0a37000a5ae26cf5cfd429d05 (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
#N canvas 437 174 586 578 10;
#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 msg 105 312 setPmax 1;
#X text 219 296 X and Y position of the 2 points defining the line.
;
#X text 217 327 maximum depth of the interaction line.;
#X text 269 14 test line;
#X obj 35 450 tLine2D;
#X floatatom 74 481 5 0 0 0 - - -;
#X floatatom 54 505 5 0 0 0 - - -;
#X floatatom 35 529 5 0 0 0 - - -;
#X text 119 480 speed regarding the distance from the segment;
#X text 96 504 distance from the segment;
#X text 215 378 position of the mass (first outlet of the mass object)
;
#X msg 92 379 position2D 0 0;
#X text 79 528 0/1 according to the position of the mass;
#X text 129 40 This object should be used for testing a mass position.
;
#X text 44 97 message to change parameter / default value / creation
arg number / description;
#X text 195 145 1 : Name;
#X text 195 209 2 : X coordinate of the the 1st point of the line;
#X text 194 232 3 : Y coordinate of the the 1st point of the line;
#X text 194 255 4 : X coordinate of the the 2nd point of the line;
#X text 193 279 5 : Y coordinate of the the 2nd point of the line;
#X text 217 160 this is the name of the mass interacting with this
object. you can also connect the output of this object to a mass to
allow an interaction with this mass.;
#X text 193 312 6 : Maximum depth;
#X text 130 55 It receives mass position \, and outputs 0/1 according
to the mass position (1 if the mass is on a side of the line).;
#X connect 0 0 8 0;
#X connect 1 0 8 0;
#X connect 2 0 8 0;
#X connect 3 0 8 0;
#X connect 4 0 8 0;
#X connect 8 0 11 0;
#X connect 8 1 10 0;
#X connect 8 2 9 0;
#X connect 15 0 8 0;