Stereographically Nested Tori

I thought it would be cool to show how to make stereographically nested toroidal solenoids. Essentially, we make stereographically nested tori, and then we find their solenoid. In the code below there are functions which determine the two radii of the torus; namely, “radius” and “centershift”. Try setting different values for \toggleangle, and \frequency! Modifying the \toggleangle will produce…