week 8-9 Pixel window
Updated: Nov 21, 2019
This week I collaborated with Ashwita. Our Idea is try to recreated room window. the First function is camera covering. When user cover the camera, the window is going to cover all the landscape. Second function is raining. When user click the mouse the rainbow rain is going to fall.
In the first function, we use brightness of the camera to detect when the camera is covered. The second function, we get the color of the raindrop from the image itself and convert it into HSB mode.
Try Pressed the mouse and cover your camera.
Ashwita sketch : https://editor.p5js.org/ashwita939/sketches/wNmULAq4x