I'm trying to scatter movie clips around the stage using Actionscript 3 in a way that looks as though they were randomly placed there, like photographs spread out on a table top.
I tried using a spiral type arrangement, but found it too uniform, and also a circular distribution, but found that too random.
The other factor is that i'd like the positions of the mc's to be repeatable, so that when a user returns to the flash movie, they are able to find the clips where they were last time.
Anyone got any expertise/advice with this type of stuff?
The key to this is having a PRNG that you can set the seed value of.
I don't think AS3 has any way to set the seed for Math.random(), but a quick web search turned up a few results for custom PRNGs that do.
As for the distribution, you have to play around more. What didn't you like about 'circular distribution'?
Bear in mind that you can use a lot of different distributions of random numbers --other than uniform-- using a uniform distribution and some function.