The Splashback Radius of Halos from Particle Dynamics. I. The SPARTA Algorithm | Synapse