SharkD wrote:
> Is there a good way to, for instance, place a number of trees randomly
> without having them overlap?
one possible way is to iterate over a grid of possible positions and
then deciding randomly or based on a distribution function whether this
particular cell should contain a tree. The actual tree position can
then be varied within the cell to avoid an obvious grid spacing.
Post a reply to this message
|