GithubHelp home page GithubHelp logo

annavitali / webxr-babylonjs-examples Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.35 MB

Repository that contains examples of eXtended Reality application made using WebXR and BABYLON.js

License: MIT License

JavaScript 92.85% CSS 0.77% HTML 6.37%
babylon webxr extended-reality mrtk

webxr-babylonjs-examples's Introduction

WebXR-BabylonJS-examples

This repository contains some examples of eXtended Reality applications made using WebXR and BABYLON.js

MRTK Usage example

This example show how MRTK element can be used with Babylon.js for jenerating WebXR app.

Alt Text

Piano example

This example refers to the piano tutorial available in the Microsoft documentation concerning the usage of WebXR.

Further information can be found at the following link: MRTK tutorial

Simple Cube Interaction example

This example refers to the tutorial available in the Microsoft documentation concerning the usage of WebXR.

Further information can be found at the following link: MRTK tutorial

How to run the examples

Since WebXR only works on secure sites (https) or localhost, in order to launch the application with a specific IP address, you must associate a certificate to the web page. To do this you can use openssl and execute the following commands in the application directory:

openssl genrsa -out private_key.pem
openssl req -new -key private_key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey private_key.pem -out cert.pem

Once you have created the certificate you can launch the application by running the following commands:

npm install
node app.js

webxr-babylonjs-examples's People

Contributors

annavitali avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.