Back to Content

WebGL

files/en-us/glossary/webgl/index.md

latest742 B
Original Source

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

The Khronos Group maintains WebGL, which is based on {{Glossary("OpenGL")}} ES 2.0.

You can invoke WebGL within the {{Glossary("HTML")}} {{HTMLElement("canvas")}} element, which provides a rendering surface.

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

See also