Note: This script is deprecated in favor of Modular Modifier.
This is a port of previous GIF-glitching experiments in Python/Imagemagick to Processing. The types of glitches that are done are:
- From random frames, one of the color channels is selected and then swapped with the same channel of an adjacent frame
- From random frames or random channels within frames, blocks of image data are swapped with another block within the same frame
- Some frames (or channels of frames, by default) are encoded to JPEG and then have bytes randomly removed, corrupting the image. These are then decoded back into the frame.
With the script loaded in Processing, have a GIF named
input.gif in the same directory. Run the script and the glitched version will be generated. To save the output to GIF, press any key and it will be saved
- Rarely, the JPEG corruption can fail and prevent the script from finishing. Usually you can just run the script again.
2014-05-25 - v1
- initial version