Rubik's Cube

Rubik's Cube is a 3-D combinational puzzle.

Instructions

Click 2-9 to set the size of the cube.

Left mousebutton click and drag a disc to rotate it.

Left mousebutton click and drag outside of the cube to perform a 90 degree constrained rotation over either x, y or z axis

(left/right/up/down on either the left or right side of the cube).

Middle mousebutton scroll over a disc to rotate it.

Middle mousebutton click and drag to orbit the camera freely.

Right click to undo one move.

Press D to toggle some debug info.