openCV controlling generative graphics in real time

BodyPen v01 from jmsaavedra on Vimeo.

An assignment for Zach Lieberman’s openFrameworks course in the fall of 2009, this program looks for the furthest left and right points of the subject in view. These two points (hands in this case) control the angle of tilt of the “pen” which is always moving forward.  In this video, the pen is drawing a smoke effect, made of hundreds of rectangles.

made with Joon Moon and Brett Burton.