plattysoft / Leonids

A Particle System for standard Android UI: http://plattysoft.github.io/Leonids/
Apache License 2.0
2.28k stars 398 forks source link

Particles Translation animation lags. #93

Closed vishal21bhadani closed 6 years ago

vishal21bhadani commented 6 years ago

I am trying to do explosion animation. It's working fine but the particles moving animation(or translation) lags. It's not smooth.

plattysoft commented 6 years ago

As explained on the project description, this library is meant to be used on standard views, and therefore is drawing on a canvas. There are inherent performance limitations when you draw on a canvas, which depend on the amount of particles you are drawing. If you want smooth animations with many particles you need to use a proper rendering engine like OpenGL.