drawing splines