Answer the question
In order to leave comments, you need to log in
How to implement random uniform field filling?
We have a 100*100 field where we place 1000 objects. If each of them is simply given random coordinates, they will fill the field with "spots", unevenly.
It seems that on Habré I read about the algorithm - you generate several random positions from the previous one, you choose the best one. But, unfortunately, I could not find this article. Please help with a link.
Need to get the one on the right, not the one on the left
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question