I finally got it working......nice graphics and pretty good memory and cpu usage. I found rotating to be difficult to control. It would be nice if you had something akin to "snap to grid", because trying to stop the rotation
at 90 degree points was tricky. Like if you are within 10 degrees of 90, it would snap to 90 upon mouse-button-1 release. Also maybe link keys 1,2,3 to controlling which axis of freedom is selected, as relying on just the mouse is cumbersome. An "auto-solve" feature would be cool, snapshoting each move into an animated gif or something.
But beyond the Rubic's Cube game, I think you are on to something. The 3-d control is pretty good if you ask me, and this could be generalized into something like visualizing warehouse inventories stacked in 2-d aisles, or other such real world usage. I'll have to study how you did it. :-)