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: frocessing test

Get Adobe Flash player
by itkr 15 Jun 2011
/**
 * Copyright itkr ( http://wonderfl.net/user/itkr )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/fks7
 */

// forked from itkr's frocessing test
package  {
    
    import frocessing.display.F5MovieClip2DBmp;
    import flash.geom.ColorTransform;
    
    public class Main extends F5MovieClip2DBmp{
        private var ct:ColorTransform = new ColorTransform(0.9,0.9,0.9);
        public function draw():void{
            noStroke();
            for(var i:int=0;i<30;i++){
                fill(random(0x3366ff));
                circle(random(0,460),mouseY+random(-30,30),1.5*random(5));
            }
            for(i=0;i<30;i++){
                fill(random(0x3366ff));
                circle(mouseX+random(-30,30),random(0,460),1.5*random(5));
            }
            bitmapData.colorTransform( bitmapData.rect, ct );
        }
    }
}