an interactive example that visualizes different axes of rotation on a torus shape.

angleMode(DEGREES)

rotateX(180.0)
rotateY(180.0)
rotateZ(180.0)