Simple examples of using the WebVR API
HTML JavaScript
Latest commit 98c792f Jan 16, 2017 @D504 D504 committed with Fix livee demo location. https://webvr.io/webvr-samples/ is not avali…
…able.
Permalink
Failed to load latest commit information.
js Switched up gamepad rendering Oct 25, 2016
media Smaller panorama image for mobile Mar 16, 2016
00-hello-webvr.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
01-vr-input.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
02-stereo-rendering.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
03-vr-presentation.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
04-simple-mirroring.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
04b-simple-mirroring-2.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
05-room-scale.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
06-vr-audio.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
07-advanced-mirroring.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
08-dynamic-resolution.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016
LICENSE.md Updated license Feb 16, 2016
README.md Fix livee demo location. https://webvr.io/webvr-samples/ is not avali… Jan 17, 2017
XX-360-panorama.html Support experimental-webgl contexts Oct 13, 2016
XX-vr-controllers.html Switched up gamepad rendering Oct 25, 2016
iframe-permissions-test.html Added an iframe permissions test to samples Sep 12, 2016
index.html add redirects for all other pages (<page>.html -> https://webvr.info/… Nov 8, 2016

README.md

WebVR Samples

Simple examples of using the WebVR API.

These examples are intended to demonstrate basic use of the WebVR API without framework support. The code makes use of some simple WebGL utilities (js/wglu) and the glMatrix library to reduce complexity of the WebGL code, but neither are necessary for using WebVR.

You can run these samples live at https://webvr.info/samples/

Experience Prerequisites

These samples use WebGL and matrix math to demonstrate the WebVR API. While most of it is hidden behind libraries and utility functions for brevity, it's assumed that you have at least a conceptual knowledge of both.

Further Reading

Attributions

WebVR image used with the permission of Jaume Sanchez.

"Afterglow of a sunset" image produced by the Masato OHTA and licensed under the Creative Commons Attribution 2.0 Generic license