jzitelli / webvr-samples

Simple examples of using the WebVR API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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://toji.github.io/webvr-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

About

Simple examples of using the WebVR API

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:HTML 79.0%Language:JavaScript 21.0%