Continuing Experimenting with Reordering Pixels

Continuing from where I left off in the Reordering Pixels post, I’ve now added color!

Code is here before I sorted by color and here with sort by Brightness. With a small change, I can sort by Hue instead. I’m also experimenting with vectors and arrays to see which is faster, and trying to see if having a separate color object with getHue/getBrightness functions might help. But, I think that might just be repeating what the ofColor object already does.

Also, now it’s responding to input from the computer’s camera instead of uploading still images.

With color, but in the corner and without sorting the colors.

With color, sorting by brightness.

With color, sorting by brightness, in center.

If you have a Mac, you can use the app yourself. Download it here.

Written on November 26, 2014