JOGL Applet
Use the mouse to rotate the cube.
Keys: UP, DOWN, LEFT, RIGHT, PgUp, PgDown to change the rotational speed.
Keys: 'a', 'd', 'w', 's', 'q', 'z' to reposition the cube.
Keys: 'b' to toggle bending, 'p' to toggle pause/resume ratotion.