The gradient used is the gradient of the angle ACB for two fixed points A and B. That's an unusual gradient, with a funky formula, but the circular trajectories follow from the fact that inscribed angles in a circle subtended by the same chord (AB here) are equal.
2/3 pic.twitter.com/0Dj5OdGsm6