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 consistent across the stage.

Any ideas? I don't know if there is a standard algorithm for this.

No worries - I worked it out. Should have had some thinking time before posting.

Paul

Paul


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to