Rubik's Cube image generator

generate image checkboxSave scrambled Rubik's Cube patterns as images with this free and easy image generator. Open the online Rubik's solver program, set the scrambled cube and click the generate image checkbox. This will bring you to the bottom of the page where you can set up the look and feel of your image: Background color, Color scheme, Image size, View angle, Sticker border, Sticker - cube distance. There are three available formats: png, jpg, gif.

Rubik's Cube solver program with image generator

When all the options are set up click the Update parameters button, right click the generated image and save it to your computer.

The iCube .php image generator

Rubik's Cube Image Generator picube icube

Thanks to the iCube .php image generator you won't have to draw Rubik's Cubes in paint or photoshop if you want to display them on a website or just simply save some patterns as pictures. With the online application created by Josef Jelinek it will be easy to display the puzzles.


PICube features
  • Open source
  • Easy to use, and install
  • Antialiased, nice looking output
  • Renders any NxNxN cube sizes including 2x2x2, 3x3x3, 7x7x7 and beyond
  • Configurable background
  • Configurable image size
  • Supports different view angles
  • Different image formats: .gif, .png, .jpeg, .jpg
  • You can specify the border width and how far the stickers are floating from the cube body.

How to use the image generator?

First you have to download the source code of the Rubik's Cube image generator, save it as a .php file and place it on a web server where php is installed. Then open the source of the file you just created followed by the cube pattern and other url parameters. For example:

Url parameters

After you installed the php on the server you have to configure the cube through url parameters. Use the following variables after the .php? and separate them by an & character: