topical media & game development
mobile-query-three-plugins-fireball-examples-index.htm / htm
<!doctype html><title>Minimal tQuery Page</title>
<script src="../../../build/tquery-bundle.js"></script>
<script src="../tquery.fireballmaterial.js"></script>
<body><script>
var world = tQuery.createWorld().boilerplate().start();
world.removeCameraControls();
var object3d = tQuery.createSphere().addTo(world);
// var object3d = tQuery.createCube().addTo(world);
//var object3d = tQuery.createPlane().addTo(world);
object3d.setFireballMaterial({
scale : 3,
speed : 0.1,
});
world.loop().hook(function(delta, now){
var angle = 0.1 * now * Math.PI * 2;
object3d.get(0).rotation.x = angle;
object3d.get(0).rotation.y = angle;
});
</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.