Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html>
  <head>
    <title>VR workshop, gaze interaction</title>
    <meta name="description" content="VR workshop, gaze interaction">
    <script src="https://aframe.io/releases/0.3.1/aframe.js"></script>
    <script src="https://rawgit.com/ngokevin/aframe-text-component/master/dist/aframe-text-component.min.js"></script>
  <script src="https://rawgit.com/ngokevin/aframe-event-set-component/master/dist/aframe-event-set-component.min.js"></script>
  </head>
  <body>
    <a-scene>
      <a-assets>
        
      </a-assets>
      
    <a-entity position="0 1.8 4" camera id="camera" look-controls="enabled: true">
      <a-cursor color="white"></a-cursor>
    </a-entity>
      
    <a-box color="green"
           event-set__1="_event: click; material.color: red; scale: 2 2 2"
           event-set__2="_event: mouseenter; material.color: blue"></a-box>
     
    <a-entity id="textid" text="text: VR workshop, gaze interaction" position="-9 0 -5" material="color: white" scale="2">
      </a-entity>
      
    <a-sky id=background src="" color="lightblue" cross-origin=""></a-sky>
      
    
    </a-scene>
  </body>
</html>
Output

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

Dismiss x
public
Bin info
Utopiahpro
0viewers