A simple way to generate random points on a sphere
Summary by johndcook.com
1 Articles
1 Articles
All
Left
Center
Right
A simple way to generate random points on a sphere
I recently ran across a simple way to generate random points uniformly distributed on a sphere: Generate random points in a cube until you get one inside the sphere, then push it to the surface of the sphere by normalizing it [1]. In more detail, to generate random points on the unit sphere, generate triples (u1, u2, u3) of independent random values uniformly generated on [−1, 1] and compute the sum of there squares S² = u1² + u2² + u3² If S² > …
Coverage Details
Total News Sources1
Leaning Left0Leaning Right0Center0Last UpdatedBias DistributionNo sources with tracked biases.
Bias Distribution
- There is no tracked Bias information for the sources covering this story.
Factuality
To view factuality data please Upgrade to Premium
Ownership
To view ownership data please Upgrade to Vantage