circular rotation 
Author Message
 circular rotation

firstly i make a circle using:
circle(100,100,20); (in graph mode)
now i want a smaller filled yellow circle to move around this orbit
how do i calculate its orbit?
I want it to move round the center of the bigger circle
and the radius to be 5 (circle(x,y,5);
Thanks
/martin


Wed, 18 Jun 1902 08:00:00 GMT  
 circular rotation

Quote:

> firstly i make a circle using:
> circle(100,100,20); (in graph mode)
> now i want a smaller filled yellow circle to move around this orbit
> how do i calculate its orbit?
> I want it to move round the center of the bigger circle
> and the radius to be 5 (circle(x,y,5);

Apply trigonometry.  For angles in degrees,

  x := xcent+radius*cos(angle*pi/180);
  y := ycent+radius*sin(angle*pi/180);

Quote:
> Thanks
> /martin

--
Scott Earnest            | SPAM protection in effect. Remove  |





Wed, 18 Jun 1902 08:00:00 GMT  
 circular rotation

Quote:


> > firstly i make a circle using:
> > circle(100,100,20); (in graph mode)
> > now i want a smaller filled yellow circle to move around this orbit
> > how do i calculate its orbit?
> > I want it to move round the center of the bigger circle
> > and the radius to be 5 (circle(x,y,5);

> Apply trigonometry.  For angles in degrees,

>   x := xcent+radius*cos(angle*pi/180);
>   y := ycent+radius*sin(angle*pi/180);

> > Thanks
> > /martin

> --
> Scott Earnest            | SPAM protection in effect. Remove  |




thanks


Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. 'Circular data links' hard to find

2. Circular reference

3. Help deciphering "Circular Datalink" error message

4. Circular reference

5. how to move a ball on a circular path

6. Deque in linear arrary or circular array

7. circular reference

8. circular reference

9. Circular unit reference - how to solve

10. DELPHI:Calling a hidden FORM without circular ref.

11. Q. D5: circular data links are not allowed

12. Error: Circular Datalinks Are Not Allowed

 

 
Powered by phpBB® Forum Software