I need to create a simple particle emitter to achieve somekind of a smoke-like effect. 
I need help with the algorithm that should do something like this:

\*Create X amount of particles in a frame with lifetime L

\*Define the velocity for each individual particle in a frame

Is there some nice mathemtical algorithm available for this?