The program uses these equations to calculate the position of a point on a circle.
X = R * Cos(theta)
Y = R * Sin(theta)
When the program's Timer fires, the code rotates two Line controls. For the first, it makes the Line's second end point rotate around its first end point.
The program rotates the second Line's end points around the line's center.
|