Skip to content
JavaScript HTML GLSL Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
res metas and icons (fixes #36) Nov 15, 2019
src Fix teleport sounds Feb 12, 2020
.gitignore
LICENSE
README.md
bundle.js Fix teleport sounds Feb 12, 2020
bundle.js.map Fix teleport sounds Feb 12, 2020
index.html handedness ui style tweak Jan 23, 2020
package-lock.json Remove preset-env to fix babel class error Feb 1, 2020
package.json Add host 0.0.0.0 to webserver Feb 5, 2020
packshaders.py panoball hover effect (fixes #38) Nov 5, 2019
webpack.config.js Remove preset-env to fix babel class error Feb 1, 2020

README.md

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

You can’t perform that action at this time.