Graphics05

by 178ep3
♥2 | Line 25 | Modified 2009-12-21 22:33:02 | MIT License
play

ActionScript3 source code

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

package
{
	import flash.display.Shape;
	import flash.display.Sprite;

	public class SampleGraphics extends Sprite
	{
		public function SampleGraphics()
		{
			var i:uint=0;
			var q:uint=0;
			for(i=0; i<4; i++)
			{
				var shape:Shape = addChild(new Shape())as Shape;
				shape.x = shape.y = 233.5;
				shape.rotation = i*90;
				for(q=0; q<300; q++)
				{
					shape.graphics.lineStyle(1,0,0.4);
					shape.graphics.drawEllipse(0,0,0.02*q*q,-0.02*q*q+200);
					shape.graphics.endFill();
				}	
			}
		}
		
	}
}

Forked