tree: d496ecc66081c7d6752012f0c88d71dff3191fbe [path history] [tgz]
  1. 00-hello-webvr.html
  2. 01-vr-input.html
  3. 02-stereo-rendering.html
  4. 03-vr-presentation.html
  5. 04-simple-mirroring.html
  6. 04b-simple-mirroring-2.html
  7. 05-room-scale.html
  8. 06-vr-audio.html
  9. 07-advanced-mirroring.html
  10. 08-dynamic-resolution.html
  11. 09-splash-screen.html
  12. LICENSE.md
  13. README.md
  14. XX-360-panorama.html
  15. XX-360-video.html
  16. XX-vr-controllers.html
  17. index.html
  18. insecure/
  19. js/
  20. media/
  21. test-canvas-attributes.html
  22. test-slow-render.html
  23. test-vr-links.html
samples/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