Stable hypercube projection for dimensions 3 through 13. The 4D case uses the classic north-pole perspective tesseract projection.
(X,Y,Z)=2R(x,y,z)/(R-w).
For dimensions above 4, the code uses one pole-perspective step
(X,Y,Z)=2R(x₁,x₂,x₃)/(R-xₙ) after rotation in n-space.
The extra dimensions still affect the picture through rotation, but the projection no longer iterates through several singularities.