You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using the "web" version of this library in our application, and now we're trying to achieve the same functionality by using this package, but the generated path is different.
Here's an example where we feed a simple ring shape to both versions:
This package generates a path that consists of two circles, both with a counter-clockwise direction.
On the other hand, the web version produces these circles, but one of them has a clockwise direction.
Based on some research, the difference in the direction of the paths is what creates the "cutout" shapes that we want, and that's what the "web" version produces.
Any ideas on how to fix this?
The configuration we're using is: turnPolicy: 'minority', turdSize: 3, optCurve: true, alphaMax: 1, optTolerance: 2
The text was updated successfully, but these errors were encountered:
Hey,
We have been using the "web" version of this library in our application, and now we're trying to achieve the same functionality by using this package, but the generated path is different.
Here's an example where we feed a simple ring shape to both versions:
This package generates a path that consists of two circles, both with a counter-clockwise direction.
On the other hand, the web version produces these circles, but one of them has a clockwise direction.
Based on some research, the difference in the direction of the paths is what creates the "cutout" shapes that we want, and that's what the "web" version produces.
Any ideas on how to fix this?
The configuration we're using is:
turnPolicy: 'minority', turdSize: 3, optCurve: true, alphaMax: 1, optTolerance: 2
The text was updated successfully, but these errors were encountered: