blob: 0b4af9862cccffa5c6891e79b4d3a56c2f516563 (
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 602 28 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 obj 219 163 #in;
#X obj 263 164 tgl 15 0 empty empty empty 0 -6 0 8 -260818 -1 -1 1
1;
#X obj 219 82 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 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 338 192 hsl 128 8 1000 65000 0 0 empty empty empty -2 -6 0 8
-262144 -1 -1 1600 1;
#X text 10 548 FLOAT;
#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 floatatom 34 102 5 0 0 0 - - -;
#X floatatom 57 120 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 263 210 cnv 15 80 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 text 11 483 FLOAT;
#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 9 0 inv*;
#X obj 105 145 inv* 10;
#X obj 34 144 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 obj 52 616 # inv*;
#X text 8 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 text 62 330 A float in inlet 1 is stored as the value "a" to perform
the "b/a" operation.;
#X text 62 396 A float in inlet 1 is stored as the value "b" to perform
the "b/a" operation.;
#X text 64 485 Outputs the result of the operation "b/a".;
#X obj 263 209 # inv* 4000;
#X text 288 163 inversion;
#X connect 17 0 23 0;
#X connect 18 0 21 0;
#X connect 19 0 21 1;
#X connect 20 0 24 0;
#X connect 21 0 25 0;
#X connect 21 1 55 0;
#X connect 23 0 18 0;
#X connect 24 0 17 0;
#X connect 28 0 55 1;
#X connect 34 0 47 0;
#X connect 35 0 47 1;
#X connect 41 0 46 0;
#X connect 42 0 46 1;
#X connect 46 0 43 0;
#X connect 47 0 36 0;
#X connect 55 0 25 0;
|