I need to randomly scatter a variable number of objects in a Flash movie. Just randomly choosing locations doesn't result in a visually pleasing output. Objects end up on top of each other, all clumped together on one side, etc.
I'm looking for something similar to the algorithm that Photoshop uses to create a Difussion Dither when converting an image to Bitmap mode.