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 2010-2-18

Get Adobe Flash player
by aass 18 Feb 2010
    Embed
/**
 * Copyright aass ( http://wonderfl.net/user/aass )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/nFBi
 */

package {
    import flash.display.Sprite;
    import frocessing.core.F5Graphics2D;
    
    [SWF(width=465,height=465,backgroundColor=0)]
    public class F5GraphicsSample5 extends Sprite {
        public function F5GraphicsSample5() {
            // write as3 code here..
            var fg:F5Graphics2D = new F5Graphics2D(graphics);
            fg.colorMode("hsv", 465, 1, 465);
            for (var i:int = 0; i<400; i++){
            		var cx:Number = Math.random()*465;
            		var cy:Number = Math.random()*465;
            		var cr:Number = Math.random()*20;
            		//線と塗りの指定
            		if(Math.random()>0.5){
            			fg.noStroke();
            			fg.fill(cx,1,cy,0.25);
            		}else{
            			fg.noFill();
            			fg.strokeWeight(Math.random()*4);
            			fg.stroke(cx,1,cy);
            		}
              		//円の描画
            		fg.circle(cx,cy,cr);
            }
        }
    }
}