Ios 以圆形路径移动圆,如旋钮调谐

Ios 以圆形路径移动圆,如旋钮调谐,ios,math,Ios,Math,如何在圆形路径(如旋钮调谐)中移动圆?您能更具体一点吗?您想按度数还是按距离移动?你知道你在圆上的起点吗?你有一个假定的中心点吗?请提供更多细节。谢谢 xcord = centerX+(radius*cos(theta)) ycord = centerY+(radius*cos(theta)) put the circle in (xcord,ycord) increment theta by a small radian value.......

如何在圆形路径(如旋钮调谐)中移动圆?

您能更具体一点吗?您想按度数还是按距离移动?你知道你在圆上的起点吗?你有一个假定的中心点吗?请提供更多细节。谢谢
xcord = centerX+(radius*cos(theta))
ycord = centerY+(radius*cos(theta))


put the circle in (xcord,ycord)

increment theta by a small radian value.......