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 2011-1-28

円を敷き詰める
@author shmdmoto
Get Adobe Flash player
by swndfl 27 Jan 2011
    Embed
/**
 * Copyright swndfl ( http://wonderfl.net/user/swndfl )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/wf6r
 */

package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 円を敷き詰める
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var i:int, j:int;
			
            var size:Number;
			
            //ellipseMode(CORNER);
			
            colorMode(HSB, 360,100,100,100);
            noStroke();
            for( i = 0 ; i <= 8 ; i++ ) {
                for( j = 0 ; j <= 8 ; j++ ) {
                   //fill( random(0,60), 100, 100);
                   //ellipse(50 * j, 50 * i, 50, 50);
				   
                   size = random(20,50);
                   fill(random(0,60), random(0,100), random(0,100));
                   ellipse(50*j, 50*i, size, size);
                }
            }
        }
    }
}