Across is the small glider's speed (times √1), up is the big glider's speed times √M. The point starts at the bottom: small glider still, big one heading for the buffer. Glider clacks slide it along the sloping lines, buffer clacks flip it straight across.
The sloping lines meet the straight ones at an angle θ. An angle at the edge of a circle is half the angle at the centre on the same arc, so every second point is 2θ further round. The point stops in the green corner, where the small glider is still or moving away from the buffer and the big one is moving away at least as fast. The clacks are the steps of θ that fit in 180°.
WHY THE DIGITS OF PI
The count is the largest whole number of θs that comes to strictly less than π, where θ = arctan(1/√M), M being how many times heavier the big glider is. (With equal masses θ = π/4: four of them make exactly π, so the count is 3, not 4.) For M = 100n, √M = 10n, and for a small angle arctan is almost the angle's own tangent: θ is a hair under 10−n. So π ÷ θ is a hair over π × 10n, and its whole part is pi's first n + 1 digits, unless pi has a long run of 9s at that point (see the right).
Big glider
θ × 10n
π ÷ θ
Clacks
Every number here is worked out in whole-number arithmetic, pi included, so the digits are exact.
MORE DIGITS
Clacks:
Pi's digits that follow:
π ÷ θ is bigger than π × 10n by about π × 10−n ÷ 3. That nudge changes the count only if pi has about n nines in a row straight after its nth decimal. Nobody has proved that never happens, so the trick is not proven for every n.
A BEAM BETWEEN TWO MIRRORS
Take the two positions, the small glider's as it is and the big glider's times √M. The pair is then one point that moves in a straight line at a steady speed. The buffer is one mirror; the gliders touching is the other, at the angle θ to it. Every clack is a bounce.
Unfolded: instead of bouncing the beam, reflect the mirrors. The beam goes straight on, through copies of the wedge fanned round the corner. It crosses one mirror line per bounce, and only as many copies as fit in 180° lie across its path.