Scott Rossi wrote/ schreef:

> I'm wondering if someone good at geometric math might be able to figure out
> the following:  how to drag an object relative to the points of a
> non-vertical ellipse (an oval which is rotated by some odd measurement).
> 
> I'm trying to make a slider control that consists of a small ball which a
> user can drag along an elliptical path, rather than a straight line.  I'd
> like the ball to be able to be dragged completely around the ellipse without
> any stopping points -- in other words, be able to drag the ball infinitely
> clockwise or counterclockwise, if this makes sense.
> 
> Many months back someone on this list or the SuperCard list was kind enough
> to help me out with a mathematical script for dragging a control in a
> circular movement, but the rotation only worked for half a circle.  This was
> useful for a simple slider but I'd like to tackle something more complex
> now, either via math, or even better by some means of tracking the points of
> a polygon, since this would allow the slider control to follow any type of
> path.
> 
> Can this be done?
So you want three things:
1. A way to get all the pixels of an ellipse with its both radiuses and its
rotation.
2. A way to fix the movement of an object to a number co-ordinates.
3. A way to calculate the place of the object on the ellipse, if it was a
straight line.

Is that correct? If yes, I'll ask my dad, he studied math.

> Thanks & Regards,
> 
> Scott

Regards,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to