Creates a canvas and context with the given width and height.
ID name of the canvas context.
Width of the canvas context.
Height of the canvas context.
An anonymous object with canvas, ctx, w and h properties.
canvas
ctx
w
h
Creates a canvas and context with the given width and height.