Pixelsort on a webcam
Pixelsort is a way of glitch art where the pixels of an image are being sorted and realigned. My approach was to do this in realtime with the video stream from a webcam. This project is based on Kim Asendorf's algorithm which sorts pixels by brightness, separated by a threshold.
I also built an easy to use controller box for the interface, driven by an Arduino Uno. However, you can simply control the application with your keyboard (press H for help).
Arduino code for the controller box