This library was never finished because of API limitations and has been archived.
html2vr is a native JS library that allows a webdeveloper to easily add a user interface in VR to an existing html page. Think of it as a library like a photo lightbox or a CSS framework.
Why? A lot of sites have integrated WebVR (youtube, sketchfab) but none allow you to navigate the site in VR. You always have to go back to the pancake (read: flatscreen) version and open a new link. This library remedies that.
This repo contains 3 modules:
-
library: contains the script you can load on your site and documentation
-
demo: a demo site (hosted on github pages) to discover the functionality
-
extension: browser extension that loads this library on some sites like youtube, sketchfab...
Note: Firefox is currently the only fully supported browser!
Test it yourself on the demo page.
Or see it in action in the video below:
You can load this javascript library to easily 'convert' your existing HTML page to a VR environment.
You can download the latest release here.
Find the documentation here.
Extensions for Chrome and Firefox that uses the HTML2VR library to generate a VR version.