You could even use TinyGL to simplify the 3D, on the other hand there's a special way of displaying Rubik's Cubes. I believe you unravel it into a cross but make it so the edges are duplicated at both ends of the screen so you can see every edge of the cube (to make sure they match). It's certainly possible.