-
Model an interactive 3x3 Rubik’s cube based on OpenGL
-
Every face of the Rubik’s Cube can rotate 90 degrees either clock wise or counter clock wise. Rotations are associate with keyboard keys.
-
Users can manually rotate the Rubik’s Cube by dragging a face
-
The Rubik's Cube is able to solve itself
-
Supports orthographical view
-
Users can change the “stickers” of the Rubik’s Cube, which is implemented by texture mapping.
- OpenGL
-
1 Reset the cube
-
C Snap to canonical view
-
F Rotate the front face clock wise
-
B Rotate the back face clock wise
-
R Rotate the right face clock wise
-
L Rotate the left face clock wise
-
U Rotate the up face clock wise
-
D Rotate the down face clock wise
-
SHIFT+F Rotate the front face counter clock wise
-
SHIFT+B Rotate the back face counter clock wise
-
SHIFT+R Rotate the right face counter clock wise
-
SHIFT+L Rotate the left face counter clock wise
-
SHIFT+U Rotate the up face counter clock wise
-
SHIFT+D Rotate the down face counter clock wise
-
SPACE Solve the cube