All Projects → MozillaReality → Webxr Emulator Extension

MozillaReality / Webxr Emulator Extension

Licence: mpl-2.0
WebXR emulator extension

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Webxr Emulator Extension

Webxr Polyfill
A polyfill and example code for building augmented reality (AR) and virtual reality (VR) applications using WebXR.
Stars: ✭ 227 (-1.73%)
Mutual labels:  vr, ar, webxr
Remixvr
RemixVR is a tool for collaboratively building customisable VR experiences.
Stars: ✭ 129 (-44.16%)
Mutual labels:  threejs, vr, webxr
emscripten-webxr
WebXR library for use with Emscripten.
Stars: ✭ 21 (-90.91%)
Mutual labels:  vr, ar, webxr
awesome-webxr
All things WebXR.
Stars: ✭ 117 (-49.35%)
Mutual labels:  vr, ar, webxr
Ideaspace
😎 Create interactive 3D and VR web experiences for desktop, mobile & VR devices
Stars: ✭ 344 (+48.92%)
Mutual labels:  threejs, vr, webxr
spacesvr
A standardized reality for the future of the 3D Web.
Stars: ✭ 135 (-41.56%)
Mutual labels:  threejs, vr, webxr
app
Web metaverse client
Stars: ✭ 115 (-50.22%)
Mutual labels:  threejs, vr, webxr
lvr
👓 Augmented Reality for everyone - Out of the world experiences
Stars: ✭ 92 (-60.17%)
Mutual labels:  threejs, vr, ar
Webar Article
WebAR-Article is a responsive and information rich website that is progressively enhanced with Augmented Reality content exposed through experimental web technologies.
Stars: ✭ 225 (-2.6%)
Mutual labels:  vr, ar, webxr
Jeelizar
JavaScript object detection lightweight library for augmented reality (WebXR demos included). It uses convolutional neural networks running on the GPU with WebGL.
Stars: ✭ 296 (+28.14%)
Mutual labels:  vr, ar, webxr
immersive-ar-emulation
A sort-of polyfill to emulate a fake AR environment which can be hit-tested against.
Stars: ✭ 26 (-88.74%)
Mutual labels:  threejs, ar, webxr
Egjs View3d
Fast & customizable 3D model viewer for everyone
Stars: ✭ 34 (-85.28%)
Mutual labels:  threejs, ar, webxr
3dio Js
JavaScript toolkit for interior apps
Stars: ✭ 255 (+10.39%)
Mutual labels:  threejs, vr, ar
Webxr Physics
Adds physics to WebXR
Stars: ✭ 18 (-92.21%)
Mutual labels:  threejs, vr, webxr
Webxr Handtracking
👐 WebXR hand tracking examples
Stars: ✭ 116 (-49.78%)
Mutual labels:  threejs, vr, webxr
Xrtk Core
The Official Mixed Reality Framework for Unity
Stars: ✭ 219 (-5.19%)
Mutual labels:  vr, ar
Model viewer.dart
A Flutter widget for rendering interactive 3D models in the glTF and GLB formats.
Stars: ✭ 134 (-41.99%)
Mutual labels:  vr, ar
Studio
An authoring platform to build Web Augmented Reality experiences, without coding knowledge
Stars: ✭ 135 (-41.56%)
Mutual labels:  threejs, ar
Arkit Cardboard Vr
ARkit + GVR to make VR and Mixed Reality 6dof AR for iphone
Stars: ✭ 132 (-42.86%)
Mutual labels:  vr, ar
Dxr
DXR is a Unity package for rapid prototyping of immersive data visualizations in augmented, mixed, and virtual reality (AR, MR, VR) or XR for short.
Stars: ✭ 134 (-41.99%)
Mutual labels:  vr, ar

WebXR emulator extension

WebXR emulator extension is a browser extension which helps your WebXR content creation. It enables you to responsively run WebXR applications on your desktop browser without the need of any XR devices.

Blog post / YouTube / Slides (in Japanese)

Screenshot

Features

Status

Browsers

This extension is built on top of WebExtensions API. It works on Firefox, Chrome, and other browsers supporting the API.

How to use

  1. Go to the addon stores to install (Firefox, Chrome)

  2. Go to WebXR application page (for example WebXR examples). You will notice that the application detects that you have a XR device (emulated) and it will let you enter the immersive (VR、AR) mode.

  3. Open "WebXR" tab in the browser developer tool (Firefox, Chrome) to controll the emulated devices. You can move the headset and controllers, and trigger the controller buttons. You will see their transforms reflected in the WebXR application.

WebXR tab

How to control the emulated devices

By clicking a device in the devtool panel, you can select gizmo mode of the device. By dragging a gizmo, you can rotate or translate the device.

Configuration

You can configure some settings from the top in the WebXR tab.

Device

You can switch emulated device. The difference between devices is just degrees of freedom and the number of controllers for now.

Device Description
None No device
Google Cardboard 3dof headset and no controller
HTC Vive 6dof headset and two 6dof controllers
Oculus Go 3dof headset and 3dof controller
Oculus Quest 6dof headset and two 6dof controllers
Samsung Gear VR 3dof headset and 3dof controller

Stereo Effect

You can enable/disable Stereo Effect which renders two views.

AR mode

WebXR emulator extension also supports AR. You can test WebXR AR application on an emulated device in a virtual room, on your desktop browser.

Screenshot AR

How to use

  1. Download and manually install the newest extension from dev branch

  2. Select "Samsung Galaxy S8+ (AR)" device from the device list on the top of WebXR devtool panel

  3. Go to WebXR application page, for example Three.js WebXR AR examples

  4. You will notice that the application detects that you have a XR device (emulated) and it will let you enter the immersive (AR) mode

  5. AR application starts on the emulated device in a virtual room

How to control

You can control the camera (view) and tablet in the application window.

user action camera/tablet control
Left mouse button drag Camera rotation
Right mouse button drag Camera pan
Middle mouse button drag or wheel Move camera forward/backward
Mouse click on the tablet Change the tablet gizmo mode
Gizmo on the tablet Tablet rotation/translation
Right mouse button click on the tablet screen touch input

How to control in the devtool panel

You can still control the camera and tablet in the devtool panel similar to VR.

Devtool panel AR virtual room
Camera View
Right controller Finger (not shown in the application window)
Left controller Tablet

For development

How to install the newest version

If you want to develop or debug this extension or if you want to use the under development (not released yet) version, download this repositoy and install the extension into your browser as developer mode. (Firefox, Chrome)

How to build polyfill/webxr-polyfill.js

polyfill/webxr-polyfill.js is created with npm.

$ git clone https://github.com/MozillaReality/WebXR-emulator-extension.git
$ cd WebXR-emulator-extension
$ npm install
$ npm run build

Note

  • Even if native WebXR API is available the extension overrides it with WebXR polyfill

WebXR examples

Kudos

Thanks to WebVR-Extension project, it was a true inspiration for us when building this one.

License

Mozilla Public License Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].