Creating Images using Rubik’s Cubes

A Rubik’s cube face can be solved for any 3X3 array of six colors. By solving many cubes, it is possible to arrange them into any six-colored image. In this work, we present a python-based cube solver and GUI for generating images from Rubik’s cubes. The GUI provides users with the instructions for all the cubes necessary to create the input image. The application includes three modules. The image processing module outputs the cube faces required to create the image. The cube generation module generates the required cubes from the faces. Finally, the solving module solves all of the cubes. Initially, the cube solver we implemented was DeepCube: a deep reinforcement network using autodidactic iteration to enable full training without human assistance. Due to an unoptimized implementation, loss divergence, and time constraints, we opted for the established classical Kociemba solver. The final product allows a user to quickly receive nearly optimal solutions for any number of cubes to create a chosen image.