From A to B in a circular billiard

To go from A to B the ball must hit the boundary of the billiard at one of the four points P, Q, R, S, which are the intersections between a hyperbola and the circle representing the billiard. Drag A and B to see how they change: for certain positions only two bouncing points exist.