Hacker News new | ask | show | jobs
by stefanka 838 days ago
I encountered the need for uniform random points on hyperspheres, and found this solution (with Python code) very helpful: https://stackoverflow.com/a/59279721.

Currently, I am porting my codebase to Rust and did that part over the weekend, so if anyone is interested in this exact implementation, I'd willing to share it (as a crate if necessary).

1 comments

The linked SO question is not about uniform random points. The poster explicitly excludes answers involving uniform random distribution on a hypersphere.