A script to generate the Pinkall stereo torus surface
The Pinkall stereo torus is a specific geometric surface in three-dimensional space obtained by stereographically projecting a flat torus from the four-dimensional sphere. It is famous for being a Willmore surface, meaning it minimizes a specific type of bending energy called total curvature.
The 3D Projected Coordinates (Stereographic Projection): x = x1 / (1 - x4) y = x2 / (1 - x4) z = x3 / (1 - x4) (Note: The variables u and v both range from 0 to 2 * pi).

