code: function getCanvas (width, height) {
      var
        canvas = Canvas ?
          new Canvas() :
          document.createElement('canvas');
      if (width) canvas.width = width;
      if (height) canvas.height = height;
      return canvas;
    }
docs: Creation