Added support for Pixelate to be used on video also.
Pixelate also supports video now, added an example. new options are: video:boolean, videoW:number, videoH:number and the selected object is the video it self. ex. var myPixelation = new ClosePixelation( v, [ { resolution : 8,shape:'circle', video:true, videoW:w, videoH:h } ]);
Script also contains extra function for requestAnimationFrame
Also added an example that can showcase this functionality.
Whoa! Thanks for the contribution. I'll have to take a deeper look when I get a better chance.
But my initial thinking is that Close Pixelate should work on still images only. This keeps the spec focused and clean. If you want to use it for movies, then you can write a little per-frame function to do so.
Yes of course that makes sense too, I thought to generalize the lib for various media types. I have also put together a little tutorial here: http://nightlycoding.com/index.php/2013/03/html5-video-on-canvas-pixel-manipulation/ and gave credit.
Anyhow thanks for taking a look.