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

Possibility to have a layover that just lets rain down a continuous stream of confetti across the with of a view #37

Open
peterscmdt opened this issue Jul 26, 2023 · 2 comments

Comments

@peterscmdt
Copy link

Is there a possibility to have a layover that just lets rain down a continuous stream of confetti across the with of a view? (As opposed to letting the confetti originate from an object on screen like a button or so.)

@simibac
Copy link
Owner

simibac commented Jul 28, 2023

You could create a full screen overlay in a Zstack as one of your most outer views and pass down the state variable to the desired child view.

@peterscmdt
Copy link
Author

Hi, thanks for your comment! Still, I would have the issue that the confetti originates from one specific point inside my view, right? What I meant was the option to basically generate confetti particles that randomly originate from the the top of a view, across its whole width, if that makes sense. Similar to what you can see on the attached picture.
Screenshot 2023-07-31 at 18 25 41

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