X,Y Position of points on circle with n segments

38 Views Asked by At

I am trying to create the script.

Known things are:

  • s: Number of segments
  • sR: Segment distance from centre (from 0 to 1(point on edge))

Important thing is start point and always go clockwise

What I need is some equation which I can place into loop and calculate s X and Y for each iteration

I am pretty bad at math but I did some tests and think sin function can help.

https://prnt.sc/haq1nn

https://prnt.sc/haq71w