w8r/bezier-intersect

Quite a few incorrect results

Opened this issue · 1 comments

cubicBezierLine(10, 80, 40, 10, 65, 10, 95, 80, 0, 50, 200, 50);
cubicBezierLine(10, 80, 40, 10, 65, 10, 95, 80, 0, 50, 200, 60);

which were the first two I tried.

image

[79.85517124029762, 50.000000000000014, 25.14482875970238, 50.00000000000001]
[24.39365730685879, 51.2196828655242, 82.32207107873634, 54.11610355411461]

Isn't that correct?