How to calculate the position of a point on the edge of the circle?

I'm trying to place the center of the circle to the edge of another circle using JS: https://prnt.sc/gv2sbz
Can't use CSS, as it is for react-native. But I am unable to use position: absolute
June 14th 19 at 18:21
1 answer
June 14th 19 at 18:23
x = x + cos(a) * R, y = Y + sin(a) * R, where
the x, y coordinates of the center of the small circle;
The X, Y coordinates of the center of a large circle;
a — angle;
R is the radius of the base circle.
59db434976c9e941294772.jpeg
, fill, please, the question, as a question, not as comment, I will gladly answer - gerson_Cole29 commented on June 14th 19 at 18:26
I created the question. link. - issac.Kozey commented on June 14th 19 at 18:29

Find more questions by tags GeometryJavaScriptMathematics