Experimental Camera

Description

Click to change color templates!

This is an experimental camera. I have created this inspired by the camera originally coded by the artist and creator of p5.js Lauren McCarthy.
I decided to finalise this camera as it allows the user to control the fidelity with the movement of their mouse.

Design Process

To make the camera fun as a cool photo-booth experience, I added different color templates. I have created this work using the createGraphics() and createCapture() functionality.

Below are the screenshots from the camera:

Reflection

This assignment helped me learn how to capture images and video using the computer's camera, as well as access each of the pixels independently and modify them. I also learned the concept of layering canvases using the createGraphics() function, which would also come in handy for me in animating specific elements of a sketch.

Credits

Sean's lab section helped me understand the pixel array of a p5 sketch and how to access them. Katherine and Xin's tutorials helped strengthen my concepts.
Katherine shared the original camera created by Lauren McCarthy, the link for which is below:
Katherine's tutorial - Lauren's camera example