The choreographies shown in the
animations are all found by minimizing the action on a space of finite Fourier series, subject to the symmetry constraints in each case. The inter-particle force is Newtonian: it varies as the inverse square of the distance (like gravity). More details are given in the paper (see below for link).