It can make confetti. Or is there a site where I can buy it?
You could try a premade solution like this.
See an example here.
Something like this?
If so, copy it from this project: https://playcanvas.com/editor/scene/484674