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

frocessing - lesson 3

ランダムな大きさの円を描く
Get Adobe Flash player
by mathatelle 12 Sep 2009
/**
 * Copyright mathatelle ( http://wonderfl.net/user/mathatelle )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/4lkd
 */

// forked from mathatelle's frocessing - lesson 2
// forked from mathatelle's frocessing - lesson 1
// ランダムな大きさの円を描く
package {
    import frocessing.display.*;
    public class FrocessingLesson extends F5MovieClip2DBmp{
    
        public function setup():void {
            //noLoop();
        }
            
        public function draw():void {
            var x:Number = random(width);
            var y:Number = random(height);
            var diameter:Number = random(6,30);
            ellipse(x, y, diameter, diameter);
        }
            
    }
}