To go the other way round you probably need to add a minus in front of the i and you would need to adjust the startangle value with the angle value :
pointX = baseX + radius * math.sin(math.radians(sideangle*(-i+0.5) + (startangle - angle)) pointY = baseY + radius * math.cos(math.radians(sideangle*(-i+0.5) + (startangle - angle))
Yeah, will get you there, didn’t test it, don’t intend to, good luck ![]()