Home

Awesome

VR Ondes Martenot

Inspired by the ondes martenot this is a WebXR based application that attempts to recreate the experience of playing one.

Here's a video

And here's a hosted demo (emulated version)

pic

Compatibility

Installation

Clone repository and run

npm install

SSL certificate (for debugging)

VR requires that you use a secure (https) server, meaning you are required to provide a local SSL certificate for debugging. If you haven't done so before, install mkcert:

brew install mkcert

Create a local certificate authority:

mkcert -install

Finally, from the project's root, create the certificate, replacing with your ip at the end

mkdir .cert
mkcert -key-file="./.cert/key.pem" -cert-file="./.cert/cert.pem"  localhost 127.0.0.1 ::1 <your-ip>

Usage

Run webpack dev server

npm run server

It should open a tab to https://<your-ip>:8080

Controls

Emulation

You can test the app without VR by using an emulated mode:

http://localhost:8080/?mode=emu

This creates two virtual controllers you can move around in the scene to simulate the actual controllers. You can then use these controls: