Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A basic PlayCanvas program that sets up a scene with a rotating cube.
# playcanvas/demo/main.js
const app = new pc.Application(document.getElementById('canvas'), {
graphicsDeviceOptions: { alpha: true }
});
app.start();
const cube = new pc.Entity();
cube.addComponent('model', { type: 'box' });
app.root.addChild(cube);
app.on('update', function (dt) {
cube.rotate(10 * dt, 20 * dt, 30 * dt);
});PlayCanvas is a powerful, open-source 3D game engine and interactive content platform that runs entirely in the browser using WebGL/WebGPU. It enables real-time 3D games, simulations, AR/VR, and interactive visualizations without plugins.
Origin & Creator
PlayCanvas was originally created by Will Eastcott and Dave Evans in 2011, with ongoing development led by PlayCanvas Ltd.
Industrial Note
PlayCanvas is increasingly used in automotive configurators, online product visualizations, e-learning 3D content, browser-based games, and AR/VR experiences, reducing the need for native apps.