r/WebXR • • Feb 01 '25

Let's build interactive threejs user interfaces - ready for WebXR

55 Upvotes

r/WebXR • • Oct 11 '26

WebXR spatial music experiment

46 Upvotes

r/WebXR • • 11d ago

I open-sourced a runtime that runs an unmodified WebXR game as a native Quest app, with no browser or WebView

40 Upvotes

I've been building a WebXR game (three.js + IWSDK) for Quest and wanted to ship it as a real native APK instead of a TWA/PWA wrapper around the browser. So I wrote the layer underneath it, and it's now on GitHub under MIT:

https://github.com/Srile/webxr-to-native

What is it?

Your game stays a web app: the same folder with index.html, the JS bundle and assets. The toolkit packs it into an APK with a small runtime that provides the browser APIs a WebGL game uses:

  • JavaScript: V8 (14.9, with the JIT), ES modules, Workers, WebAssembly

  • WebGL 2: bound directly to the headset's GLES driver, including OVR_multiview2, WEBGL_multi_draw and ASTC/ETC2

  • WebXR: Meta's IWER running in a "host mode", fed by OpenXR frames. Covers immersive-vr, immersive-ar with passthrough, controllers with haptics, hand tracking, projection layers, foveation and refresh rates

  • WebAudio: a native audio graph on the audio thread, decoding WAV, Ogg, Opus, WebM and MP3

  • Network and storage: fetch, XHR and localStorage, plus opt-in WebSocket, WebRTC (data channels and voice), IndexedDB, Cache API and service workers

  • Meta Platform SDK: entitlement, leaderboards and achievements exposed as navigator.horizon. Any other platform SDK can easily be added.

You describe the project's structure in one host.json file (where the dist is, package name, icon, allowed network origins) and run one command to build, install and launch.

Why bother?

  • It's an ordinary release-signed APK for the Horizon Store, with no browser chrome and no dependency on the browser version.

  • Performance: GL calls are recorded into a ring buffer and executed on a dedicated GL thread, roughly what a browser's GPU process does but without the rest of the browser. In my own stress scenes on a Quest 2 at 72 Hz, the draw-call scene held frame rate up to about 1,200 draws in Quest Browser and about 2,400 in the native app. The materials scene went from about 400 to about 1,200.

  • The bench scenes and the script are in the repo (apps/bench, tools/bench.mjs) if you want to check on your own content.

  • You keep the web workflow. The Chrome DevTools inspector works with the headset and the same runtime runs the game in a desktop window with an emulated headset.

What it doesn't do

  • There is no layout engine. HTML and CSS are never drawn, so your menus have to live in the 3D scene. If your page needs a click on an "Enter VR" button, a small injected boot script can do that.

  • No <video>/<audio> elements, no camera, no WebGPU. These will get added eventually.

  • It only implements what WebGL games actually call and use and not the whole web platform. If your game uses something unusual, expect to hit a gap.

Status

Quest 2 and Quest 3 are the main target and what I test on. three.js/IWSDK and Wonderland Engine games run at the headset's refresh rate. Passthrough AR and plane/mesh detection are built but less tested.

There's also an Android phone build (flat, with on-screen touch controls exposed as a gamepad), and experimental support for macOS, Windows, Linux, iOS and the Vision Pro simulator. Those are mostly for development right now. Steam Frame support has been achieved in a fork as well. Anything device that supports OpenXR should not be an issue here.

It's currently at v0.1.0 and has only been tried with a handful of games and devices, so I'd really like to hear what breaks with yours. Issues and PRs are welcome, and the first outside PR (WebRTC voice) is already merged.

Happy to answer questions about how any of it works.

Disclosure: AI was used in creating this project.


r/WebXR • • Nov 10 '25

Testing out WebXR on Spectacles (AR glasses)

36 Upvotes

r/WebXR • • Jan 21 '25

New library for XR and non-XR interactions in threejs using handles

36 Upvotes

r/WebXR • • Jan 26 '26

PlayCanvas Engine 2.15.2 released: Major WebXR Improvements + Palm-based Menu System

35 Upvotes

We’ve just released PlayCanvas Engine v2.15.2, and this update is heavily focused on WebXR.

Highlights include:

  • A new palm-based menu system for XR interactions - TRY IT NOW

  • Numerous WebXR fixes and stability improvements

  • Better handling of XR input, UI, and edge cases across devices

If you’re building WebXR experiences in the browser and want a lightweight, open-source engine with a strong focus on real-time 3D, this release should be a nice upgrade.

Release notes & full changelog:
https://github.com/playcanvas/engine/releases/tag/v2.15.2

As always, feedback from the WebXR community is very welcome 👍


r/WebXR • • May 28 '25

VR XR Boxer - Free VR Fitness game

34 Upvotes

Here's a project I've been working on for far too long, but it's finally ready to see the light of day! The primary game mode is my take on the VR Fitness/Rhythm Game genre. It also includes two less game-y, more gym-like experiences. Check it out in your favorite WebXR-enabled web browser at xrboxer.com. Any and all feedback very much appreciated!


r/WebXR • • Aug 19 '24

react-three/xr 6.2 brings WebXR Depth Sensing, Layers, Secondary Input Sources, and Unbounded spaces 🎉

32 Upvotes

r/WebXR • • Aug 11 '20

WebXR now supports hand tracking, so I built a VR Theremin to test it out.

32 Upvotes

r/WebXR • • Sep 18 '25

Meta’s new framework for WebXR

31 Upvotes

Meta launched a new framework for WebXR that that provides building blocks covering many of the foundations for making good XR experiences and has an option to integrate their Meta Spatial Editor for visual scene composition. It’s so cool to see the barrier of entry for developing WebXR getting lower and lower

https://iwsdk.dev


r/WebXR • • Mar 09 '23

3D UI Library for Three.js & R3F - Koestlich - Running on Quest Pro in WebXR

31 Upvotes

r/WebXR • • May 16 '22

At http://MyWebAR.com, we've long been developing and are now testing and preparing for a public release of Object Tracking on the web. What do you think?

28 Upvotes

r/WebXR • • Mar 28 '23

Editing the scene while being in it in VR

27 Upvotes

r/WebXR • • Dec 05 '25

I've made a High-fidelity VR experience within a single, portable HTML file. 244,080 Particles instantly being rendered without any lag at 90 FPS at the max. Just open it in a browser and instantly you got a universe that looks like a supercomputer sim running from nothing but a 45kb text document.

26 Upvotes

The Core Concept: Procedural Generation

The most critical aspect of this application is that nothing exists until you click "Initialize."
To make this run in a single text file without external assets (like .jpg textures or .obj 3D models), I use Procedural Generation.

Instead of downloading a model of a galaxy, I use mathematical formulas to calculate where individual stars should be, and I hand that raw data to the graphics card (GPU).

Rendering Logic: How it Runs at 90 FPS is done by BufferGeometries, Custom Shaders (GLSL), Logarithmic Depth Buffers.


r/WebXR • • Aug 01 '25

Demo This is how you can experience MR Holograms on the web

26 Upvotes

r/WebXR • • Jul 16 '24

@react-three/xr: Build WebXR experiences with react + three

26 Upvotes

r/WebXR • • Jun 26 '24

Interactive WebXR Smartphone on Quest 3

25 Upvotes

r/WebXR • • Oct 12 '23

WebXR Wall Finger Paintings - Kritzeln

24 Upvotes

r/WebXR • • Aug 07 '21

AFrame based visual programming tool. Could this be useful for kids, novices, in-headset programming?

24 Upvotes

r/WebXR • • Jan 23 '20

Hello WebXR! - A VR Demo from Mozilla to Celebrate the WebXR 1.0 Spec

Thumbnail
mixedreality.mozilla.org
24 Upvotes

r/WebXR • • Jul 05 '26

Demo When WebXR doesn't quite go to plan

22 Upvotes

I'm adding support for world rotation/scaling to the PlayCanvas Engine. But I wan't quite expecting this!


r/WebXR • • Jun 12 '26

We've just launched our musical puzzle game - Pezzi! Built for WebXR, desktop and mobile

22 Upvotes

https://playpezzi.com

Pezzi is a relaxing puzzle game where every puzzle piece helps build a piece of music.

Listen to the pattern, then connect blocks of notes, spaces and junctions to create the tune. Each puzzle solved gradually builds up layers of different instruments which come together to form the final song.

You can play it on a phone, tablet, desktop, or XR headset - with your hands or controllers - all from the browser!

We built it with Threlte which has been fab for building a WebXR experience!


r/WebXR • • Feb 25 '26

Demo A fun prototype to visualize all rhodonea curve combinations

22 Upvotes

I built a small WebXR prototype that flips the usual learning flow for math visualization.

Instead of looking at a static polar rose (rhodonea curve) on a screen, you can interact with it directly in space and explore all 63 combinations. You can tap the curve, pick it up, move it around, and rotate it in space like a real object.

It’s exciting to think about how much learning could change over the next few years.

If you want to try it, here's the link: https://www.reactylon.com/showcase#polar-rose.


r/WebXR • • Oct 19 '22

Official Looking Glass WebXR Library Announcement! Bring your projects to the next dimension!

21 Upvotes

r/WebXR • • Dec 28 '25

It's been 4 years away from WebXR. What's new and What should I try?

20 Upvotes

I "was" into WebXR and made some WebXR websites in 2021.

And now I wanna know what's hot now in WebXR.

Could you recommend what should I try?