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

Gaps between squares in SVG #67

Open
andrewbaxter opened this issue Sep 10, 2024 · 3 comments
Open

Gaps between squares in SVG #67

andrewbaxter opened this issue Sep 10, 2024 · 3 comments

Comments

@andrewbaxter
Copy link

Hello, looking at the generated in chromium sometimes I could see gaps between the squares (in the corners?).

image
image

By the way, this is a great library, thanks for working on this!

@erwanvivien
Copy link
Owner

Hey 👋 Thanks for reporting this, it seems weird to me 🤔
It might be due to anti-aliasing or rounding errors, I'll have to check but don't have much time right now...

@andrewbaxter
Copy link
Author

Would it be possible to aggregate squares sharing sides into a single filled polygon?

@erwanvivien
Copy link
Owner

Yep in theory it is, but the library doesn't work like that... You can have other shapes than squares that's the problem

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

No branches or pull requests

2 participants