Alright, rocket scientists. For an effect in a game I'm writing I want to use a motion blur effect on a bitmap. I'd also like it to be done on the fly, so I don't need to carry around 400 640x480 bitmaps with my program.

I was thinking of an effect similar to the motion blur in PC Paintbrush or Corel PhotoPaint. All of these effects are on a straight black background, so we don't need to worry about blending in backgrounds or sprite transparencies.

Something tells me I'm going to do a lot of pixel plinking here. Does anyone know a good algorithm, or does anyone know of a site that deals with this sort of thing?

Thanks,
~Zero the Inestimable