Fantastic! Works perfectly! 
 Thanks so much.
 - TJ

 On 9/13/05, Gordon Tillman <[EMAIL PROTECTED]> wrote: 
> 
> Hi TJ, 
>  
>  Hi folks 
>  Anyone know how I would calculate the points of a circle given a specific 
> number of required points and a massive radius. For example I'm looking to 
> generate a list of 7200 points that describe a circle with a radius of 
> 999999
>  Any ideas how to go about this?
>  Thanks,
>  - TJ
> 
> 
>  Something like this would do it...
> 
>  --gordy
> 
> 
>  function getCirclePoints pXOrigin, pYOrigin, pNumPoints, pRadius
> local tIncr, tTheta, tTwoPi, tX, tY, tPoints
> put pi * 2 into tTwoPi
> put tTwoPi / pNumPoints into tIncr
> put 0 into tTheta
> repeat pNumPoints times
> put pRadius * cos(tTheta) + pXOrigin into tX
> put pRadius * sin(tTheta) + pYOrigin into tY
> put tX & "," & tY & return after tPoints
> add tIncr to tTheta
> end repeat
> return tPoints
> end getCirclePoints
> 
>
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to