Hacker News new | ask | show | jobs
by bob1029 305 days ago
The part that makes this work is the rejection aspect.

What would be biased is if you inscribed a cube in the unit sphere. This would require additional transformations to create a uniform distribution. If you simply "throw away" the extra corner bits that aren't used, it won't affect the distribution.