aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/inv+-help.pd
blob: e0d6bcdcd9983271dbdd76dc108d1db3126be073 (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 698 0 510 655 10;
#X obj 1 438 cnv 15 500 17 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 7 329 FLOAT;
#X obj 1 280 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 1 303 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 215 440 Outlets (1);
#X obj 1 521 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 210 520 Arguments (1);
#X obj 1 371 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 1 459 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 6 394 FLOAT;
#X text 398 1 GridFlow 0.8.4;
#X text 2 304 Inlet 0;
#X text 2 373 Inlet 1;
#X text 221 281 Inlets (2);
#X text 2 460 Outlet 0;
#X obj 1 0 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 398 2 GridFlow 0.8.4;
#X obj 219 121 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 288 163 negative;
#X obj 219 163 #in;
#X obj 263 164 tgl 15 0 empty empty empty 0 -6 0 8 -260818 -1 -1 0
1;
#X obj 219 82 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1
;
#X obj 219 185 shunt 2;
#X text 369 140 image loader;
#X msg 219 139 open r001.jpg \, bang;
#X obj 219 101 metro 33.3667;
#X obj 219 238 #out window \, title inv+;
#X text 349 221 Outputs negated image;
#X text 68 221 Outputs initial image;
#X obj 331 192 hsl 128 8 0 255 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 6000 1;
#X text 10 548 FLOAT;
#X text 62 396 A float in inlet 1 is stored as the value "b" to perform
the "b-a" operation.;
#X text 62 330 A float in inlet 1 is stored as the value "a" to perform
the "b-a" operation.;
#X obj 1 590 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 216 592 See also;
#X obj 105 616 swap;
#X obj 105 616 swap;
#X obj 9 0 inv+;
#X text 62 548 [inv+] accepts a single float as a creation argument
which initializes the first value to perform the operation with.;
#X obj 12 616 inv*;
#X text 9 24 The [inv+] performs an inversion on the data passed to
it. If you consider inlet 0 as the variable "a" and inlet 1 as variable
"b" \, [inv+] performs the operation "b-a" on the values passed to
it.;
#X floatatom 34 102 5 0 0 0 - - -;
#X floatatom 57 119 5 0 0 0 - - -;
#X floatatom 34 176 5 0 0 0 - - -;
#X text 323 78 Another application inv+ as a numerical operator of
the Grid object;
#X obj 52 616 # inv+;
#X obj 264 211 cnv 15 72 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X obj 33 144 cnv 15 30 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X obj 34 144 inv+;
#X obj 263 211 # inv+ 255;
#X text 11 483 FLOAT;
#X text 64 485 Outputs the result of the operation "b-a".;
#X floatatom 105 104 5 0 0 0 - - -;
#X floatatom 149 121 5 0 0 0 - - -;
#X floatatom 105 178 5 0 0 0 - - -;
#X obj 105 145 cnv 15 50 17 empty empty empty 20 12 0 14 -241291 -66577
0;
#X obj 105 145 inv+ 10;
#X connect 17 0 24 0;
#X connect 19 0 22 0;
#X connect 20 0 22 1;
#X connect 21 0 25 0;
#X connect 22 0 26 0;
#X connect 22 1 49 0;
#X connect 24 0 19 0;
#X connect 25 0 17 0;
#X connect 29 0 49 1;
#X connect 41 0 48 0;
#X connect 42 0 48 1;
#X connect 48 0 43 0;
#X connect 49 0 26 0;
#X connect 52 0 56 0;
#X connect 53 0 56 1;
#X connect 56 0 54 0;