How to use this thing


This is an extremely simple script,  so this tutorial is for those who feel lost or who may be new to Processing .


Here's what you can freely change without messing anything up:

  • px_width and px_height (use your own image's dimensions, preferably!)
  • ext (feel free to change this to .gif or .png if you're using those as inputs)
  • The field inside of loadImage() (use the name of the image you dragged & dropped into Processing)
  • algo_select (chooses which color to extract data from
  • thresh (compares the algo_select against any gray color of your choosing from 0 to 255)
  • the thresh <> comparitor (which will flip how the two are compared for the final result)


As stated in the installation instructions, all you really need to do is open the .pyde and start dragging images into Processing. Then, all you have to do is switch over to Python mode and fill in the loadImage() field to match whichever image you want to use, and that's it.

Each time you run the script, it will auto-save into your main folder with a random number as the name. So if you liked something you made, feel free to fish it out!


Also, for a bigger output file size, just check the size() function. It's currently set to 1/4th of the original image, but you can change all of it.

Files

Sorts.pyde 908 bytes
Jun 11, 2023

Get Micro Pixel Shifter.py

Buy Now$19.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.