Torus Stereographic Projection

This demo shows a stereo projection from a torus (1/sqrt(2))*(cos(u),sin(u),cos(v),sin(v)) sitting on the unit 3-sphere to 3-space. The projection is given by (x,y,z,w) to (x,y,z)*(1/(1-w)).