Skip to main content
Share Your Experience: Take the 2024 Developer Survey

WebGL extends the capability of the HTML canvas element to allow it to render accelerated 3D graphics in any compatible web browser.

WebGL is OpenGL ES 2.0 graphics for web pages. It extends the capability of the HTML canvas element to allow it to render accelerated 3D graphics in any compatible web browser.

WebGL is based on OpenGL ES 2.0 and is driven via a JavaScript API. It does not require the use of plug-ins. Official specifications and additional information can be found at Khronos.

Engines:

There are also many different webGL based 3D engines available:

Getting started with webGL:

Start with WebGLFundamentals.org.

Other resources include LearningWebGL. LearningWebGL has basic tutorials.

If you don't want to learn WebGL and you just want to use a library that makes it easy to display 3d three.js is the most popular 3d library and there are plenty of Three.js tutorials and examples here - LearningThreeJS.