I guess the use of the trig functions look obscure. If it helps this is the formula I’m using that uses trig. All it does is rotate an xy point around 0,0 by some angle.
NewX =x*cos(a)-y*sin(a)
NewY =x*sin(a)+y*cos(a)
The cool thing about it is you can rotate other ways too such as xz, just replace the y with z in the formulas.
This is all I’m using that equation for:
// make a circle
Vector(radius1, 0, 0)
RotateXY(b)
//Then rotate the circle in an arc to make the rings.
Move(-radius1, 0, 0)
RotateXZ(a)
The equation I used is just all that combined and simplified. All the equations I ever use in my examples are like that, a combination of simple steps combined and simplified.