CubeSeer is a Ruby cube image generation library, similar to VisualCube.
Right now only a top view is possible, which works well for PLL diagrams.
The links show how each image was created, they might take a moment to show up since they are hosted on a free Heroku account.
If you're used to virtual cubes, you can supply an alg that way too
Different sized cubes are also possible
Ignoring stickers lets you create OLL diagrams as well
-
Cube rendering
- 3D view
- Rounded side stickers, like VisualCube has
-
Cube representing
- Create by explicitly setting each sticker
- Deeper than two levels for moves is not possible, need to implement a more general notation, like SiGN
-
CLI
The representation of a cube as implemented in cube.rb works as follows:
A cube can currently be created only by calling the method Cube.algorithm,
which takes a size and an alg to perform on a solved cube.
Once you have that cube, you can perform queries on it of the form "ABC:XYZ"
Where ABC and XYZ are corners with a specific orientation.
This will return an array of arrays representing the stickers on that face.
For example, "UBL:UFR" will return from the top left corner of U to the bottom left corner.
On a solved cube this will be
[[:U, :U, :U],
[:U, :U, :U],
[:U, :U, :U]] There is a sinatra server that serves images of cubes in the server/server.rb file.
It currently takes the following options:
- alg - An algorithm to perform on a solved cube
- case - An algorithm that should solve the image presented
- heise - An algorithm, in heise sim notation, to perform on a solved cube
- heisecase - An algorithm, in heise sim notation, that should solve the image presented
- size - The size of the cube to show
- colors - The colors, in U R F D L B order, to have on the cube. The following colors are supported:
- w => :white
- r => :red
- g => :green
- o => :orange
- y => :yellow
- b => :blue
- x => :gray






