Elliptic Fourier series in J. This is used for approximating/characterizing contours of polygons.
Have a look at demo.ijs for an example finding the elliptic Fourier decomposition of a triangle and plotting it.
See Kuhl and Giardinia for more context.