block by mbostock 31bd072e50eaf550d79e

Annulus Sampling I

Full Screen

This animation demonstrates the perils of naïve annulus sampling. If the radius and angle are chosen with random uniformity, the sample density will be higher where the radius is smaller, and thus points will be concentrated around the inner edge of the annulus. See corrected sampling.