P
P
Pavlo Ponomarenko2016-04-23 02:07:42
Algorithms
Pavlo Ponomarenko, 2016-04-23 02:07:42

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.
1326e8a9d4ffd209656417fc0106ab7b.jpgNeed 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

1 answer(s)
T
tsarevfs, 2016-04-23
@TheShock

https://en.wikipedia.org/wiki/Sobol_sequence

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question