forked from: Frocessingによるプログラム

by _shimizu forked from Graphicsによるプログラム (diff: 18)
♥0 | Line 21 | Modified 2010-01-01 20:15:03 | MIT License
play

ActionScript3 source code

/**
 * Copyright _shimizu ( http://wonderfl.net/user/_shimizu )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/ur4Q
 */

// forked from _shimizu's Graphicsによるプログラム
package {
	import flash.utils.IDataInput;
    import flash.display.Sprite;
    import frocessing.core.F5Graphics2D;
    import frocessing.core.F5C;
    [SWF(width=465, heigh=465, backgroundColor=0)]
    public class FlashTest extends Sprite {
        public function FlashTest() {
        		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);
        		}		            
        }
    }
}