Web framework for building 3D, AR and VR scenes in the browser with HTML
open sourceMITfree
A-Frame is an MIT-licensed web framework for building browser-based 3D, augmented reality and virtual reality experiences. Scenes are written as HTML (an <a-scene> with entities inside it), and A-Frame handles the WebXR boilerplate so the same page runs on desktop, mobile and any headset with a WebXR-capable browser. Underneath it's a thin entity-component layer on top of three.js, with full access to JavaScript, the DOM, WebXR and WebGL. It ships built-in components (geometries, materials, lights, animations, models, raycasters, shadows, positional audio, tracked controllers) and a visual 3D inspector, and community components add physics, particles and multiuser support. It installs from npm as aframe or loads from a script tag.
Problems it solves
- build a VR scene that runs in the browser on any headset
- make a 3D or AR web experience without writing raw WebGL
- prototype a WebXR app with HTML instead of a game engine
Features
- declarative HTML scenes
- entity-component architecture on three.js
- WebXR support across headsets, desktop and mobile
- built-in visual 3D inspector
- built-in components for geometry, lights, animation, models and controllers
