Thanks for sharing!

Rotating the torus eventually hits singularities and I cannot continue the rotation. Maybe use a different mechanism for rotations that do not suffer from "gimbal lock"?

Would also be nice to rotate the torus along the circular axis. That is, rotate pieces/rows from inside the doughnut hole to the outside.