topical media & game development
mobile-query-game-tests-human-transformation-test2.htm / htm
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="../../../jquery.gamequery.js"></script>
<script>
$(function(){
var animation = new .gameQuery.ANIMATION_HORIZONTAL, numberOfFrame: 4, delta: 32, rate: 300});
$("#playground").playground({height: 64, width: 350});
.playground().registerCallback(function(){
$("#aRotateScale").rotate(angle).scale(2);
$("#scaleARotate").scale(2).rotate(1, true);
$("#rotateAScale").rotate(45).scale(Math.cos(angle/360*Math.PI*2)*2);
$("#aScaleRotate").scale(-Math.cos(angle/360*Math.PI*2)*2).rotate(45);
angle -= 1;
angle %= 360;
}, 30);
(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.