Three.js VR Examples (WebXR)

Three.js supports virtual reality through the WebXR Device API, so a scene can run in a headset straight from the browser. These demos cover the essentials of VR development: stereo rendering and lens distortion, hand tracking with gesture recognition, and teleportation along a parabolic arc for comfortable locomotion.

A virtual art gallery puts these together into a complete experience. Every demo also works on a normal screen with mouse and keyboard, so you can explore the techniques without a headset.

Most viewed in virtual reality

All virtual reality demos

4 Demos