example for resizing a canvas.
Pruning
Merge pull request #33 from sjsrey/resize

Resize