Re: [Flashcoders] Distribute evenly over half a circle

2010-03-23 Thread Jiri
tnx Erik. Jiri On 23/03/2010 16:33, Mattheis, Erik (MIN - WSW) wrote: Half a circle is PI radians, so you'd increment by Math.PI / (totalNumbers - 1) Try - function plot():void { var totalNumbers:int = 5; var radius:Number = 30; var startAt:Number = Math.PI/2;

RE: [Flashcoders] Distribute evenly over half a circle

2010-03-23 Thread Mattheis, Erik (MIN - WSW)
Half a circle is PI radians, so you'd increment by Math.PI / (totalNumbers - 1) Try - function plot():void { var totalNumbers:int = 5; var radius:Number = 30; var startAt:Number = Math.PI/2; var arc:Number = Math.PI / (totalNumbers - 1); for (var