File Exchange

image thumbnail

Rubik's Cube Solution Animation

version (8.3 KB) by Peter van Alem
The program shows animations of solutions of the Rubik's cube.


Updated 08 Sep 2011

View License

The state and solution are obtained using an included GAP routine. Two examples of solutions are presented within the code.

Cite As

Peter van Alem (2020). Rubik's Cube Solution Animation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Great visualization, but it's an incredible agonizing pain, when scripts do a "clear all" in my global workspace.

Mr Smart


really awesome animation....algorithm for rotating the cube is wonderfull.



A bug in the GAP code is fixed. The GAP code is put in pdf format and should be copied within a GAP command window.

Rendering bug solved.

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux