I'm building a shmup (bullet hell, shoot 'em up), and using bitmap data for all of the art. I store a vector of bitmapDatas with different colors and pull the color I need from the vector to color a square for a particle (bullets, hit particles, etc). Bullets are purple rgb(255, 0, 255), and what I would like to do is make a trail from each bullet that fades into another color. I was extremely interested when I saw this example, but unfortunately have no idea how they even began to program the smoke (trail) of these bullets.
http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml_applet_e.html
Right now my bullets have a speed and a direction that I can easily update, change direction/speed, etc midflight. And what I have been doing for a trail is just slowly fading out the bitmap of the bullets as time passes.
Not looking for code per say, just an overview of how to go about doing this if anyone can help.