-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Confetti Opacity #188
Comments
Can you elaborate more about the effect you are trying to achieve? Do you wan the confetti to always be a singly opacity and never fade? Or just set the initial opacity? Is it for individual confetti or all confetti? Based on some of those answers, would it be better to just use a custom canvas and set the opacity on the canvas itself, which is possible today? |
The Effect:
My Usecase:
Using the canvas to change the opacity would work to reduce opacity, but I don't believe I could prolong the visibility using canvas. |
The time it takes for confetti to fade is controlled by the What you seem to be suggesting is setting a single opacity and turning off fading. That's not necessarily bad, but can be awkward when dealing with different screen sizes -- e.g. the confetti will just disappear suddenly on larger screens. There are already cases where confetti can look awkward though, so that's more of a usability thing rather than an actual problem. With that said, maybe This is not really a high priority right now (as evident by a super late response... sorry). I am leaving this open though, in case interest increases in this. |
Hi, I would also be interested in removing the fade effect. In my case the canvas is inside a box and the particles would disappear at the bottom of it instead of fading out. Is there a solution I can currently apply? I'm going to look into that you said, see if I can do something. EDIT: |
It would be nice to be able to change the opacity of confetti. I've been changing
ticks
to make the confetti opaque for longer, but I was thinking that being able to change a variable would be a nice qol addition.The text was updated successfully, but these errors were encountered: