Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Thomas VR Tests</title>
</head>
  
<body>
<script src="//povdocs.github.io/webvr-starter-kit/build/vr.js"></script>
</body>
</html>
 
//Make a floor, with default checkerboard texture and tinted blue
//VR.floor();
//make a box, using brick-tiles material. Move it up and over.
var box=VR.box({material:'metal'}).setScale(2,1,1).moveUp(1.2);
//Animation
VR.animate(function(delta){box.rotateY(delta * Math.PI);})
// Try panoramic
VR.panorama({src:'http://i.imgur.com/RSjR3EX.jpg'});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
tproffenpro
0viewers