Path planning using the Newtonian potential | Synapse