AR Color Balls
For the second lab, I tried to involve space as much as possible in my project. So, I thought of using the webcam of my laptop
to scan my surrounding space and using my body to interact with computer created objects. I tweaked some code I found about
augmented reality and manipulating computer generated objects with one's body and I decided to use balls as it is a very simple design and I had some old code from another project about physics and collision detection that I could easily port to OpenFrameworks.
When I established that the body - balls interaction was working, I needed to find some way of adding some extra functionality
to the project. I decided to do something really simple, that I find very interesting though and always wanted to do something with; color. The balls can have any color at the start of the application, that can also be changed by pressing space, and when they meet the background color changes to the combination of the colors of the balls.
Of course this is just a basic application to show how the system works. Since the interaction is working fine, many things can be done from here on and I have some ideas already for a bunch of games that could be possible.
The source code can be found in the following link
http://www.mediafire.com/?go9mlp4nsflu6xq