The canvas-confetti module allows for easy integration of confetti animations on your website. You can install it from NPM or include it directly from a CDN. The library provides options for customizing the confetti animation, including particle count, angle, spread, velocity, gravity, and more. There’s even support for creating custom confetti shapes using SVG paths or text, such as emojis. Additionally, you can create a custom confetti instance using a specific canvas element. Remember to use the library responsibly and respect users who prefer reduced motion. Overall, the canvas-confetti module offers a fun and interactive way to add some flair to your web projects.
https://github.com/catdad/canvas-confetti