HTML5 canvas capture with PhantomJS

This is a simple HTML5 canvas capture example with PhantomJS. It
captures 10-60 images per second. The canvas must have dynamic content.