Quote Originally Posted by realMakc View Post
the /20 part is because of your own choice in for( var i : int = 0; i < 20; i++ ), while i goes from 0 to 19, i/20 goes from 0 to (a little less than) 1.

to turn circle into ellipse you obviously need to multiply sin and cos by different numbers, not both 70.

also, I think "i * " part before sin/cos is pointless.

Yep, what he said.

i/20 gives you a percentage which you multiply by Math.PI*2 (360 degrees) to get a full circle.

The "i *" part is necessary to have a spiral rather than an ellipse.