+ 5

How to make a circle move in an elliptical orbit?

Hey I. Want to make a circle revolve around a bigger circle How can I do that If possible can u write it in code a give it to me or u may simply explain to me Help!😅

25th Aug 2019, 7:54 AM
Justin
Justin - avatar
6 Réponses
+ 4
Perhaps the parametric form of the equation of an ellipse might come in handy.
25th Aug 2019, 10:42 AM
Sonic
Sonic - avatar
+ 4
King Coder [ # Remember Forever ] , e.g. The coordinates of a point on an ellipse can be written as: x=a cos(t), y= b sin(t), where t is a parameter representing the angle between the x axis and the radial line from the origin to the point. Maybe the following link might help? http://www.nabla.hr/PC-Ellipse3.htm#The%20parametric%20equations%20of%20the%20ellipse
25th Aug 2019, 2:14 PM
Sonic
Sonic - avatar
+ 2
I mean I want my circle to move horizontally rather than vertically To create an effect like it is passing in front of the bigger circle.. Help me out 😓 and using css .if possible
25th Aug 2019, 9:13 AM
Justin
Justin - avatar
+ 2
Calviղ My code is not working even if I write you piece of code.. Please check it out and correct me
25th Aug 2019, 2:02 PM
Justin
Justin - avatar
+ 2
Sonic Please elaborate more on what u mean I cannot understand you
25th Aug 2019, 2:03 PM
Justin
Justin - avatar