Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzhao271/pyra-ttf
Convert vertex-turning Pyraminx algorithms into face-turning ones
https://github.com/rzhao271/pyra-ttf
Last synced: 18 days ago
JSON representation
Convert vertex-turning Pyraminx algorithms into face-turning ones
- Host: GitHub
- URL: https://github.com/rzhao271/pyra-ttf
- Owner: rzhao271
- License: mit
- Created: 2020-06-20T02:02:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-18T22:45:29.000Z (almost 4 years ago)
- Last Synced: 2024-11-05T14:47:58.598Z (2 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pyra TTF
[![Travis (.com) branch](https://img.shields.io/travis/com/rzhao271/pyra-ttf/main)](https://travis-ci.com/github/rzhao271/pyra-ttf)
## About
Pyra TTF, or Pyraminx Tip-to-Face, is an application that takes pyraminx algorithms in WCA notation, and converts them to face-turning algorithms.
The original purpose of the application was to generate algorithms that can be applied to the cell-turning 4D pyraminx in MC4D, but it turns out that there is a way to solve it without resorting to RKT: [https://www.rayzz.me/articles/hypercubing/4-simplex-solution.html](https://www.rayzz.me/articles/hypercubing/4-simplex-solution.html).
## Requirements
- Python 3.8 or newer
## Example
Running
`python main.py "R U R' U R U R'"`
in a shell (assuming you're in the right directory) gives the output
`Lw Rw Dw' Fw Lw Dw Fw'`
Also included is a shell script so one can call `./pyrattf.sh "[algorithm]"` instead.
## Program Limitations
The algorithm must only contain moves that are either
- Part of valid [WCA Pyraminx notation](https://www.worldcubeassociation.org/regulations/#12e), though X2, X'2, and X2' moves are allowed, OR
- Face turns, such as Lw, Rw, Fw, and Dwseparated by spaces. Note that rotations are not allowed in the input.