Wednesday 18 February 2009

#tweetcoding Line Dance

One for the coders out there. GrantSkinner (flash guru) has started a little twitter AS3 contest: http://gskinner.com/playpen/tweetcoding.html its actually pretty fun, wrote my first little one at lunch today:

!i++?o.x=o.y=o.w=o.v=0:x-=4;a=mouseX;b=mouseY;o.v+=(a-o.x)/9;o.w+=(b-o.y)/9;o.x+=o.v*=0.9;o.y+=o.w*=0.9;ls(2,i<<i);mt(a,b);lt(o.x,o.y);
137 chars, tho its defiantly possible to cut that one down abit more.


Here is it running (move your mouse over the swf):



As i say, this one is for the coders out there ;)

Link to skinner on twitter: http://twitter.com/gskinner/

No comments:

Post a Comment