Rotating a Tesseract in Perspective

A tesseract (or hypercube) is the 4D analog of the cube in 3D. It is constructed by translating a unit cube one unit perpendicular to the 3-space of the cube. The resulting 4D object is rotated in 4D and projected to 3-space in perspective.