Pseudo-module reference
Image Destroyer » Devlog
The reference / available functions are below if you scroll down.
The only thing to remember here is that everything returns a PImage. In plain English, this means that manipulating any image included is as simple as the example the sketch opens with:

In this example, the variable x is holding the PImage that results from smearing image_1 with the aforementioned settings (color value, operator, and threshold). At any point, you can set this to output -- technically-speaking, you could just use process.reveal(x) to display x, but this example pipes x into the variable y, which, again returns another PImage that further manipulates the PImage x.
Last but not least, z holds the PImage that results from running more image effects on the PImage y. I hope this is starting to make sense, because you can chain as many of these together to make all sorts of wild effects.
Check out the reference (it's included in the file, but I'm also putting it below for readability) :
# 1. smear(image, color value, operator, threshold) # 2. smearUp(image, color value, operator, threshold) # 3. stick(image, color value, operator, threshold) # 4. erase(image, color value, operator, threshold) -- erases to black # 5. eraseWhite(image, color value, operator, threshold) -- erases to white # 6. eraseCustom(color_value, operator, threshold, custom color) -- basically a custom paint bucket tool # 7. rgb_swapper(image, color 1, color 2, color 3) -- swaps the RGB elements of one image # 8. dual_swapper(image 1, image 2, color 1, color 2, color 3) -- swaps the RGB elements of 2 images # 9. rgb_extractor(image, channel) -- extracts a grayscale representation of RGB values in an image # 10. rgb_assembler(image, grayscale 1, grayscale 2, grayscale 3) -- assembles a new image from 3 separate, extracted values # 11. reveal(image) ------------------------------------------------ Update includes the following: ------------------------------------------------- # 12. stick_plus(self, pic, background image, col, operator, thresh) -- Sticks one image directly on top of another one # 13. resizer(image) -- Resizes to image width and height
Get Image Destroyer
Buy Now$9.99 USD or more
Image Destroyer
Go beyond simply 'glitching' your pictures!
Status | Released |
Category | Tool |
Author | Glitch Labs |
Tags | algorithmic, generative, generative-art, glitch, glitch-art, image, pixel, Pixel Art, pixel-sorting, processing |
More posts
- StickPlus Update1 day ago
- Resize Patch1 day ago
- Saving images3 days ago
- Adding and replacing images3 days ago
- Getting up and running3 days ago
- Tutorial Video Added!Nov 02, 2023
Leave a comment
Log in with itch.io to leave a comment.