I made a circuit with 2 potentiometers connected to the Arduino, which would manipulate the size of the pixels in the image obtained by the webcam in processing. One of the potentiometers would control the width of the pixels and the other one would control the height of the pixels. I made the pixels have no stroke so that the canvas didn’t turn black when either the height or width was too small. For this exercise, I don’t think I used computer vision, since I didn’t have the camera detect anything, I used an analog input from the Arduino which resulted in the size of the pixels in the camera changing.