Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

MozillaReality/hello-webxr

Repository files navigation

Hello WebXR!

screenshot

Try it here!

This is a WebXR demo made to celebrate the WebXR spec release at the end of 2019. It showcases several small experiences, perfect to test different kind of interactions and situations in Virtual Reality. For newcomers, it's a nice entry point to the medium, and web developers may find many things they can reuse and learn (more info on the launch article).

How to build

  1. npm install
  2. npm start
  3. Open http://localhost:8080

Shader packing

If you make changes to the shaders you'll need to repack them. To keep things simple, we made a simple script packshaders.py:

python packshaders.py [seconds]

where seconds is an optional parameter (defaults to 5) to define how many seconds to wait until next rebuild (doesn't watch file changes)

Third party content