-
Notifications
You must be signed in to change notification settings - Fork 62
clamp to the edge #79
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
base: main
Are you sure you want to change the base?
Conversation
@Fil Sorry, is this PR abandoned or is it still awaiting review? |
Yes, please review 🙏 |
I don't believe I have the power, @mbostock please could this get blessed with a review 🙏? |
You don’t need any special power to test this PR against real life use
cases, read the code and try to find conditions that will make it break ,
etc. :)
|
@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 😆 . |
@mbostock is there any chance you could please take a look/review this change? It's been outstanding for ~5 months. |
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