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

静止画像の課題1

円を敷き詰める
@author shmdmoto
Get Adobe Flash player
by aaaaaz025 20 Oct 2010
/**
 * Copyright aaaaaz025 ( http://wonderfl.net/user/aaaaaz025 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/8V1y
 */

// forked from shmdmoto's 円を直径より短い間隔で並べる
package 
{
    import frocessing.display.F5MovieClip2D;
    /**
     * 円を敷き詰める
     * @author shmdmoto
     */
    public class GraphicExample extends F5MovieClip2D
    {
        public function setup() : void
        {
            var i:int, j:int;
            ellipseMode(CENTER);
            background(0,0,0);
            noFill()
            for( i = 0 ; i <= 26 ; i++ ) {
                for( j = 0 ; j <= 26 ; j++ ) {
                    strokeWeight(8);
                    stroke(random(200,255),255,255);
                    ellipse(70 * j, 70 * i, 50, 50);
                    strokeWeight(12);
                    stroke(220,0,0);
                    ellipse(70 * j, 70 * i, 30, 30);
                    strokeWeight(12);
                    stroke(random(200,255),255,255);
                    ellipse(35 * j, 35 * i, 1, 1);
                }
            }
        }
    }
}