Simulation of equatorial geodesics in the Kerr spacetime