WebGL (Web Graphics Library) is a JavaScript API that draws interactive 2D and 3D graphics.

The Khronos Group maintains WebGL, which is based on OpenGL ES 2.0.

You can invoke WebGL within the HTML <canvas> element, which provides a rendering surface.

All major browsers now support WebGL, but its availability depends also on external factors (e.g. GPU support).

See also