DanielMartinus / Konfetti

Celebrate more with this lightweight confetti particle system 🎊
ISC License
3.13k stars 299 forks source link

Slow down the party show #310

Closed ShkurtiA closed 9 months ago

ShkurtiA commented 1 year ago

I tried playing with speed and dumping but I cant manage to slow down the party. I see that you use some variables like gravity and force, is it possible to access them or some other way to achieve slowed down party

smth with the speed of this lottie https://lottiefiles.com/74680-confetti

DanielMartinus commented 1 year ago

@ShkurtiA have you already played with Size?

If you create your custom Size class and play around with mass you could potentially slow down the fall. It might affect the shooting distance and some other things as well.

It's been a while for me so I would have to play around and look in the code to find out what you exactly need to achieve this.