To create new WebGL context via Plask window (in Plask) or HTMLCanvas (in a browser):
var createGl =var gl =
// full window canvasvar gl =// creates gl context from existing canvas and keeps it's sizevar gl =// creates new canvas with given width and heightvar gl =
Creates gl context from canvas/window with given width and height in pixels.
MIT, see LICENSE.md for details.