Code and experiments for the paper "Fourier coefficients and moments of piecewise-circular curves". (Accepted manuscript.)