I've just finished an implementation of a parametrized (centripetal) Catmull-Rom spline using this formula from wikipedia: Link in the comment, not enough reputation for more links.
I'd like to ask this: Does the algorithm restrict the input data in any way? Specifically: Do the X-values have to be uniformly distributed? My data will almost never comply with that.
I am asking, because sometimes this appens (notice the weird bit on the left): https://i.stack.imgur.com/18xGf.png. I used these $[X,Y]$ points: https://i.stack.imgur.com/HII1H.png
It happens with other implementations I've found on the internet, too, so most likely it isn't an error on my side.
Thanks in advance for any comments or advice!