April 19, 2016
Drag an image into the box below to sort the pixels by brightness using an iterative version of the quicksort algorithm. Edit: and by iterative, I mean I replaced the stack with an array :p
As a heads up, when the image looks “sorted”, it still has a long way to go. This could be best seen in this quicksort visualization by Timo Bingmann.
{% include partials/iframePartial.html src=”https://jsfiddle.net/he8xh04b/embedded/” width=“600px” height=“300px” %}