This is an experiment to test myself: Using only my knowlege of trigonometry and the unit circle, can I implement trigonometric functions?
The degree value is analyzed to determine what quadrant it's in. The angle's "progress" through the quadrant
(0 - 90 degrees) is expressed as a value between 0 and 1 (or -1 and 0, depending on the quadrant), which is then used
to approximate X and Y coordinates.
These coordinates are then scaled to an arbitrary radius length (the higher, the more accurate) and then normalised
as a point on the unit circle to determine sine and cosine values.
The conversion of polar values to rectangular form is innacurate. It assumes X and Y values change as the angle does in a linear fashion, but this is not the case.
Using calculus, I should be able to determine the relationship between the angle and unit circle coordinates. I can then incorporate it into my polar -> rectangular coordinate conversion code, and acheive better accuracy.