Motion Trails v01

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.

6 Responses to “Motion Trails v01”


  1. 1 Ben Sheppee October 15, 2008 at 8:21 am

    Guessing Windig is windows only ?

  2. 2 jamesalliban October 15, 2008 at 12:05 pm

    I’m not sure you need it if you’re on a mac

  3. 3 Jamison Hiner October 17, 2008 at 5:44 pm

    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!!!

  4. 4 jamesalliban October 20, 2008 at 3:08 am

    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.

  5. 5 kadavy November 30, 2008 at 6:00 am

    Awesome! You inspired me to make this video. I just made a few small changes to your code: http://www.vimeo.com/2382875

  6. 6 jamesalliban December 1, 2008 at 7:00 pm

    Always good to see people enjoying and experimenting with the code. Looks like you’re quite a mover too :P


Leave a Reply








Tweets