Inside a 3-torus manifold double with distinct sky textures on each side of the wormhole
This program renders the interior of a 3-torus manifold double: two copies of a flat 3-torus (cube with opposite faces identified) connected by a central wormhole. The metric smoothly interpolates between S2xE geometry at the wormhole throat and flat Euclidean space elsewhere, with geodesic flow computed by RK4 integration. Each copy of the 3-torus has a different sky texture mapped to its outer boundary sphere, so the two universes are visually distinguishable when light passes through the wormhole.
Controls: WASD to rotate, arrow keys to translate.