Glitchy 3 Bit Dither
Mutilate images online with Glitch Cruiser.
This is a utility to mutilate images in unpredictable ways. It can randomly choose between algorithms, and many algorithms randomly mutate themselves. You can choose different encodings, effects, and emulate several glitch techniques, resulting in aleatoric new images and hidden configurations.
Check out some curated images at glitches.jkirchartz.com
This runs completely client-side, using the FileReader and canvas APIs, your image isn't being uploaded to any server. If you have a decent browser, this should work. Also, you can right-click and save the result of the processing.
Based on Nolan Caudill's 3bitdither
Heavily modified by JKirchartz, code on github
Experimental functions may not be 100% stable, this is a work in progress.
todo:
- optimize code w/ better code from the row-sorting algos
- frontend: web workers
- better comments
- Add glitches:
- move each "row" in opposite directions (1px at a time)
- kaleidoscope
Release Notes
v0.1.0-beta has added glitch functions to jimp, and mostly successfully emulates Glitchy3bitDither in node.js. There are still some kinks to work out in a few of the glitch functions, use at your own peril. This package is released in beta, as-is; Improvements forthcoming.
Installation
npm install -g gleech
use
List operations
glitch list
Run operation on image:
glitch <input> <output> [operation] [parameters...]
Development
build with npm build
test with npm test
manually inspect images output in current directory
I am open to any and all Pull Requests
please read CONTRIBUTING.md for more details.
and... hack away! huzzah!
License
Portions under the included MIT license, copyright 2013 Matthew Nolan Caudill, as noted.
JIMP (included in the node.js branch) is included under the MIT license (with Open Sans included under the Apache License)
Glitchy3bitDither is presented under the GPL3.0 license, copyleft 2013 JKirchartz, except as noted.