One way to do this is to loop through cells and ask - are there strong gradients between this cell and any neighboring cells? If so, split up the cells we are currently in into n cells (e.g. randomly sample new positions inside cell, or something else)
One way to do this is to loop through cells and ask - are there strong gradients between this cell and any neighboring cells? If so, split up the cells we are currently in into n cells (e.g. randomly sample new positions inside cell, or something else)