Recitation 11: Workshops (Media Manipulation) by Jonathan Lin

My partner, Jennifer Cheung, and I went to two different workshops. She went to Object-Oriented Programming with Tristian, while I learned Media Manipulation with Leon. This workshop was very informational on how to manipulate photos and videos and for my exercise, I decided to create a collision between two objects.  I did this by detecting the colors, so for example, if my red object touches a blue object the code tells it to move away. My final project is a maze so learning this will be very important in my final project.

Below I show what the collision looks like. There are still a few problems like the object does not collide from the other side, and that it moves up when you push into it. These are things that will be figured out for our final project.

Code:

Leave a Reply