#tweetcoding コンテスト
140文字以下のActionscriptでスゲーの作ったやつがエライなコンテスト(多分)。
http://gskinner.com/playpen/tweetcoding.html
Gimme code.
g=graphics; mt=g.moveTo; lt=g.lineTo; ls=g.lineStyle; m=Math; r=m.random; s=m.sin; i=0; o={}; function f(e){/*src*/} addEventListener("enterFrame",f); |
ルールは単純
1.Gimme codeを変更せずに/*src*/
の部分に140文字以内でコードを書く
2.ターゲットプレイヤーはFlash Player 10
3.Flash CS4でパブリッシュできる
4.パブリッシュ設定の「Strict モード」はオフにする
サンプルコードが掲載されている。
if(i>400)return; if(i++<1){x=275;y=200} ls(3,r()*1e7,1); mt(s(i/9)*i,m.cos(i/9)*i); lt(s(i/9)*200,m.cos(i/9)*200); |
Mario Klingemann さん(もう一つのColorMatrix Classで有名)もいくつかコードを書いている。
#tweetcoding round 1 – alien vacation
#tweetcoding round 1 – 1967 / boids
#tweetcoding round 1 – a few more
できるんだネ!