I am randomly placing images on a canvas in javascript. The problem is that I want to minimize stacking but not prevent it. I would like to see the behavior where if there is enough images to fit on the canvas without overlapping, they wont. However, I want the images to not appear ordered. Any ideas?
Share
I ended up going with an inverted normal distribution which will likely leave space in the center to allow images to be viewed while images on the outside are more likely to be stacked.