diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-06 12:24:48 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-05-06 12:24:48 +0200 |
| commit | 15a072db18e441db5aa9e5339341fa1a466b504a (patch) | |
| tree | b09b72c5f5b69784a664c9fd85297a462eca2396 /utils | |
| parent | 69535c84b64ea9d19e0e06f35b5866d2ca352d38 (diff) | |
| download | nissy-core-15a072db18e441db5aa9e5339341fa1a466b504a.tar.gz nissy-core-15a072db18e441db5aa9e5339341fa1a466b504a.zip | |
Add back documentation on transformations
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/TRANSFORMATIONS.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/TRANSFORMATIONS.txt b/utils/TRANSFORMATIONS.txt new file mode 100644 index 0000000..58446e8 --- /dev/null +++ b/utils/TRANSFORMATIONS.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Transformations can be either simple rotations or a rotation composed | ||
| 2 | with a mirroring. | ||
| 3 | |||
| 4 | Simple rotations are denoted by two letters corresponding to the faces | ||
| 5 | to be moved to the U and F positions, respectively. For example FD is | ||
| 6 | the rotation that brings the F face on top and the D face on front. | ||
| 7 | |||
| 8 | A composed rotation + mirror is obtained by applying the corresponding | ||
| 9 | rotation to the solved cube mirrored along the M plane. | ||
| 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 | |||
| 17 | The orientation of pieces after a rotation ignores the new position | ||
| 18 | of centers. A rotated cube can technically be inconsistent, because | ||
| 19 | the parity of the edge permutation has to be adjusted considering the | ||
| 20 | parity of the centers, which we ignore. | ||
| 21 | |||
| 22 | The utility script mirror.sh transforms a solved, rotated cube to its | ||
| 23 | mirrored and rotated version. | ||
