Re:Generating random points inside a sphere
by magicalhippo on Sunday August 05, 2018 @02:44AM
(#17690068)
It's the fraction of the volume of a cube enclosing (bounding) a sphere to the volume of that sphere.
The algorithm samples points inside a unit cube and rejects those not inside the unit sphere, so that's the fraction of points it'll be discarding.
[ Parent
| on HN ]
There are no comments on this comment yet.