topical media & game development

talk show tell print

mobile-query-three-plugins-wobble-examples-index.htm / htm



  <!doctype html><title>Minimal tQuery Page</title>
  <script src="../../../build/tquery-bundle.js"></script>
  
  <script src="../../../vendor/threex/THREEx.GeometryWobble.js"></script>
  <script src="../tquery.geometry.wobble.js"></script>
  
  <body><script>
          var world        = tQuery.createWorld().boilerplate().start();
          var object3d        = tQuery.createSphere()
                  .addTo(world);
  
          object3d.geometry().zoom(2).wobble().back();
  
          world.loop().hook(function(delta){
                  var degSecond        = delta * Math.PI / 180;
                  object3d.rotateY(45*degSecond);
                  object3d.rotateZ(45*degSecond);
          });
  </script></body>


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.