Bamboo construction: Torus

This question is actually about math, not necessarily about Grasshopper, although eventually one would probably want to program the structure using Grasshopper.

Here it goes: How would one approximate a torus with straight lines, i.e. for construction with bamboo?

In bamboo construction, one ties the sticks together, as seen here - out of focus - in a picture that I took in Hong Kong of a bamboo scaffold: