sampy About Sampling utilities. (See also: Fibonacci spiral sampling (Quasi-Monte Carlo techniques) utilities) Use Uniform sampling on/in unit circle Uniform sampling on/in unit halfcircle Uniform sampling on/in unit sphere Uniform sampling on/in unit halfsphere Cosine weighted sampling on unit hemisphere # Code test.test()