aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TRANSFORMATIONS.txt6
-rwxr-xr-xutils/mirror.sh2
-rw-r--r--utils/transform_moves.txt95
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.
8A composed rotation + mirror is obtained by applying the corresponding 8A composed rotation + mirror is obtained by applying the corresponding
9rotation to the solved cube mirrored along the M plane. 9rotation to the solved cube mirrored along the M plane.
10 10
11For 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
11The orientation of pieces after a rotation ignores the new position 17The orientation of pieces after a rotation ignores the new position
12of centers. A rotated cube can technically be inconsistent, because 18of centers. A rotated cube can technically be inconsistent, because
13the parity of the edge permutation has to be adjusted considering the 19the 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
3sed 's/R/l/g ; s/L/R/g ; s/l/L/g' 3tr '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 @@
1UFr U U
2UFr R R
3UFr F F
4
5ULr U U
6ULr R F
7ULr F L
8
9UBr U U
10UBr R L
11UBr F B
12
13URr U U
14URr R B
15URr F R
16
17DFr U D
18DFr R L
19DFr F F
20
21DLr U D
22DLr R B
23DLr F L
24
25DBr U D
26DBr R R
27DBr F B
28
29DRr U D
30DRr R F
31DRr F R
32
33RUr U R
34RUr R F
35RUr F U
36
37RFr U R
38RFr R D
39RFr F F
40
41RDr U R
42RDr R B
43RDr F D
44
45RBr U R
46RBr R U
47RBr F B
48
49LUr U L
50LUr R B
51LUr F U
52
53LFr U L
54LFr R U
55LFr F F
56
57LDr U L
58LDr R F
59LDr F D
60
61LBr U L
62LBr R D
63LBr F B
64
65FUr U F
66FUr R L
67FUr F U
68
69FRr U F
70FRr R U
71FRr F R
72
73FDr U F
74FDr R R
75FDr F D
76
77FLr U F
78FLr R D
79FLr F L
80
81BUr U B
82BUr R R
83BUr F U
84
85BRr U B
86BRr R D
87BRr F R
88
89BDr U B
90BDr R L
91BDr F D
92
93BLr U B
94BLr R U
95BLr F L

Generated with cgit - Back to sebastiano.tronto.net