https://github.com/erkaman/regl-webvr-demo
Demo that shows how to use regl and WebVR together
https://github.com/erkaman/regl-webvr-demo
demo reality regl virtual virtual-reality webgl webvr
Last synced: 6 months ago
JSON representation
Demo that shows how to use regl and WebVR together
- Host: GitHub
- URL: https://github.com/erkaman/regl-webvr-demo
- Owner: Erkaman
- License: mit
- Created: 2018-01-21T18:24:24.000Z (over 7 years ago)
- Default Branch: gh-pages
- Last Pushed: 2018-01-25T20:24:25.000Z (over 7 years ago)
- Last Synced: 2025-04-06T23:14:09.356Z (7 months ago)
- Topics: demo, reality, regl, virtual, virtual-reality, webgl, webvr
- Language: JavaScript
- Homepage: https://erkaman.github.io/regl-webvr-demo/build/demo.html
- Size: 1.42 MB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo of using regl for WebVR.
[Demo here](https://erkaman.github.io/regl-webvr-demo/build/demo.html)
Demo that demonstrates how to use
[regl](https://github.com/mikolalysenko/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`

# Build and Run
First install all dependencies by doing
```bash
npm install
```To then run the demo, do
```bash
npm run start
```