Spline Animator is a demo app that shows how to use a Spline curve to animate a simple sprite. Given a set of points
the animator creates a path that passes through these. The set of points is populated runtime by user's tap position. It's possible to change animation speed and a multiplier to increase the derivatives in junction points.
This is an Open Source project, you can use the code for whatever you want.
Here is the GitLab repository: https://gitlab.com/Byte94/SplineAnimator