Messing with some THREE.js and on top of that the excellent webvr-starter-kit.

read on