EnterFrame内 140 文字 forked from:Clock
incorporated satyr's http://wonderfl.net/code/b437452eff46a89f2f875c1037e61fd7742e255a
軽く1打目 EnterFrame 内 212文字
/**
* Copyright meat18 ( http://wonderfl.net/user/meat18 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/tYVn
*/
// forked from makc3d's EnterFrame内 141 文字
// incorporated satyr's http://wonderfl.net/code/b437452eff46a89f2f875c1037e61fd7742e255a
// forked from makc3d's EnterFrame内 148 文字 (ok, ok, cheating :)
// forked from nitoyon's EnterFrame内 151文字 forked from: Clock
// forked from meat18's EnterFrame内 155文字 forked from: Clock
// forked from meat18's EnterFrame内 156文字 forked from: Clock
// forked from Nicolas's EnterFrame内 158文字 forked from: Clock
// forked from nitoyon's EnterFrame内 168文字 forked from: Clock
// forked from meat18's forked from: EnterFrame内 192文字 forked from: Clock
// forked from bkzen's EnterFrame内 212文字 forked from: Clock
// forked from makc3d's Clock
// 軽く1打目 EnterFrame 内 212文字
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
addEventListener("enterFrame", function():void {
with(graphics)for(clear(),lineStyle(i=2);i<5;x=y=232)moveTo(m=Math,lineTo(m.sin(t=Date().split(/\W/)[++i]/(i%3?10:2))*i*50,-m.cos(t)*i*50))
});
}
}
}
//with(graphics)
// for(clear(),lineStyle(i=2);i<5;x=y=232)
// moveTo(m=Math,lineTo(
// m.sin(t=Date().split(/\W/)[++i]/(i%3?10:2))*i*50,-m.cos(t)*i*50))
// ただこのコードは時間によっては針の角度が若干ズレますよね・・・。