Pattern for a three-dimensional cube