Evolution of light on a cube