codecogs equations

onsdag 30 januari 2019

Sampling points in box-shaped clusters

We want to generate a set of random points with a lot of features, using minimal coding effort. We should use fractal sampling.

In this solution, I split the area randomly into smaller and smaller boxes. The only computation that is being done is to select a box at random, and then either split it vertically or horizontally. In the end, a uniform random point is sampled from each box.

The result is raw, but may be useful to test algorithms on.



Inga kommentarer:

Skicka en kommentar