I'm creating a project in a city environment. I want to distribute the buildings using Gaussian distribution so that the heights of the buildings are distributed around the centre (mean). In the same nature to the image below.
2D Gaussian distribution image
Using the equation on the Gaussian Wikipedia page, I came up with some code but I'm not sure how I'd implement it to achieve what I have mentioned above and whether my code is correct so far.