aboutsummaryrefslogtreecommitdiff
path: root/abstractions/pdp_dither.pd
diff options
context:
space:
mode:
Diffstat (limited to 'abstractions/pdp_dither.pd')
-rw-r--r--abstractions/pdp_dither.pd30
1 files changed, 30 insertions, 0 deletions
diff --git a/abstractions/pdp_dither.pd b/abstractions/pdp_dither.pd
new file mode 100644
index 0000000..c579cc8
--- /dev/null
+++ b/abstractions/pdp_dither.pd
@@ -0,0 +1,30 @@
+#N canvas 563 412 450 378 10;
+#X obj 209 213 pdp_abs;
+#X obj 209 144 pdp_noise;
+#X obj 57 249 pdp_sub;
+#X obj 209 172 pdp_grey;
+#X obj 57 148 pdp_grey;
+#X obj 57 88 inlet;
+#X msg 209 114 type grey;
+#X obj 57 204 pdp_contrast \$1;
+#X obj 57 308 outlet;
+#X obj 57 117 pdp_t p b;
+#X obj 157 87 inlet;
+#X obj 209 86 loadbang;
+#X text 25 8 a dither effect;
+#X text 26 45 returns a grey image (image/grey/*);
+#X obj 57 277 pdp_sign;
+#X text 26 23 right inlet is contrast;
+#X connect 0 0 2 1;
+#X connect 1 0 3 0;
+#X connect 2 0 14 0;
+#X connect 3 0 0 0;
+#X connect 4 0 7 0;
+#X connect 5 0 9 0;
+#X connect 6 0 1 0;
+#X connect 7 0 2 0;
+#X connect 9 0 4 0;
+#X connect 9 1 1 0;
+#X connect 10 0 7 1;
+#X connect 11 0 6 0;
+#X connect 14 0 8 0;