yuripourre / elemental2-xr

Thin Java abstractions for the native Web XR Library APIs. (Temporary project)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elemental2-xr

Elemental2 like WebXR Device API for GWT, based on draft from 20 August 2018.

Abstract This library allows user to access virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays, on the Web.

UNSTABLE API The version of the WebXR Device API represented in this library is incomplete and may change at any time.

Source https://immersive-web.github.io/webxr/
Demo https://env-1339767.cloud.unispace.io/
Demo source code: https://github.com/treblereel/ar-with-webxr

Alt Text

Maven Current Version 0.1-beta1

<dependency>
    <groupId>org.treblereel.gwt</groupId>
    <artifactId>elemental2-xr</artifactId>
    <version>0.1-beta1</version>
</dependency>

Setup all you need to do is to add this

<inherits name="elemental2.xr.XR"/>

to your module configuration.

Chrome Canary chrome://flags → webxr features must be turned on

About

Thin Java abstractions for the native Web XR Library APIs. (Temporary project)

License:Apache License 2.0


Languages

Language:Java 100.0%