Hi Thomas,
This isn't wrong. I just want something that makes more sense to use as a slur and make changes to the curve easier than guesstimating each time I use the code. So I was looking to base some calculations for the points based on the X-extent of the slur I want to replace etc.
I think what I want is used the example I've attached. I'm just struggling to understand this code since it's not mine. I sort of know what it's doing but I can't modify it to suit my needs.
I want to replace the middle flat line portion with a third bezier curve that it's mostly flattened and is slightly thicker in the middle of the slur/tie.