Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment with other tesselation algorithm (earcut) #259

Open
maxammann opened this issue Feb 18, 2023 · 0 comments
Open

Experiment with other tesselation algorithm (earcut) #259

maxammann opened this issue Feb 18, 2023 · 0 comments
Labels
feature-request Request for a new feature

Comments

@maxammann
Copy link
Collaborator

We currently use the lyon crate to tesselate polygons and lines. It is not super fast, but also not super slow.

Maybe we can improve the tesselation of polygons using the earcut algorithm, provided by earcutr crate.

馃 Expected Behavior

Fast

馃槸 Current Behavior

Performance is ok on desktop benchmarks (cargo bench) ~1ms.

馃拋 Possible Solution

Switch to earcutr

@maxammann maxammann added the feature-request Request for a new feature label Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant