Find file History
klausw Update polyfill to v0.10.10
Fixes issue #105 (rapid spinning), and adds Pixel 2/3 + more devices.
Latest commit 2134e93 Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
insecure Updated samples to handle pointerrestricted and context loss events (… Sep 5, 2017
js Update polyfill to v0.10.10 Dec 11, 2018
media Add a second video format and play failure reporting Oct 24, 2017
00-hello-webvr.html Updated Origin Trial token Jul 30, 2018
01-vr-input.html Updated Origin Trial token Jul 30, 2018
02-stereo-rendering.html Updated Origin Trial token Jul 30, 2018
03-vr-presentation.html Updated Origin Trial token Jul 30, 2018
04-simple-mirroring.html Updated Origin Trial token Jul 30, 2018
04b-simple-mirroring-2.html Updated Origin Trial token Jul 30, 2018
05-room-scale.html Updated Origin Trial token Jul 30, 2018
06-vr-audio.html Updated Origin Trial token Jul 30, 2018
07-advanced-mirroring.html Updated Origin Trial token Jul 30, 2018
08-dynamic-resolution.html Updated Origin Trial token Jul 30, 2018
09-splash-screen.html Updated Origin Trial token Jul 30, 2018
LICENSE.md Moved samples from weber-samples repo to here Nov 8, 2016
README.md Corrected sample link Nov 8, 2016
XX-360-panorama.html Updated Origin Trial token Jul 30, 2018
XX-360-video.html Updated Origin Trial token Jul 30, 2018
XX-vr-controllers.html Updated Origin Trial token Jul 30, 2018
index.html Fix offset for data-index of samples. Oct 10, 2018
test-canvas-attributes.html Updated Origin Trial token Jul 30, 2018
test-slow-render.html Updated Origin Trial token Jul 30, 2018
test-vr-links.html Updated Origin Trial token Jul 30, 2018

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