This all-in-one HTML file can be used to look up all algorithms needed to solve a 3x3x3 Rubik's Cube with the CFOP method aka the Fridrich Method.
There is no real installation required. Either clone the repository or
download a release, extract it to a location of your choice, and open
the file index.html
in your browser.
There is also an online version hosted on GitHub Pages. It always contains the latest version from the main development branch.
The CFOP method can be be down in two ways.
Full OLL/PLL requires just two steps. In step one, all pieces of the last layer are oriented correctly, so that the upper face has just one color (Orient Last Layer or OLL). In step two, all pieces of the last layer are brought to their correct location (Permute Last Layer or PLL).
Alternatively, you can split OLL and PLL (or just one of them) into two steps. That requires fewer algorithms to memorize but is, of course, slower.
The four steps required for this 4-Look OLL/PLL are:
- OLL
- EOLL (Edge Orientation of Last Layer)
- OCLL (Orient Corners of Lasat Layer)
- PLL
- CPOLL (Corner Permutation of Last Layer)
- EPLL (Edge Permutation Last Layer)
You can switch between both methods, and your decision will be saved.
Note that you can also do full PLL but 2-look OLL or also vice versa full OLL and 2-look PLL.
For almost all cases, you have multiple algorithms at your choice. Selecting one will let you replay all turns of that algorithm in a cube animation in the top-left corner.
Your choice of algorithm will be remembered for your next session.
If you want to add an algorithm, check the sources in index.html
, and
search for another algorithm from the same case. Adding your own version
should be self-explanatory. If you want to share your algorithm, consider
creating a pull request or file an issue in order to get in touch with
the author.
The "application" (well, umh, not really an application but ...) can dynamically switch between the default language English and the alternative language German by clicking on one of the flags at the page top. Your choice is being remembered.
If you want to add your own language, search the source code for the strings "_en" and "-en", duplicate the corresponding line, and modify it for your language. If you want to share your translation with the community, create a pull request or open an issue in order to get in touch with the author.
These are the main advantages:
- All algorithms are animated.
- Your favourite algorithm is remembered.
- If your favourite algorithm requires a turn of the U layer, the animation automatically reflects the correct perspective. You will never see awkward
y
turns at beginning and/or end of an algorithm. - The sidebar navigation allows you to quickly access the case that you are interested in.
- You will also find algorithm versions for people that prefer
R
turns overL
turns.
The code is terrible spaghetti code. The main reason is the author being too lazy to give the project a proper structure after it had grown and evolved.
Some of its odd style is owed to the requirement that the HTML file should
work with plain file://
URLs.
The permissive WTFPL 2.0. The file roofpig_and_three.min.js
and
the JQuery source file come with their own licence that you can find in their
source code.