1
votes

I'm trying to draw a 6 grade (start point, 4 control points, end point) Bezier curve but the API offers me only cubic and quadratic curves methods.

Is there a way to split or approximate the 6 (or n) grade curve ONLY through cubic or quadratic ?


[Edit] After some struggle I decided to write the library myself. Take a look here How to draw n grade Bézier curve with Canvas API

1
I think you should ask this on math.stackexchange.com - Ishtar
@ Ishtar Thanks, did that here math.stackexchange.com/questions/92246/… - Alex

1 Answers

2
votes

Generally no. I would suggest creating your own Bezier curve method for 6 points (use wiki). And then use lines to draw the curve.