The linked article includes animations for each of the different cases