Erkaman / regl-webvr-demo

Demo that shows how to use regl and WebVR together

Home Page:https://erkaman.github.io/regl-webvr-demo/build/demo.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo of using regl for WebVR.

Demo here

Demo that demonstrates how to use regl with WebVR. Note that I have only tested this in Google Daydream, with a Google Pixel, so it may or may not work for other platforms, And I was only able to run it in Chrome Canary, with WebVR enabled.

In the demo, the viewer is surrounded by a ring of moving cubes. By pressing the button, VR can be entered.

Source code is in index.js

Animated

Build and Run

First install all dependencies by doing

npm install

To then run the demo, do

npm run start

About

Demo that shows how to use regl and WebVR together

https://erkaman.github.io/regl-webvr-demo/build/demo.html

License:MIT License


Languages

Language:JavaScript 99.9%Language:HTML 0.1%