The document describes a program that draws and rotates a color cube using OpenGL. It defines vertex and color arrays to represent the cube. It also defines functions to draw the cube faces with the proper vertex colors and orientations. The main function initializes OpenGL, sets callbacks for display, idle, mouse, and reshape events, and runs the main loop. The idle callback rotates the cube along a selected axis, and mouse clicks select the rotation axis.