Recitation 10: Image & Video

For the Arduino part, I decided to use a potentiometer as my input device since it’s the one that I’m most comfortable with. After that, I coded the Arduino to link with processing, where it will send 1 value to the codes in processing.

For the Processing part, I had the idea in mind that I wanted to change the filter based on the Arduino input. I started by connecting the Arduino code to the processing code. After that, I coded in Processing to display the camera. I put the tint code after the camera code in order to shift the color based on the input from the potentiometer. I had some problems with coding the cameras at first, but after asking the professors for help, I was able to solve that problem. Putting the tint in the code had some issues too, but it wasn’t too difficult and I was able to figure it out before the end of class.

 

Leave a Reply

Your email address will not be published. Required fields are marked *