Game development

What is WebGL?

WebGL is a JavaScript API built into modern browsers that uses the device's graphics processor to draw fast 2D and 3D graphics inside a web page, without plugins.

What it powers

Browser games, 3D product configurators, data visualisations, interactive maps and animated website scenes. Libraries such as three.js, Babylon.js and PixiJS make it practical. The newer WebGPU API is gradually adding more power.

Performance tips

Keep models and textures light, limit effects on phones, load scenes progressively, and provide a fallback image for devices or settings that cannot run it.

Questions, answered

On virtually all modern browsers, though performance varies widely.

Content inside a canvas is invisible to search engines, so important text must also be in normal HTML.

By the Stegnor team · Updated