gamesmathematical programsotherabout author

Rubik's cube rotation program

ru
download java program
download source code

This program is useful for studying of different Rubik's cube solution methods and other similar problems. You can see the result of different rotation strings, for example x' R (RU)' D R U R' D' R U R' D R U' R' D'. Notation of rotates is standard, you can see them by reference http://www.rubiksplace.com/move-notations. Program checks OLL and PLL stages of Fridrich method and create pictures for them. You can see sample here. There is very similar online program which is written using javascript and does not require downloading and installation.

One can use rotations L, R, U, D, F, B which rotates left, right, up, down, front and back edges by 90° clockwise if view from rotated edge. Input string is case insensitive. Empty symbols spaces and tabs are allowed they will be ignored. It's possible to use next postfix symbols

Postfix simbols can be used together in any order L'2 = L2' = L2, LW' = L'W, L2W = LW2 = L'2W = L'W2 = L2'W = L2W' = LW'2 = LW2'

Middle layer rotations.

For middle layer it's possible to use apostrophe and/or 2.

Whole cube rotations.

For whole cube rotations it's possible to use apostrophe and/or 2.

Parentheses and apostrophe. It's possible to use round brackets with power and/or apostrophe. Postfix can be omitted. Apostrophe means inversion. (R)=R, (R)3=R', (R'U)'=U'R, (RU)'2=(U'R')2=U'R'U'R'

Versions history

version 1.1 24 august 2019

improve inverse function of rotation string

version 1.0 21 november 2013

initial version

Versions history

version 1.1 24 august 2019

improve inverse function of rotation string

version 1.0 21 november 2013

initial version