Photo-booth: rainbow coded

Using the ‘Processing 3’ application, a simple code was made to allow the laptop webcam to snap photos and save them to Desktop using the spacebar. As the user drags the mouse a rainbow line is previewed. Once the mouse is clicked, it creates a solid rainbow line as the user moves the mouse across the still photo. This resets every time a photo is saved. This could easily be applied for social media applications or for documentation purposes in an interactive shared space.

watch it happen