Skip to content

clamp to the edge#79

Open
Fil wants to merge 5 commits intomainfrom
fil/clamp-edge
Open

clamp to the edge#79
Fil wants to merge 5 commits intomainfrom
fil/clamp-edge

Conversation

@Fil
Copy link
Copy Markdown
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
@DanielCordell
Copy link
Copy Markdown

@Fil Sorry, is this PR abandoned or is it still awaiting review?

@Fil
Copy link
Copy Markdown
Member Author

Fil commented Mar 11, 2025

Yes, please review 🙏

@DanielCordell
Copy link
Copy Markdown

Yes, please review 🙏

I don't believe I have the power, @mbostock please could this get blessed with a review 🙏?

@Fil
Copy link
Copy Markdown
Member Author

Fil commented Mar 11, 2025 via email

@DanielCordell
Copy link
Copy Markdown

DanielCordell commented Mar 20, 2025

@Fil I personally can't spot any issues but I wouldn't exactly call myself an expert on this. I'm using this for a work process and we can't use node/npm or any alternative (self-hosting the d3 UMD .js file in vanilla JS), so I can't build it myself either to test 😆 .

@DanielCordell
Copy link
Copy Markdown

@mbostock is there any chance you could please take a look/review this change? It's been outstanding for ~5 months.

@DanielCordell
Copy link
Copy Markdown

@Fil what's the plan here 😆 it would be really amazing if we could get this change in, do you know anyone who can review?

@MattiasJa
Copy link
Copy Markdown

I have been using this, as a patch, for some days and it seems to work well on our data (small and medium size)

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

3 participants