5 minutes
Faster Than a Ball Is Wide
A break hits the rack at 8 to 12 m/s. At 1/120 s a step, that is farther than a ball is wide, so a ball can start a step in front of another and end it behind.
Solve for the moment they touch
The simple test asks "do these two overlap now?" at the end of each step, so it only sees where the balls landed. A head-on pair stays overlapped for 4R, 11.4 cm, of travel, more than a step even at 12 m/s, so the test always sees it. A glancing pair overlaps for much less and can slip through between two looks. Either kind can also be seen too late, with one centre already past the other's, when the pair looks like it is parting.
Instead, solve for the moment the gap closes. Two balls Δp apart, moving at Δv relative to each other, touch when:
That is a quadratic in t, and its first root inside the step is the hit. Over a million hits of each kind at each speed:
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.