v1.2.2 & v1.2.3
This release adds the option to control the acceleration of the particles
Pull request: #158
Issue: #48
Turn off acceleration
Only turning off the acceleration will result the particles having the same velocity they begin with. This can be done with:
konfettiView.build()
...
.setAccelerationEnabled(false)
Set max acceleration
If you don't want the particles to keep the speed they begin with but have a slight change in velocity for a more natural feeling, you can use setMaxAccelaration.
konfettiView.build()
...
.setMaxAcceleration(1.5f)
A maxAcceleration between 1.0 - 3.0 is visible in the lifetime of a particle