A cross polytope is a higher-dimensional analog of the octahedron. The rotation of the 4D cross polytope, whose vertices have coordinates all zero except one either ±1, is the composite of rotations in the

,

, and

planes, in that order. Combined with
Mathematica's built-in rotation of 3D graphics, this gives all six degrees of freedom of four-dimensional rotations. The bounding tetrahedra are drawn in the order from least

coordinate to greatest. If all the opacities are set to one, the display shows the tetrahedra "visible" from out on the positive

axis. The projection is from a point on the positive

axis onto the

hyperplane; the resulting 3D figure is then projected onto the screen by the normal
Mathematica 3D graphics. The positive

,

,

, and

axes of the cross polytope may be shown; these rotate with the cross polytope, which helps illustrate how the rotations work. The opacity sliders are labeled according to the nonzero coordinates of the vertices of one of the corresponding pairs of bounding tetrahedra (in the order

). Each tetrahedron has one vertex on each of the four axes.