Cell Shadows

A four-dimensional polytope turns in ℝ⁴. We see the 2D shadow of its 3D shadow.

1 · Two shadows, in a chain

Rotate every vertex by an element of SO(4), then project twice: along w from a viewpoint at distance d4 (ℝ⁴ → ℝ³), then along z from distance d3 (ℝ³ → ℝ²). Perspective scales each point by

p ↦ p · d / (d − h)  with h = w then z

A viewpoint inside the model (d ≤ h) has no shadow: those vertices are clipped, never mirrored. SO(4) has six rotation planes, xy xz xw yz yw zw. A rotation in xy commutes with one in zw but not with one in xw, so the order of turns matters.

2 · Turn it

Rotation rate per plane (rad/s)

Camera and isoclinic motion

ℝ³ shadow, seen from a fixed oblique camera (axes at lower left)
ℝ² shadow of that shadow: the end of the chain. Nearer in w is brighter and thicker.

3 · What the counts say

Each polytope carries its vertices, edges, 2-faces and 3-cells as lists, so the f-vector (v, e, f, c) above is counted, not typed in. The boundary of every 4-polytope satisfies v − e + f − c = 0. The tesseract (16, 32, 24, 8) and the 16-cell (8, 24, 32, 16) are duals: each f-vector is the other reversed. The tests check all of this, that rotations preserve edge lengths, and that perspective separates vertices which orthographic projection collapses.

Provenance
run scripts/provenance.sh to generate provenance.js