Closed Shkyrockett closed 5 years ago
Thanks for the heads up! It's interesting how multiples of 1/3 cause issues.
Looks like I've already resolved this exact case:
https://github.com/thelonious/kld-intersections/blob/master/test/cubic-cubic-fail.js
When I run that example, I get the following SVG image:
And that has these intersections:
<circle cx="155.388" cy="159.951" r="2" stroke="red" fill="none"/>
<circle cx="271.264" cy="175.393" r="2" stroke="red" fill="none"/>
Maybe you're running an older version of the library? I tested with 0.4.3.
Hi, I ran across another weird intersection edge case for intersectBezier3Bezier3 that I thought you might be interested in.
Here are the curves: