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

clamp to the edge #79

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

clamp to the edge #79

wants to merge 5 commits into from

Conversation

Fil
Copy link
Member

@Fil Fil commented Nov 26, 2024

To avoid cutting the corners (#72), expand the data on the edges by 1 pixel (with the addition of a bit of blurring); then contract the shape back to the frame. Note that we must contract after smoothing.

closes #72

@Fil Fil requested a review from mbostock November 26, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Don’t round the corners
1 participant