Coding Challenge #47: Pixel Sorting in Processing



In this Coding Challenge, I implement “Pixel Sorting” in Processing (Java). Using a “selection sort” algorithm, I sort the pixels of an image by brightness and hue.

Sorting algorithms visualized:
https://bost.ocks.org/mike/algorithms/

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Contact: https://twitter.com/shiffman

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For an Introduction to Programming in the Processing Environment: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZYJC7L-r6rX6utt6wwJCyi

Help us caption & translate this video!

http://amara.org/v/1bJe/

source

Reply

Build A Site Info