0
$\begingroup$

I have an ellipse where the radius of x-axis = 100 and y-axis = 30. I have 3 objects where I want to evenly distribute it along the ellipse.

I have already done this for a circle where both axis' are the same, ex: radius x-axis=100 and y-axis = 100. I did:

  • evenSpace = 360/3.

Object1 (x,y) = (100 * cos(120*180*1) , 100 * sin(120*180*1).

Object2 same thing but instead of '1', it's 2.

Object3 same thing but instead of '1', it's 3.

This worked out fine for a circle, but with an ellipse I can't get it to work because the x-axis radius is much longer than the y-axis. Any help people? Thanks in advance.

  • 0
    You will need to use an elliptic integral (of the second kind) for this.2012-01-05
  • 0
    @J.M. Can you give more detail, how this will work?2012-04-05
  • 0
    @draks: the arclength of an ellipse requires an elliptic integral of the second kind for representation. I distinctly recall posting something in another question how to obtain the elliptic integral, but I can't find it at the moment.2012-04-10
  • 0
    It depends on what the OP means by "evenly distributed". The responders are using "equal arc length", but another possibility could be "equal area of sectors from the center". These are the same for a circle, but different for an ellipse.2013-07-16

1 Answers 1