diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
| commit | b218c803ae1110b08b4896be0a59177e280c9091 (patch) | |
| tree | 5be2f99b20f968d3f3649f1064d60acf059f49b6 /utils/cubes/TRANSFORMATIONS.txt | |
| parent | c5c5017a335208881e27fc8f72c1d0145a04622a (diff) | |
| download | nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.tar.gz nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.zip | |
sorted utils folder
Diffstat (limited to 'utils/cubes/TRANSFORMATIONS.txt')
| -rw-r--r-- | utils/cubes/TRANSFORMATIONS.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/cubes/TRANSFORMATIONS.txt b/utils/cubes/TRANSFORMATIONS.txt new file mode 100644 index 0000000..58446e8 --- /dev/null +++ b/utils/cubes/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. | ||
