Add canvas support
Merge pull request #2 from shama/canvas

Add canvas support