aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#clip-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/doc/flow_classes/#clip-help.pd')
-rw-r--r--externals/gridflow/doc/flow_classes/#clip-help.pd78
1 files changed, 78 insertions, 0 deletions
diff --git a/externals/gridflow/doc/flow_classes/#clip-help.pd b/externals/gridflow/doc/flow_classes/#clip-help.pd
new file mode 100644
index 00000000..32c16d10
--- /dev/null
+++ b/externals/gridflow/doc/flow_classes/#clip-help.pd
@@ -0,0 +1,78 @@
+#N canvas 673 158 506 685 10;
+#X obj 51 163 #in;
+#X obj 51 189 # + 42;
+#X floatatom 88 166 5 0 0 0 - - -;
+#X obj 51 270 #out window;
+#X obj 51 114 t b b;
+#X obj 51 90 metro 100;
+#X obj 51 68 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1;
+#X floatatom 127 211 5 0 0 0 - - -;
+#X floatatom 87 211 5 0 0 0 - - -;
+#X text 6 25 The [#clip] object is used with numops in order to set
+a lower and upper range to pixel values. This allows you to avoid over
+saturating the colours of your grid.;
+#X obj 3 1 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 133 165 <-- vary this number;
+#X msg 81 138 open working.jpg;
+#X obj 2 300 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X obj 3 326 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X obj 3 382 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X obj 50 235 cnv 15 78 17 empty empty empty 20 12 0 14 -241291 -66577
+0;
+#X text 64 349 Grid values are clipped to the high and low values stored
+in the object;
+#X text 2 409 INTEGER;
+#X text 5 328 Inlet 0;
+#X text 5 384 Inlet 1;
+#X text 204 302 Inlets (3);
+#X obj 3 439 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 6 441 Inlet 2;
+#X text 3 469 INTEGER;
+#X obj 1 570 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 203 572 Arguments (2);
+#X text 1 599 [#clip] accepts two integers as creation arguments that
+initialize the first values to be stored in the object. The first integer
+corresponds to the inlet 1 \, the second to inlet 2;
+#X obj 1 497 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 203 499 Outlets (1);
+#X obj 2 520 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 4 522 Outlet 0;
+#X text 3 350 GRID;
+#X text 4 543 GRID;
+#X text 63 543 Outputs the modified grid;
+#X obj 0 657 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X text 1 658 SEE ALSO:;
+#X obj 85 657 # min;
+#X obj 132 657 # max;
+#X obj 180 657 clip;
+#X text 227 656 #numop-help.pd;
+#X text 344 656 gf_tutorial_image_6.pd;
+#X text 402 2 GridFlow 0.9.0;
+#X obj 51 236 #clip 0 255;
+#X obj 3 0 #clip;
+#X text 139 231 <--if no creation argument is given the default range
+is 0-255.;
+#X text 69 408 An integer can be used to vary the minimum value of
+the range.;
+#X text 67 466 An integer can be used to vary the maximum value of
+the range.;
+#X connect 0 0 1 0;
+#X connect 1 0 43 0;
+#X connect 2 0 1 1;
+#X connect 4 0 0 0;
+#X connect 4 1 12 0;
+#X connect 5 0 4 0;
+#X connect 6 0 5 0;
+#X connect 7 0 43 2;
+#X connect 8 0 43 1;
+#X connect 12 0 0 0;
+#X connect 43 0 3 0;