Please be patient while the applet is loaded (60K)...

Interaction ControlsDragging the mouse will rotate threespace around an axis within the plane of the screen.
Dragging with the middle mouse button, or while the
Dragging with right mouse button, or while the The readout at the bottom represents the rotation matrix for the coordinate axes (see below). Because the 4D to 2D projection is orthographic rather than in perspective, it is sometimes hard to tell what is in front and what is behind (far away things do not get smaller). Look at the colors at the overcrossings to get your orientation back if you get confused. All the line segments that are the same color are parpallel to the same coordinate axis. When you are done with the demonstration, click on the up button at the top of this page, or use your browser's back button to go back to the previous page.
This demonstration is one of a series: you can return to the

You can add the squares of the components in each column to see that the length of either coordinate vector remains the same, i.e. equal to one, throughout the rotation.
Also, for those familiar with the dot product, it is possible to check that the columns of this array, or matrix as it is known, are perpendicular throughout. Any matrix whose columns form mutually perpendicular vectors is called an orthogonal matrix.
Once we know the positions of the four axes, we can apply the same rotation to any fourdimensional figure at all. In this case, we rotate a hypercube (the figure in fourspace that is analogous to the cube in threespace and the square in twospace) along with the axes. This is the basis of the rotations that show up in computer animation, and in other applications in computer graphics to both threespace and fourspace.

