Dimensional Hyperspace Simulation

Hypercube in 4D space, projected to your screen.

Rotation (4D has 6 planes)

Sliders are angular speeds (rad/s). Drag on the canvas to rotate in XZ / YZ by hand.

Live measurements

Vertices / edges / faces / cells16 / 32 / 24 / 8 Euler V-E+F-C0 Edge length drift0 Vertex radius |v| (expect 2)2 Projected 3D volume of cell (w-scale)- Check-

Rotating in a plane that includes W turns the inner cube into the outer one: the "inside-out" motion is not a deformation, only a projection effect.

The science

A tesseract (4-cube) has 24=16 vertices at (±1,±1,±1,±1), 4·23=32 edges (pairs differing in exactly one sign), 24 square faces and 8 cubic cells. Euler characteristic: V−E+F−C = 16−32+24−8 = 0.

Rotations in 4D happen in planes, not about axes: there are C(4,2)=6 planes. Each is a Givens rotation, e.g. in XW: x'=x cosθ−w sinθ, w'=x sinθ+w cosθ. They preserve all lengths, so every edge stays 2 and every vertex stays at |v|=2.

Display: perspective 4D→3D, p3=pxyz·D4/(D4−w), then 3D→2D, p2=pxy·D3/(D3−z). Vertex colour encodes w.

Simplification: hyperspace here means the mathematical 4th spatial dimension; this is not a claim about physical extra dimensions.