Closed longswordinhand closed 3 years ago
Hey @longswordinhand,
You can refer to this answer: https://github.com/andfanilo/streamlit-drawable-canvas/issues/15#issuecomment-687751606
center_x = left + radius * math.cos(angle * math.pi / 180)
center_y = top + radius * math.sin(angle * math.pi / 180)
Is the (left, top) the left-top point of the circle? I found there is an offset if I use it. Thanks.