mozilla / webxr-api

INACTIVE - http://mzl.la/ghe-archive - A proposal for WebXR, based on the WebVR extension
195 stars 23 forks source link
inactive unmaintained

(obsolete) webxr-api

This repository contains a draft proposal and starting point for discussing WebXR that we created in the fall of 2017, to explore what it might mean to expand WebVR to include AR/MR capabilities.

The WebVR community has shifted WebVR in this direction. The group is now called the Immersive Web Community Group and the WebVR specification has now become the WebXR Device API.

We will not be updating this site any longer, although we will continue to experiment with the webxr-polyfill we created when we created this API specification, until there is a complete WebXR polyfill. At that point we expect to shift our experiments to the new polyfill.

(old README, for historical purposes)

In order to make progress on defining WebXR, we are creating a proposal for this capability. The api is intended to build on the concepts already included in the native WebVR implementation, or the WebVR polyfill, but extend them with AR capabilities appropriate for the underlying platform.

The initial interface draft is in WebXR API.md.

A polyfill and example code using this draft WebXR API is available in the webxr-polyfill repository.

There is also a primer on using the WebXR APIs.

We maintain a list of changes we made to the WebVR 2.0 draft to create the WebXR draft.

Some of the concepts we believe are important to have in WebXR include: