I need to be able to plot points on an ellipse at equal intervals. I will know the width(2a), height(2b) and the interval(say 16). So I will need 16 points and the angle from the origin will increase by 360 / 16 = 22.5
I have already got this working within the first quadrant using this link: http://mathforum.org/library/drmath/view/54922.html
t = 22.5 * (PI / 180)
q = arctan(a*tan(t)/ b)
x = a * cos(q)
y = b * sin(q)
So what I need is a way to tweak this formula to work in the other quadrants. I am at a loss for where to start.
I have already got this working within the first quadrant using this link: http://mathforum.org/library/drmath/view/54922.html
t = 22.5 * (PI / 180)
q = arctan(a*tan(t)/ b)
x = a * cos(q)
y = b * sin(q)
So what I need is a way to tweak this formula to work in the other quadrants. I am at a loss for where to start.