Verzeichnis graphics/pgf/contrib/cubedraw
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.
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (259.8k).
CubeDraw – Pictures of the Rubik’s Cube in which every piece is drawn whole
This package draws a whole Rubik’s Cube, all 54 stickers, in one flat TikZ picture, from a string of 54 colour letters. The side faces are drawn as in the usual net, and U and D as strips, so the stickers of every corner and edge touch, and corners, edges and centres have different shapes.
| Paket | CubeDraw |
| Fehlermeldungen | |
| Repository | |
| Version | 1.0 2026-12-03 |
| Lizenzen | MIT License |
| Copyright | 2026 Luís M. S. Russo |
| Betreuer | Luís M. S. Russo |
| Enthalten in | TeX Live als cubedraw |
| Themen | PGF/TikZ Puzzle |