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

forked from: 円を縦横に並べる_2

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

// forked from nan05aur's forked from: 円を縦横に並べる_1
// 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(CORNER);
            for( i = 0 ; i <= 8 ; i++ )
            {
                for( j = 0 ; j <= i ; j++ )
                {
                    ellipse( 50 * j, 50 * i, 50, 50 );
                }
            }
            /*ellipse( 50 * 1, 50 * 1, 50, 50 );
            ellipse( 50 * 1, 50 * 2, 50, 50 );
            ellipse( 50 * 2, 50 * 2, 50, 50 );
            ellipse( 50 * 1, 50 * 3, 50, 50 );
            ellipse( 50 * 2, 50 * 3, 50, 50 );
            ellipse( 50 * 3, 50 * 3, 50, 50 );
            ellipse( 50 * 1, 50 * 4, 50, 50 );
            ellipse( 50 * 2, 50 * 4, 50, 50 );
            ellipse( 50 * 3, 50 * 4, 50, 50 );
            ellipse( 50 * 4, 50 * 4, 50, 50 );*/
        }
    }
}