Tesseract: 4D Hypercube

A 4-dimensional hypercube rotating in four dimensions, projected to your screen. 16 vertices, 32 edges, 24 faces, 8 cells.

XY / XZ Rotation

XW / YW Rotation

ZW Rotation & Style

Tesseract (Hypercube): The 4D analog of a cube. To rotate in 4D, we apply rotation matrices in the 6 independent planes: XY, XZ, XW, YZ, YW, ZW. Perspective projection from 4D→3D→2D creates the characteristic "cube within a cube" appearance. As it rotates, the inner and outer cubes continuously trade places.