use Math::CatmullRom to draw spline through points