PuruVJ / neoconfetti

Confetti in Svelte
https://www.npmjs.com/package/svelte-confetti-explosion
MIT License
246 stars 9 forks source link

[Expanding scope] Using one or more img(s) as confettis #3

Closed Vanderscycle closed 2 years ago

Vanderscycle commented 2 years ago

Hi Puru,

Nice library and amazing work as usual

I didn't know that I needed this library until I played with the svelte REPL. I don't quite understand how the particles are generated, but reading through the code I see that you limited to a few shapes for particles.

My question, is if I wanted to changed the particle to be one or more images where should I start? Essentially the confettis would be images. I feel that this option will negatively affect performance should the user go a bit too crazy with the images

Thank you for reading,

Vanderscycle commented 2 years ago

I just saw that someone though of it before me and even made a pr #2