Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
    <body>
       <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r71/three.js"></script>
        <div>
          <label>This works, but please try with the commented out code on lines 30-32, where the camera's (x,y,z) are (0,30,40). Do I need to change cube.position.x,cube.position.y and cube.position.z?  </label>
      </div>
    </body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers