flatRubiks

A Rubiks Cube unwrapped onto a 2D plane.

You are now following this Submission

Imagine taking a Rubik's Cube and unwrapping its faces from the 3D cube and spreading it out on a table. However, you can still manipulate it in the same way. That's flatRubiks!

I found coding this to be more challenging than a 3D cube would have been. Plus there are already some fantastic MATLAB 3D Rubik's Cubes out there. I also found, that solving this guy really works your brain, and is in general harder.

The zip file includes one really long m-file, and a help HTML file. I would appreciate any comments, questions!

Cite As

Trent Russi (2026). flatRubiks (https://se.mathworks.com/matlabcentral/fileexchange/8260-flatrubiks), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Rubik Cube Game

Categories

Find more on Rubik's Cube in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0