This is a basic virtual reality experiment for Chrome, to be used with Cardboard. It uses WebGL and Three.js to handle the 3D graphics and camera controls. See inline comments for tips. This code is purely experimental, so please keep that in mind when developing.
Want to create an Android app for Cardboard? Learn how.