Kinematics and mechanics of block rotation