In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

flash on 2009-6-29

http://gihyo.jp/design/feature/01/frocessing/0002
を参考に色々描いてみようかなと。
Get Adobe Flash player
by yokozunat 28 Jun 2009
    Embed
/**
 * Copyright yokozunat ( http://wonderfl.net/user/yokozunat )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/mWBw
 */

package {
	/*
        http://gihyo.jp/design/feature/01/frocessing/0002
        を参考に色々描いてみようかなと。
        */
	import frocessing.display.F5MovieClip2D;
	
        [SWF(width=500,height=500,backgroundColor=0xFFFFFF)]
	public class BasicDesign01 extends F5MovieClip2D
	{
		private var n:int = 30;
		private var t:Number = 0;
		private var l:Number;
		
		public function BasicDesign01()
		{
			fill(30);
			noStroke();
                        var i:int;
                        var j:int;
                           
			for(i=0; i<n; i++)
			{
				translate( 500/n, 0);
				
				for(j=0; j<n; j++)
				{
					translate( 0, 500/n);
					l = noise( i * 0.25, t)*10;
					circle(-500/n/2, -500/n/2, l/2);
					t += 1/n/10
				}
				translate( 0, -500);
				
			}
		}
	}
}