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

F5GraphicsSample1

Get Adobe Flash player
by nutsu 22 Sep 2009
/**
 * Copyright nutsu ( http://wonderfl.net/user/nutsu )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/qALj
 */

package {
    
    import flash.display.Sprite;
    import frocessing.core.F5Graphics2D;
    import frocessing.core.F5C;
    
    [SWF(width=465,height=465,backgroundColor=0)]
    public class F5GraphicsSample1 extends Sprite{
        
        public function F5GraphicsSample1() {
            var fg:F5Graphics2D = new F5Graphics2D( graphics );
            fg.stroke( 255, 0.1 );
            fg.fill( 255, 32, 32, 0.1 );
            fg.translate( 232, 232 );
            fg.rectMode( F5C.CENTER );
            for ( var i:int = 0; i < 48; i++ ) {
                fg.rect( 0, 0, 400, 26 );
                fg.rotate( Math.PI / 24 );
            }
        }    
    }
}