canvas-confetti icon indicating copy to clipboard operation
canvas-confetti copied to clipboard

How to draw custom confetti particles using canvas?

Open jahirfiquitiva opened this issue 2 years ago • 1 comments

Is there a function that received the canvas or its context as a parameter and allows to draw custom confetti particles?

Similar to https://github.com/alampros/react-confetti#drawshape= ?

If there's no function, could you please allow something like that? (I prefer using this lib)

Thanks in advance.

jahirfiquitiva avatar Apr 04 '22 16:04 jahirfiquitiva

There is no option to do this and I have no plans on adding one. There would be a significant amount of complexity due the web worker. If you are happy with react-confetti, I would suggest using that module instead since it provides the functionality you need.

catdad avatar Aug 08 '22 21:08 catdad