Curve interpolation