Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r76/three.min.js"></script>
  <script src="http://threejs.org/examples/js/controls/TrackballControls.js"></script>
  <script src="http://threejs.org/examples/js/libs/stats.min.js"></script>
  <style>
    #selection {
      position: absolute;
      background: rgba(0, 255, 0, 0.5);
      border: 1px solid #00FF00;
      opacity: 50%;
      width: 50px;
      height: 50px;
      z-index: 1;
    }
    #selection-layer {
      width: 100%;
      height: 100%;
      z-index: 2;
      position: absolute;
      top: 0px;
      left: 0px;
    }
  </style>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
  <div id="container">
    <div id="selection"></div>
    <canvas id="selection-layer"></id>
  </div>
<body>
</body>
</html>
Output

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

Dismiss x
public
Bin info
emnhpro
0viewers