[Flashcoders] Algorithm ideas

2012-03-05 Thread Paul Andrews
Lets imagine I have 100 sprites scattered around the stage - no regular pattern, but generally spread evenly. My task is to remove 40 of them. That's easy, but I want to remove them as evenly as possible, so the density thins but is reasonably consistent across the stage. Any ideas? I don't

Re: [Flashcoders] Algorithm ideas

2012-03-05 Thread Paul Andrews
On 05/03/2012 23:12, Paul Andrews wrote: Lets imagine I have 100 sprites scattered around the stage - no regular pattern, but generally spread evenly. My task is to remove 40 of them. That's easy, but I want to remove them as evenly as possible, so the density thins but is reasonably