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.
That’s a very abstract (and interesting) question but far too complex to answer in details.
What you’re really looking for is probably a sort of a modified particle system. A particle system is basically an engine for particles that includes a physics engine.
However, what you should focus on are these:
Once you built it (or gotten an understanding about it) you can easily convert it to the
Canvassystem, althoughOpenGLis the preferable alternative.