I want to create a canvas object in memory, and not require a HTML <canvas>
tag. Is this possible?
With this code:
var canvas = new Canvas();
var ctx = canvas.getContext('2d');
I get this error message: Uncaught ReferenceError: Canvas is not defined