Code borrowed from this gentleman, and modified.

jamesalliban.wordpress.com/2008/10/13/motion-trails-v01/

j vimeo.com/15021250

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…