I was just passing my time and built a simple but pretty nice particle generator in ActionScript 3.0. I assumed the particles to be small projectiles and motion of which are driven by the following equations,
x = x0 + vxt
y = y0 + vyt – 0.5gt2
where,
x0 = initial position along x-axis
y0 = initial position along y-axis
vx = initial velocity along x-axis
vy = initial velocity along y-axis
g = acceleration due to gravity
In the demo http://nadimjahangir.net/xp/particle.swf the initial position are set to mouse position. And initial velocities are set randomly.

Particle Generation Demo
This can further be enhanced by adding air friction terms.





