Skip to main content

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 faces
  • RMLUDFBw2xy' describes the algorithm
  • whitespace 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

  • Standard algorithms in Metro notation (pdf, pptx)

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 hashes)

Uploaded Source

Built Distribution

metro_notation-0.8.0-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page