THE IDEA
A path is a sum of rotations.
Treat each point as a complex number. A discrete Fourier transform gives rotating vectors whose sum reconstructs the samples. Keeping fewer components creates an approximation; the closed path is treated as periodic.