0
votes
1answer
64 views

Find coordinates of n points uniformly distributed in a rectangle

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, ...
0
votes
1answer
297 views

Uniform Random Quaternion In a restricted angle range

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: ...