RiftSketch: Live coding in VR with the Oculus Rift, Firefox WebVR, JavaScript and Three.js



I built a live-coding web app for the Oculus Rift where you code in JavaScript using Three.js and watch the world change around you in real-time.

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

It’s quite a niche application since you need to have an Oculus Rift, be a JavaScript programmer *and* be sufficiently familiar with Three.js but, if you fit that criteria, it’s a surprisingly engaging experience!

If happen to have a Rift and you want to try it out yourself, download the Windows or OS X or dev build of Firefox that includes the WebVR APIs from http://blog.bitops.com/blog/2014/08/20/updated-firefox-vr-builds/ and visit http://brianpeiris.github.io/RiftSketch with your Rift hooked up.

The code’s messy but it’s up on GitHub: https://github.com/brianpeiris/RiftSketch

Edit: Since people keep asking, the music is actually just one of the royalty-free tracks from YouTube’s audio library called “Grass” by “Silent Partner”: https://www.youtube.com/audiolibrary_download?vid=2545f834238bcd11

source

Reply


Build A Site Info