realize the effect of spinning the cube