forked from: Smooth Moving with Catmull-Rom splines

