See the blog post: Processing: Roto Petey