aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#for-help.pd
blob: 72513fbba973dac9d4bc4ef7676690b6e2964a7a (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#N canvas 694 0 506 928 10;
#X floatatom 13 227 5 0 0 0 - - -;
#X floatatom 45 249 5 0 0 0 - - -;
#X floatatom 78 270 5 0 0 0 - - -;
#X obj 13 365 #print;
#X obj 0 2 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 10 659 cnv 15 500 17 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 8 415 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 8 438 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 219 661 Outlets (1);
#X obj 9 757 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 8 512 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 10 680 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 15 704 GRID;
#X obj 7 3 #for 0 320 1;
#X obj 33 332 display;
#X text 210 417 Inlets (3);
#X text 213 758 Arguments (3);
#X obj 9 586 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 14 587 Inlet 2;
#X text 13 514 Inlet 1;
#X text 13 439 Inlet 0;
#X obj 9 786 cnv 15 80 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 13 787 Argument 0;
#X obj 8 852 cnv 15 80 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 8 908 cnv 15 80 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 12 853 Argument 1;
#X text 12 909 Argument 2;
#X obj 15 297 cnv 15 70 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X text 119 270 <-- step value;
#X text 90 247 <-- upper bound;
#X text 60 224 <-- lower bound;
#X obj 13 297 #for 0 8 1;
#X obj 264 364 #print;
#X obj 284 334 display;
#X obj 266 303 cnv 15 70 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X msg 264 228 0 0;
#X msg 329 276 1 1;
#X obj 264 303 #for 0 8 1;
#X msg 296 253 4 4;
#X text 11 814 INTEGER;
#X text 11 875 INTEGER;
#X text 11 935 INTEGER;
#X text 14 681 Outlet 0;
#X text 105 875 Upper bound;
#X text 106 935 Step value;
#X text 106 815 Lower bound. As with the other arguments \, they are
overwritten when another value is given.;
#X text 11 488 LIST;
#X text 374 276 <-- step value (1);
#X text 343 252 <-- upper bound (2);
#X text 309 227 <-- lower bound (3);
#X text 26 38 When given scalar bounds \, works like a regular [for]
object plugged to a [#import] tuned for a Dim(size) where size is the
number of values produced by a bang to that [for].;
#X text 26 84 When given vector bounds \, will work like any number
of [for] objects producing all possible combinations of their values
in the proper order.;
#X text 35 193 scalar bounds;
#X text 303 196 vector bounds;
#X text 9 465 INTEGER;
#X text 74 466 Sets the lower bound;
#X text 11 558 LIST;
#X text 9 535 INTEGER;
#X text 74 536 Sets the upper bound;
#X text 11 634 LIST;
#X text 9 611 INTEGER;
#X text 74 612 Sets the step value;
#X text 76 707 The result of the operation is a single dimension grid
in the case of scalar values and variable dimensions for vectors.;
#X text 27 137 Syntax: #for <from> <to> <step> outlet: grid dim(size)
where size = floor(to-from+1)/step.;
#X text 391 3 GridFlow 0.9.0;
#X connect 0 0 31 0;
#X connect 1 0 31 1;
#X connect 2 0 31 2;
#X connect 31 0 14 0;
#X connect 31 0 3 0;
#X connect 35 0 37 0;
#X connect 36 0 37 2;
#X connect 37 0 33 0;
#X connect 37 0 32 0;
#X connect 38 0 37 1;