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

fill: color, separate from stroke? #124

Open
dicash opened this issue Oct 22, 2024 · 1 comment
Open

fill: color, separate from stroke? #124

dicash opened this issue Oct 22, 2024 · 1 comment

Comments

@dicash
Copy link

dicash commented Oct 22, 2024

@desandro possibly obvious request, but I wasn't able to find in issues/docs.
We have shapes like that we'd like to animate.
image

My expectation would be as in SVG to have stroke and fill to define color.
It doesn't seem to be the case here - fill in zdog is just a flag.
I would like to avoid creating two shapes just to make stroke color different from fill.
Do you think it'd worth extending fill to support strings?
Or you know some alternative?
One hack would be rendering into SVG and styling shapes via CSS.

@dicash
Copy link
Author

dicash commented Oct 22, 2024

Also - I am having difficulty figuring out z-fighting here:
https://codepen.io/dicash/pen/xxvXLOq
I wonder if compensating points are possible here, can't figure out the logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants
@dicash and others