-
Notifications
You must be signed in to change notification settings - Fork 305
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
pie() / arc() rendering bug for specific combination of radii #119
Comments
Confirmed. https://beta.observablehq.com/d/efdc14bd2b7292c4 Most likely related to this test: |
Just noticed you already linked to an Observable notebook to reproduce this issue. Well played, sir. |
I wouldn't dare show up without an Observable notebook to reproduce this issue! :) Would you say that it's benign that the |
It’s not exactly π because the padAngle is non-zero. |
Looking through the code for the ( |
While toying with the parameters for
pie
andarc
, I have found a glitch for this configuration:Which outputs this shape:
Not sure if it warrants further investigation, but I wanted to let you know.
Seems to be a kind of floating point error, since it happens only on specific combinations of values and radii.
Other combinations can cause different glitches:
Outputs the shape below:
The text was updated successfully, but these errors were encountered: