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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flatten] Render an "evolute patch" when an offset curve has a cusp in it #607

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

armansito
Copy link
Collaborator

Add the GPU logic for patching up unfilled cutouts that emerge when a stroke offset curve has a cusp near a high curvature zone in the source curve. The patch is bounded by the evolutes of the intermediate Euler spiral segments as described in Nehab20 and GPU-friendly Stroke Expansion (see particular Figure 7)

Screenshot 2024-06-07 at 6 18 48 PM Screenshot 2024-06-07 at 6 19 07 PM

This also adds new test scenes that demonstrate the effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant