diff options
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/TRANSFORMATIONS.txt | 6 | ||||
| -rwxr-xr-x | utils/mirror.sh | 2 | ||||
| -rw-r--r-- | utils/transform_moves.txt | 95 |
3 files changed, 102 insertions, 1 deletions
diff --git a/utils/TRANSFORMATIONS.txt b/utils/TRANSFORMATIONS.txt index 6ff6946..58446e8 100644 --- a/utils/TRANSFORMATIONS.txt +++ b/utils/TRANSFORMATIONS.txt | |||
| @@ -8,6 +8,12 @@ the rotation that brings the F face on top and the D face on front. | |||
| 8 | A composed rotation + mirror is obtained by applying the corresponding | 8 | A composed rotation + mirror is obtained by applying the corresponding |
| 9 | rotation to the solved cube mirrored along the M plane. | 9 | rotation to the solved cube mirrored along the M plane. |
| 10 | 10 | ||
| 11 | For example, to apply the transformation RBm (mirrored RB) to a cube C: | ||
| 12 | 1a. Apply a mirror along the M plane to the solved cube | ||
| 13 | 1b. Rotate the mirrored cube with z' y2 | ||
| 14 | 3. Apply the cube C to the transformed solved cube | ||
| 15 | 4. Apply the transformations of step 1a and 1b in reverse | ||
| 16 | |||
| 11 | The orientation of pieces after a rotation ignores the new position | 17 | The orientation of pieces after a rotation ignores the new position |
| 12 | of centers. A rotated cube can technically be inconsistent, because | 18 | of centers. A rotated cube can technically be inconsistent, because |
| 13 | the parity of the edge permutation has to be adjusted considering the | 19 | the parity of the edge permutation has to be adjusted considering the |
diff --git a/utils/mirror.sh b/utils/mirror.sh index 57b02d1..41a434f 100755 --- a/utils/mirror.sh +++ b/utils/mirror.sh | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | sed 's/R/l/g ; s/L/R/g ; s/l/L/g' | 3 | tr 'LR' 'RL' |
diff --git a/utils/transform_moves.txt b/utils/transform_moves.txt new file mode 100644 index 0000000..469008b --- /dev/null +++ b/utils/transform_moves.txt | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | UFr U U | ||
| 2 | UFr R R | ||
| 3 | UFr F F | ||
| 4 | |||
| 5 | ULr U U | ||
| 6 | ULr R F | ||
| 7 | ULr F L | ||
| 8 | |||
| 9 | UBr U U | ||
| 10 | UBr R L | ||
| 11 | UBr F B | ||
| 12 | |||
| 13 | URr U U | ||
| 14 | URr R B | ||
| 15 | URr F R | ||
| 16 | |||
| 17 | DFr U D | ||
| 18 | DFr R L | ||
| 19 | DFr F F | ||
| 20 | |||
| 21 | DLr U D | ||
| 22 | DLr R B | ||
| 23 | DLr F L | ||
| 24 | |||
| 25 | DBr U D | ||
| 26 | DBr R R | ||
| 27 | DBr F B | ||
| 28 | |||
| 29 | DRr U D | ||
| 30 | DRr R F | ||
| 31 | DRr F R | ||
| 32 | |||
| 33 | RUr U R | ||
| 34 | RUr R F | ||
| 35 | RUr F U | ||
| 36 | |||
| 37 | RFr U R | ||
| 38 | RFr R D | ||
| 39 | RFr F F | ||
| 40 | |||
| 41 | RDr U R | ||
| 42 | RDr R B | ||
| 43 | RDr F D | ||
| 44 | |||
| 45 | RBr U R | ||
| 46 | RBr R U | ||
| 47 | RBr F B | ||
| 48 | |||
| 49 | LUr U L | ||
| 50 | LUr R B | ||
| 51 | LUr F U | ||
| 52 | |||
| 53 | LFr U L | ||
| 54 | LFr R U | ||
| 55 | LFr F F | ||
| 56 | |||
| 57 | LDr U L | ||
| 58 | LDr R F | ||
| 59 | LDr F D | ||
| 60 | |||
| 61 | LBr U L | ||
| 62 | LBr R D | ||
| 63 | LBr F B | ||
| 64 | |||
| 65 | FUr U F | ||
| 66 | FUr R L | ||
| 67 | FUr F U | ||
| 68 | |||
| 69 | FRr U F | ||
| 70 | FRr R U | ||
| 71 | FRr F R | ||
| 72 | |||
| 73 | FDr U F | ||
| 74 | FDr R R | ||
| 75 | FDr F D | ||
| 76 | |||
| 77 | FLr U F | ||
| 78 | FLr R D | ||
| 79 | FLr F L | ||
| 80 | |||
| 81 | BUr U B | ||
| 82 | BUr R R | ||
| 83 | BUr F U | ||
| 84 | |||
| 85 | BRr U B | ||
| 86 | BRr R D | ||
| 87 | BRr F R | ||
| 88 | |||
| 89 | BDr U B | ||
| 90 | BDr R L | ||
| 91 | BDr F D | ||
| 92 | |||
| 93 | BLr U B | ||
| 94 | BLr R U | ||
| 95 | BLr F L | ||
