+ 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!😅

6 Réponses

+ 4

Perhaps the parametric form of the equation of an ellipse might come in handy.

+ 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

+ 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

+ 2

Calviղ
My code is not working even if I write you piece of code..
Please check it out and correct me

+ 2

Sonic
Please elaborate more on what u mean
I cannot understand you