Home › AI Game Development › PlayCanvas Engine
What is PlayCanvas Engine? The open-source web graphics engine built on WebGPU and WebGL2
PlayCanvas is an open-source web graphics engine built on WebGPU and WebGL2. Use it to create interactive 2D and 3D apps, games and visualisations that run in any browser on any device — install it from npm, or scaffold a full project in seconds.
PlayCanvas Engine in one paragraph
PlayCanvas Engine (github.com/playcanvas/engine) is an open-source web graphics engine built on WebGPU and WebGL2. Use it to create interactive 2D and 3D apps, games and visualisations that run in any browser on any device. It installs with a single npm command, and a full project can be scaffolded in seconds with the create-playcanvas tool. A super-simple Hello World example — a spinning cube — creates a graphics device preferring WebGPU and falling back to WebGL2, adds a box, a camera and a light, and spins the box on every update. The package includes TypeScript declarations, and it also runs without a build step using an import map and a CDN build.
PlayCanvas Engine was created in May 2014 and passed 17,000 GitHub stars by December 2026, with its most recent push in December 2026. It is released under the MIT licence. Around the engine sit a user manual, an API reference, examples, a blog and a forum, and the project publishes release notes for every version on its releases page.
What PlayCanvas Engine actually does
PlayCanvas Engine is a graphics engine for the browser: you build an app from entities and components, and it renders it with WebGPU or WebGL2. Its work breaks down into four parts.
1. Advanced 2D and 3D graphics in the browser
The engine offers advanced 2D and 3D graphics built on WebGL2 and WebGPU, with physically based materials, clustered lighting, soft shadows and WebGPU compute shaders. On top of that sit an HDR post-processing pipeline with bloom, SSAO, TAA, depth of field and colour grading, GPU-accelerated particle systems, and first-class support for loading, streaming and rendering 3D Gaussian splats.
2. A full game toolkit, not just a renderer
Beyond graphics, the engine includes user interface components — text, images, buttons, layouts and scroll views for 2D and 3D UI — built-in support for immersive AR and VR experiences via WebXR, full integration with the 3D rigid-body physics engine ammo.js, powerful state-based animations for characters and arbitrary scene properties, input APIs for mouse, keyboard, touch and gamepad, and 3D positional sounds built on the Web Audio API. Game behaviours are written in TypeScript or JavaScript, and assets stream asynchronously with glTF 2.0, Draco, Meshopt and Basis compression.
3. Fast to start, in your own workflow
Install with npm install playcanvas, or scaffold a full project in seconds with create-playcanvas. The package includes TypeScript declarations, and it also runs without a build step using an import map and a CDN build. The engine is component-based: you register only the component systems your app uses — render, camera, light and the rest — and the bundle-size guide lists them all, so you can keep the build small with tree shaking.
4. Built to work with AI coding agents
For coding agents, the project publishes an engine guides index and an engine API index, each linking a Markdown version of every page, and a guide to developing with AI explains how to set up an agent on a project. PlayCanvas Skills add task-specific workflows to compatible agents, so an AI assistant can work on a PlayCanvas project with the docs in hand.
What it costs
PlayCanvas Engine itself is free — MIT licence, no subscription, no royalties, no per-user fee. It is the open-source engine, installable from npm, and the only costs around a PlayCanvas project are your time and the hosting for the finished app or game, which is an ordinary web page.
Who PlayCanvas Engine is for
Web game developers
You build games that run in the browser. PlayCanvas gives you a full engine — graphics, physics, animation, sound, input and UI — in JavaScript or TypeScript, with no install beyond npm.
3D visualisation developers
You build interactive 3D for the web — product viewers, configurators, visualisations. Physically based materials, Gaussian splatting and post-processing come built in.
AR and VR web developers
You build immersive experiences for the browser. WebXR support for AR and VR is built into the engine, so the same app can reach headsets from a web page.
Developers working with AI assistants
You build with a coding agent. PlayCanvas publishes Markdown indexes of its guides and API for agents, and Skills add task-specific workflows for compatible agents.
PlayCanvas Engine at a glance
- Project: playcanvas/engine — “Open-source web graphics engine built on WebGPU and WebGL2”
- Licence: MIT — free and open source, commercial use allowed
- Popularity: over 17,000 GitHub stars by December 2026 (created May 2014)
- Language: JavaScript (with TypeScript declarations)
- Install: npm install playcanvas, or scaffold with create-playcanvas; also runs without a build step via import map and CDN build
- Graphics: WebGPU and WebGL2, physically based materials, clustered lighting, soft shadows, Gaussian splatting, HDR post-processing
- Game toolkit: UI, WebXR, ammo.js physics, animation, input, 3D positional sound, glTF 2.0 assets
- Docs: user manual, API reference and examples, plus Markdown indexes for AI coding agents
Honest limits
PlayCanvas Engine is a web engine: what you build runs in a browser on a device with WebGPU or WebGL2, and a native desktop or console game it is not. The graphics device prefers WebGPU and falls back to WebGL2, so older browsers get the older path. It is also an engine, not a finished game — the game design, the art and the logic are yours to write, and the component-based setup means you choose which systems your app registers. The engine is the open-source core; it does not include a hosted editor, so your workflow is code and your own tools.
Want a game without doing the setup?
PlayCanvas Engine is one of the engines behind our AI game development service: we build your game instead of from scratch, playtest everything by hand, and hand over a finished game with its source code. Mini-games from £499, full 2D games from £1,499, 3D games from £2,999. You bring the idea; there are no surprise bills.
Have a game idea?
Tell us the idea — a sentence is enough. We will tell you what it takes and what it costs, honestly.