Pixel Bubble Sort with Processing 3 from bubble sort in python Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: Same thing as the last video, but implemented in Processing 3. Much faster - ok, I also cheated by performing 10 sort iterations for every frame, but this probably would not have been possible with any speedup in Python.nnIt is also much easier in Processing for several reasons:n- pixels array is one dimensional, which makes iterating through all pixels far easier (although just as expensive)n- colours are a fundamental typen- there is a hue() helper functionn- reading and writing pixels is easy
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)