-
Notifications
You must be signed in to change notification settings - Fork 151
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 direction #30
Comments
I've figured it out how its works with this awesome library. The idea is to generate confetti randomly from the inner edges of the screen to move(setVelocityX, setVelocityY) to center of the screen by some sort of calculation. Note:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As we know, the confetti direction is from middle to the edge of the container. Is there any function make it reversed, from edge of container to center of container?
The text was updated successfully, but these errors were encountered: