Archives

Disjoint Cycles and Twist/Flip Parity Rules

I've been fooling around writing a virtual Rubik's cube program, initially simply as an exercise for teaching myself the Open GL 3D rendering API. In representing the puzzle I was led to assign each cublet an X,Y,Z coordinate specifying its starting position in the cube.
(-1,-1,-1) being the coordinate for the (left,down,back) cublet through to (1,1,1) being the coordinate for the (right,up,front) cublet. The transformed position and orientation of each cublet is then specified as an element of the O symmetry point group, there being a one to one correspondence between the 24 elements of the O point group and the 24 states a cublet may assume via Rubik cube face turns: 12 edge positions with two flip states each or 8 corner positions with 3 twist states each.