aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/abstractions/#saturation.pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/abstractions/#saturation.pd')
-rw-r--r--externals/gridflow/abstractions/#saturation.pd35
1 files changed, 35 insertions, 0 deletions
diff --git a/externals/gridflow/abstractions/#saturation.pd b/externals/gridflow/abstractions/#saturation.pd
new file mode 100644
index 00000000..289c2336
--- /dev/null
+++ b/externals/gridflow/abstractions/#saturation.pd
@@ -0,0 +1,35 @@
+#N canvas 0 0 450 300 10;
+#X obj 59 119 # inv+ 255;
+#X obj 8 169 # +;
+#X obj 33 28 #rgb_to_greyscale;
+#X obj 8 189 # >> 8;
+#X obj 106 91 loadbang;
+#X text 62 216 keep values inside visible range;
+#X obj 8 149 # *;
+#X obj 33 119 # *;
+#X obj 8 9 inlet image;
+#X obj 8 243 outlet image;
+#X obj 47 71 inlet saturation;
+#X text 170 75 0 = grey \; 256 = identity;
+#X text 34 172 mix the original picture with its greyed version;
+#X obj 33 48 #greyscale_to_rgb;
+#X obj 47 91 t a;
+#X obj 8 215 #clip;
+#X obj 8 28 #t;
+#X obj 74 91 f \$1;
+#X connect 0 0 7 1;
+#X connect 1 0 3 0;
+#X connect 2 0 13 0;
+#X connect 3 0 15 0;
+#X connect 4 0 17 0;
+#X connect 6 0 1 0;
+#X connect 7 0 1 1;
+#X connect 8 0 16 0;
+#X connect 10 0 14 0;
+#X connect 13 0 7 0;
+#X connect 14 0 6 1;
+#X connect 14 0 0 0;
+#X connect 15 0 9 0;
+#X connect 16 0 6 0;
+#X connect 16 1 2 0;
+#X connect 17 0 14 0;