Seeing Machines HW #4 – Communication

For this assignment we had to use a communication protocol between two programs (one had to be OpenFrameworks). I chose to use OSC to communicate between OpenFrameworks and Processing.

In OF, I used object tracking and sent the object’s x and y coordinates to processing to control a circle. Eventually, my code in processing became a game, where the circle controlled can ‘eat’ other little circles. After 15 seconds from starting the sketch, the user can eat the circles and track their score.

Here is the link to the sender and receiver code.

Leave a Reply

%d