The idea is to use OpenGL and some simple C code to display a 3D cube. With the mouse you can define which LED should be on or off on a particular frame. With this technique, you can define whole sequences of frames to form animations.