#### Archived

This topic is now archived and is closed to further replies.

# Ellipse Calculation

This topic is 5587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Pretty basic question. I''m calculating some points, I''m going to draw lines to each point to ultimately make an ellipse. Now I''m using the standard mathematical ellipse equation for this with a centre point an x radius and y radius. I''m pretty sure though that this method is flawed, and there is an easier method involving triangles. Basically I know there is a way to do this, for example if you take two stakes, put them in the gound, wrap a string around and put a pencil in the string, then pull the pencil until the string is taut, you can draw an ellipse. Since the string is always in a triangluar shape during this, this method must be possible Anyway. I was just wondering what the *best* method for ellipse calculation was in ppls opinions.

##### Share on other sites
i think the eq is the best, i dont think u cant program smth to strech a string as much as it can and put a pixel at that location

if u want to fill it then do this:

lets say r < R (the radiuses), where r is perpendicular to Ox

get the points on the right and left sides of r and draw a line between them, then go to the next ones.

##### Share on other sites
Thanks, filling is no problem.

I wasn''t referring to actually simulating the string thing, I just know its possible with triangles because of that.

1. 1
2. 2
3. 3
4. 4
frob
20
5. 5
JoeJ
20

• 11
• 11
• 12
• 13
• 9
• ### Forum Statistics

• Total Topics
632214
• Total Posts
3004853

×