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

View all comments

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.