Text this: Interpolation of periodical functions by splines