I have a rectangle R of width W and height H. I have N points inside this rectangle. I need to find an algorithm to position my points in the rectangle in the most uniform way possible (no overlaps, ...
I'm trying to sample uniform random rotations. I'd like the rotations to be restricted in a range [-θ,θ]. I found a method by K. Shoemake which can be summarized as: ...