Click twice with the mouse on any point to stop the animation or to restart it. To make the pentagons turn clockwise or anticlockwise, stop the animation, move the red dot in the desired direction and restart the animation.

Remark: the animation only works while the mouse cursor remains over it.