r/pixelsorting • • Jul 17 '15

[Tool][Processing] UltimateSort

I've made quite complicated Processing script for pixel sort. The main goal was to have possibility to use different threshold values to select pixels and enable partial sorting using various algorithm. Partial sort is crucial here - different algorithms give different patterns. Instructions/tutorial is inside script. Using is quite complicated unfortunately but there're a lot of possibilities.

Code: https://github.com/tsulej/GenerateMe/tree/master/ultimateSort

Examples: http://generateme.tumblr.com/post/123749834850/source-by-kurt-stallaert http://generateme.tumblr.com/post/121920710155/unmerged-sculpture-based-on-work-by-stefanie http://generateme.tumblr.com/post/123749930145/two-teslas-at-once

Questions in comments please

22 Upvotes

14 comments sorted by

2

u/de-oh Sep 12 '15

First of all, really nice tool. I then got into your GlitchTools/GenerateMe on GitHub. Again, really good tools. The two big questions I have are for GenerateME and UltimateSort:

  1. Is it possible to export images at the same resolution they are imported? I have 300dpi images but after I do my glitches they are saved out at 72dpi.

  2. Is there any way import an image sequence (without having to manually do each image), effect and image with my settings and then have it auto save out?

Again, such amazing tools! Thanks for building them :)

2

u/teesel Sep 12 '15

Thank you very much! Ad.1. Unfortunately it's not easy. Save is made by Processing itself. There are some workarounds (http://forum.processing.org/one/topic/saveframe-in-high-resolution.html) but I didn't test them. I see the other way is save as PDF. Ad.2. This is on my list and will be added for all sketches. There will be one keystroke to process whole image folder. I'll try to make it this week.

2

u/de-oh Sep 13 '15

Thanks for the "save in high res" link! And I can't wait for the image sequence support! Thanks!

2

u/teesel Sep 16 '15

batch processing done.

  1. make folder and copy your images there

  2. set up foldername (and filename of one file)

  3. run and press 'b'

1

u/askmurderer Aug 14 '15

This is pretty awesome, but I'm a processing noob and can't exactly figure out where to make my changes to try it out.

Am I correct that I should change void setup img to = my image file path?

1

u/askmurderer Aug 14 '15

geebus.. I know I'm a noob, but I cannot even get his 'test.jpg' images to load into my sketch to even test these. someone assist?

I would have thought that "img = loadImage("test.jpg");" would have done the trick once test.jpg is loaded into the 'data' folder.... need help.

1

u/teesel Aug 15 '15

Your image should be put into the same folder as sketch. At the begining of the file you have variable named filename. This is a place to set up your image.

2

u/askmurderer Aug 14 '15

Not able to load any images into these scripts, could you ELi5!? please?

2

u/askmurderer Aug 14 '15

Turns out the scripts are borked in the latest version of Processor. I downgraded to v2.2.1 and everything worked fine.

0

u/______DEADPOOL______ Aug 05 '15

Hey, uh... got pre-compiled binary for windows?

2

u/teesel Aug 05 '15

no, it's processing, download from processing.org and run

0

u/[deleted] Jul 17 '15

[deleted]

2

u/teesel Jul 18 '15

ok, done, press 'a' to animate. It changes amount parameter every frame from 0 to 1.

1

u/teesel Jul 18 '15

Cool idea. Will update code later and let you know.

0

u/[deleted] Aug 06 '15

[deleted]

1

u/teesel Aug 09 '15

uh... yeah, why not. However hard task using comments. Maybe some chat using fb messanger or google hangouts or whatever? Send me pm.