Cardboard VRDisplay

# cardboard-vr-display

cardboard-vr-display is a JavaScript implementation of a WebVR 1.1 VRDisplay. This is the magic behind rendering distorted stereoscopic views for browsers that do not support the WebVR API with the webvr-polyfill.

## Demos

The base example parses the query params in the URL to pass configuration into a CardboardVRDisplay. Some examples links below.

- Defaults
- BUFFER_SCALE=1
- CARDBOARD_UI_DISABLED=true
- ROTATE_INSTRUCTIONS_DISABLED=true&YAW_ONLY=true
- DIRTY_SUBMIT_FRAME_BINDINGS=true

There are other examples for testing other use cases. They also respond to the query params passed into the URL.

- Embedding WebVR content in an iframe
- Magic window WebVR
- Using a custom viewer