Coding Assignment: Incorporate the pixels of an image (or video) into a Processing sketch.
Solution: Processing Code
NOTE: Due to the usage of a webcam, this code will not run via the applet. Download the code and run it locally.
This solution in a nutshell is a grain filter. It randomly takes a 20% sample of all the available pixels and modifies its RGB values by a value of -20 to 20. The outcome looks like there is grain embedded in the signal.
During the first run of this solution, the grain was added as a layer on top of the video instead of being embedded with the video. This the overal image look fake due to only having grain of one color. I wanted the grain to look more organic, like a 1990′s television transmission.