just posting this so I can copy code to my other account If you understand what a "Rational Cubic Bezier" is, feel free to use this :)