draw spline