Random points in sphere following density curve

71 Views Asked by At

I want to generate a series of points in a sphere following a density curve (x is distance to sphere center, y is quantity of point at this distance) and I have no idea where to begin with.

Thanks in advance !