Surface Diver uses the S2kit
(a free software distributed under the terms of
the GNU General Public License) which is a collection of routines
implementing discrete Legendre and spherical harmonic transforms.
Parts of the S2kit package are incorporated into the source code of Surface Diver.