webxr-polyfill | WebXR Device API today , providing fallbacks | Augmented Reality library

 by   immersive-web JavaScript Version: 2.0.3 License: Apache-2.0

kandi X-RAY | webxr-polyfill Summary

kandi X-RAY | webxr-polyfill Summary

webxr-polyfill is a JavaScript library typically used in Virtual Reality, Augmented Reality, Three.js applications. webxr-polyfill has no vulnerabilities, it has a Permissive License and it has low support. However webxr-polyfill has 3 bugs. You can install using 'npm i webxr-polyfill' or download it from GitHub, npm.

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              webxr-polyfill has a low active ecosystem.
              It has 335 star(s) with 82 fork(s). There are 60 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 46 open issues and 42 have been closed. On average issues are closed in 55 days. There are 8 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of webxr-polyfill is 2.0.3

            kandi-Quality Quality

              webxr-polyfill has 3 bugs (0 blocker, 0 critical, 3 major, 0 minor) and 0 code smells.

            kandi-Security Security

              webxr-polyfill has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              webxr-polyfill code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              webxr-polyfill is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              webxr-polyfill releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              webxr-polyfill saves you 184 person hours of effort in developing the same functionality from scratch.
              It has 455 lines of code, 0 functions and 53 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed webxr-polyfill and discovered the below as its top functions. This is intended to give you an instant insight into webxr-polyfill implemented functionality, and help decide if they suit your requirements.
            • Reserves multiple bindings
            • Instructs the suggestion
            • A distorter .
            • Invert the given matrix .
            • Convert a quadrilateral to a quaternion
            • Invert a matrix .
            • VRDisplay class .
            • Computes a 4 - by - 4 matrix .
            • Translate a mat3 by a vector .
            • VRDisplay class .
            Get all kandi verified functions for this library.

            webxr-polyfill Key Features

            No Key Features are available at this moment for webxr-polyfill.

            webxr-polyfill Examples and Code Snippets

            No Code Snippets are available at this moment for webxr-polyfill.

            Community Discussions

            Trending Discussions on webxr-polyfill

            QUESTION

            Flickering when viewing WebXR content
            Asked 2020-Apr-14 at 14:03

            In android Chrome 80, when the WebXR device API flag is disabled, I expect the Webxr polyfill should play the VR output. But the content is flickering and I am not able to hit any object in VR world. Any idea why this is happening?

            If the WebXR device API flag is enabled, I am getting the output correctly. I included the webxr polyfill (https://github.com/immersive-web/webxr-polyfill) , but not sure whether it is working or not. How to check whether polyfill is giving the correct output? Do we need to build the WebXR Polyfill separately to support chrome 80?

            ...

            ANSWER

            Answered 2020-Apr-14 at 14:03

            I fixed this issue by setting the preserverDrawingBuffer flag to true while creating the renderer https://threejs.org/docs/#api/en/renderers/WebGLRenderer.preserveDrawingBuffer

            Source https://stackoverflow.com/questions/61129794

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install webxr-polyfill

            You can install using 'npm i webxr-polyfill' or download it from GitHub, npm.

            Support

            There are 3 builds provided: build/webxr-polyfill.js, an ES5 transpiled build, its minified counterpart build/webxr-polyfill.min.js, and an untranspiled ES Modules version build/webxr-polyfill.module.js. If using the transpiled ES5 build, its up to developers to decide which browser features to polyfill based on their support, as no extra polyfills are included. Some browser features this library uses include:. Check the .babelrc configuration and ensure the polyfill runs in whatever browsers you choose to support.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i webxr-polyfill

          • CLONE
          • HTTPS

            https://github.com/immersive-web/webxr-polyfill.git

          • CLI

            gh repo clone immersive-web/webxr-polyfill

          • sshUrl

            git@github.com:immersive-web/webxr-polyfill.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Reuse Pre-built Kits with webxr-polyfill

            Consider Popular Augmented Reality Libraries

            AR.js

            by jeromeetienne

            ar-cutpaste

            by cyrildiagne

            aframe

            by aframevr

            engine

            by playcanvas

            Awesome-ARKit

            by olucurious

            Try Top Libraries by immersive-web

            webxr

            by immersive-webJavaScript

            webvr-polyfill

            by immersive-webJavaScript

            webxr-samples

            by immersive-webHTML

            webxr-input-profiles

            by immersive-webJavaScript

            webvrrocks

            by immersive-webHTML