benroberts999 / inversetransformsample Goto Github PK
View Code? Open in Web Editor NEWPython script to randomly distribute points points according to a given probability distribution using inverse transform sampling (e.g., on the surface of a sphere, and a Gaussian distribution). (Also a mathematica version)