Surprise Me!

Bubble Sort

2010-10-05 0 0 Vimeo

Code and project comments available at http://github.com/JoshCheek/Play/tree/master/sort-viewer/ For this one, I only had 30 elements in the Array. If I went with 200, like the others, it generated about 20k images. To compensate for having fewer elements, I increased pixel size so that the full images would be the same size as the others. Right now, it shows the bubble in magenta, and as it swaps with a new value, the old one becomes blue. Once it hits the end, it becomes green. This project has made it fairly clear to me that bubble sort is the worst sort of all.