create the canvas and pass in to the renderer