Shows how to generate a density map of fixed dimension and how to sample particles within this density map.