Each seed is placed using polar coordinates, consisting of an angle from the x axis, and a radius, or distance from the origin..
The radius is converted to Cartesian coordinates, x and y, using cos and sin.
An angle 360 degrees is the same as an angle of 2*PI radians.
222.4922 degrees plus 137.5078 degrees, equals 360 degrees.
Point 1 is located at 222.4922 degrees = (-1) * 137.5078 degrees. Radius = sqrt(1).
Point 2 is located at (-2) * 137.5078 degrees. Radius = sqrt(2).
Point 3 is located at (-3) * 137.5078 degrees. Radius = sqrt(3).
- Brian
|