Re: repeatedly computing sin(A)/sin(B)/etc: I don't remember why I did that, as it was five years ago, but it was probably intentional just to move code around so it fit within the shape. Or it was an oversight.
IIRC, yes, 5 and 2 are the major and minor radii, meaning 5 is the radius of the ring at the center of the donut (a torus of thickness 0, as it were) and 2 is the thickness -- the radius of the circle extruded around the central ring.
IIRC, yes, 5 and 2 are the major and minor radii, meaning 5 is the radius of the ring at the center of the donut (a torus of thickness 0, as it were) and 2 is the thickness -- the radius of the circle extruded around the central ring.