You have also Party.js library: https://party.js.org/
A useful front-end confetti animation library
41–50 of 125 posts
Re: A useful front-end confetti animation library
#42[flagged]
The developer has of course provided a print stylesheet (expect no less from a pro). Just print it, frame it, hang it up on the wall and voilà! A no-JS confetti demo right there in your living room.
Re: A useful front-end confetti animation library
#43Re: A useful front-end confetti animation library
#44I think there is no need to specify 'useful' in the title.
Re: A useful front-end confetti animation library
#45Earlier quoted context omitted.
The excellent performance characteristics of the natural world may indeed be the best rebuttal of the popular theory that we live in a computer simulation!
Good simulations have constant time step and may not run in real time. From inside such simulation, you would never know.
Click the "snow" button enough (https://catdad.github.io/canvas-confetti/) and you'll get a horizontal line separating the pre-slowdown flakes from the post-slowdown flakes. I suppose that's the kind of simulation imperfection that we might look for.
Personally, I don't think we're hacking our way out of this one any time soon, so I'm happy to just call it reality.
Re: A useful front-end confetti animation library
#46> If you happened to get curious and changed the particle count to 400 or so, you saw something disappointing. An even "flattened cone" look to the confetti, making it look way too perfect and ruining the illusion.
I love it! This kind of attention to detail is rare in this world, and I cherish it wherever I find it - whether it's in statistical visualization, movie props, or website confetti.
(As a solution, I'd probably go for changing the random distribution directly. I'd check of course, but I'm guessing the real-life distribution approximates a gaussian.)
Re: A useful front-end confetti animation library
#47Re: A useful front-end confetti animation library
#48Just fyi, confetti are candies in italy. Not bits of paper.
Can someone code and make a pull request to properly handle display of those for Italian users? (see https://it.wikipedia.org/wiki/Confetto for what they look like)
Re: A useful front-end confetti animation library
#49Earlier quoted context omitted.
this says more about you than it does about the confetti animation
Twitter uses a similar animation on your profile when it's your birthday. That's one use case and I am sure there are more.
Re: A useful front-end confetti animation library
#50Is that a known phenomenon?