Simple helper to quickly generate canvas images (for the browser and canvas)