Using curveVertex the curves i get are not always optimal. I am looking for an algorithm or lib that let me smooth a curve using bezier curves.
To describe it a bit, currently i generate some points (red points). the direct connection would be the dashed line, to get some curves i used curveVertex() (blue line) which still gets a bit edgy as the line although its curved still always touched the points. so what i am actually looking for is a smoothed line like the green one which i can adjust in its smoothness.
Any suggestions and ideas ?
1