Cube with rotation