Text this: Splines and variational methods