File Exchange

image thumbnail


version (13.1 KB) by Trent Russi
A Rubiks Cube unwrapped onto a 2D plane.

1 Download

Updated 10 Aug 2005

No License

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 (2021). flatRubiks (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)



Joe Lastname

A different view of Rubiks!! Really challenges spacial perception because of 2-D nature. I like this game!

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

Inspired by: Rubik Cube Game

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!