Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard. A JavaScript implementation of the WebXR Device API, as well as the WebXR Gamepad Module. This polyfill allows developers to write against the latest specification, providing support when run on browsers that implement the WebVR 1.1 spec, or on mobile devices with no WebVR/WebXR support at all. The polyfill reflects the stable version of the API which has shipped in multiple browsers. If you are writing code against the WebVR 1.1 spec, use webvr-polyfill, which supports browsers with the 1.0 spec, or no implementation at all. It is recommended to write your code targeting the WebXR Device API spec however and use this polyfill as browsers begin to implement the latest changes. The minimal input controls currently supported by WebXR is polyfilled here as well, using the Gamepad API.

Features

  • The webxr-polyfill exposes a single constructor, WebXRPolyfill that takes an object for configuration
  • The polyfill needs to patch the API if it does not exist so your content code can assume that the WebXR API will just work
  • In a modular ES6 world, import and instantiate the constructor similarly
  • The polyfill reflects the stable version of the API which has shipped in multiple browsers
  • Implementation of the WebXR Device API
  • This polyfill allows developers to write against the latest specification

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow WebXR Polyfill

WebXR Polyfill Web Site

Other Useful Business Software
Peer to Peer Recognition Brings Teams Together Icon
Peer to Peer Recognition Brings Teams Together

The modern employee engagement platform for the modern workforce

Create a positive and energetic workplace environment with Motivosity, an innovative employee recognition and engagement platform. With Motivosity, employees can give each other small monetary bonuses for doing great things, promoting trust, collaboration, and appreciation in the workplace. The software solution comes with features such as an open-currency open-reward system, insights and analytics, dynamic organization chart, award programs, milestones, and more.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WebXR Polyfill!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript VR Development Software, JavaScript AR Development Software

Registered

2022-01-20