# cubedraw

Pictures of the Rubik's Cube in which every piece is drawn whole.

The `cubedraw` package draws a whole Rubik's Cube, all 54
stickers, in one flat picture, with one command:

    \cubeflat[scale=2]{%
      WWWWWWWWWOOOOOOOOOGGGGGGGGGRRRRRRRRRBBBBBBBBBYYYYYYYYY}

The state is 54 letters, the colours of the stickers face by face
(U, L, F, R, B, D), each face row by row as in the usual net.  The
side faces are drawn as in the net, and U and D as strips above
and below them, so the stickers of every corner and every edge
touch.  Corners, edges and centres have different shapes.  The
package needs TikZ.  See `cubedraw-doc.pdf` for the details.

The coordinates of the shapes are computed by a Python script,
`diagrams.py`, in
<https://github.com/LuisRusso-INESC-ID/Rubicks-Count>, the
programs of a survey of human methods for the Rubik's Cube.

## Files

- `cubedraw.sty`: the package.
- `cubedraw-doc.tex`, `cubedraw-doc.pdf`: the documentation.
- `LICENSE`: the MIT License.

## Author

Luís M. S. Russo.  Report problems and suggestions at
<https://github.com/LuisRusso-INESC-ID/Rubicks-Count/issues>.

Written with the help of Claude, an AI assistant, and
reviewed by the author.

## Licence

Copyright (c) 2026 Luís M. S. Russo.  Released under the MIT
License; see the file `LICENSE`.
