This is the first experiment in a webcam study I am doing using Processing. Movement results in circles of colour taken from the webcam footage. More movement results in fewer, larger circles and vice versa.
Click here to see the video on Vimeo
Click here to download the source code
In order to use this code you need to install WinVDIG 1.01. This can be obtained from Dan Shiffman’s site. I would recommend a good quality webcam in a well lit room (I’m using the Logitech Quickcam Pro 5000). Also a powerful machine is required for the best results.
The FrameDifferencing code by Golan Levin was used as a basis for this sketch. This can be found in the Processing examples.




Guessing Windig is windows only ?
I’m not sure you need it if you’re on a mac
This is awesome too, do you think it would be possible to apply this to a quicktime movie that you have already made, instead of a live web cam? Im new to processing but love everything im seeing. I just want to dig in!!!
Thanks Jamison.
Yes you can create effects such as these to a quicktime movie. It’s just a case of comparing the current and previous pages. I haven’t worked with pre-recorded footage myself but have seen it done in Processing with great results – see http://www.whiteglovetracking.com/gallery.html for some great examples.
Awesome! You inspired me to make this video. I just made a few small changes to your code: http://www.vimeo.com/2382875
Always good to see people enjoying and experimenting with the code. Looks like you’re quite a mover too