Rubik's cube algorithm visualizer
Project description
metro-notation
Visualize the Rubik's cube algorithms in a notation like a train route map that I call "Metro notation (メトロ記法)".
"Metro notation" focuses on the direction in which the force of each finger is applied.
Installation
pip3 install metro-notation
or
pip install metro-notation
Usage
metro-notation [filename]
Algorithm notation format
#
ignores up to the end of the line as a comment[name]
specifies the name of the following algorithm@
+ROBGWYrobgwy
describes the arrangement of the cube facesRMLUDFBw2xy'
describes the algorithmwhitespace
splits the algorithm into triggers----
splits the following algorithms into separate columns
#
# PLL algorithms
#
[Ua Perm]
@GGGRoRBrBObOwwwwwwwww
RU'RU RU RU'R'U' R2
[Z Perm]
@GrGRgRBoBObOwwwwwwwww
M2'U'M2'U' M'U2' M2'U2'M'
----
[Ra Perm]
@OwwwwwwRRBwBwwwwwwwww
RU'R'U' RURD R'U'RD' R'U2R'
[Gb Perm]
@OwOwwwBBwwwwwwwwwwwww
F'U'F R2UwR'U RU'RUw' R2'
Outputs
PLL Algorithms
OLL Algorithms
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metro-notation-0.8.0.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file metro-notation-0.8.0.tar.gz
.
File metadata
- Download URL: metro-notation-0.8.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99caa39c7b440bca09a8b2fdefdd9a95a13aa61a4649ee8d04961ee702bcade |
|
MD5 | 91e12b410535413c62fa6a4126a1bb92 |
|
BLAKE2b-256 | eca2b8861635c77fc921fe79d14179e61b7b6efa97d02343d01da67490122761 |
File details
Details for the file metro_notation-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: metro_notation-0.8.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319078ec1d628ea6166b77b04a47d96defbe7fac083c5e681eb93d3c532274e1 |
|
MD5 | 77535af989dbbda302e24b469dc1b053 |
|
BLAKE2b-256 | 741edb71c15708f2bd55689a2bba0440f48887ebbc8147b38d4f9eef855ae013 |