How to create fireworks particle graphics effect on android

Lumis picture Lumis · Mar 23, 2011 · Viewed 29k times · Source

Anybody has any idea how to make a fireworks effect by drawing on canvas? There is one nice example in wireworks live wallpaper (free app).

There, many points move and leave trails in a star like explosion and gradually disappear. I think that there is some kind of motion blur on each point moving, which I am not sure how to create.

Any ideas or links to relevant examples are welcome.

Answer

shalafi picture shalafi · May 30, 2014

I just released the v1.1 of a library that does particle system for normal android views: https://github.com/plattysoft/Leonids

I know the question is quite old, and you probably had implemented it yourself, but in case you are still interested on using a library, check it out.