Hi all,
I'm working on a project where I'm having a question.
I need to fill a fixed sized space/canvas (let's say 750*300), with around 200 equal sized small squares (let's say 10*10). The small squares need to be randomly spread out in the canvas, and approximately evenly spaced out with each other. The small squares need to be moving around within its own certain boundaries that they won't overlap with each other.
Basically this looks similar with a randomly spread out tag/word cloud, but evenly spaced with each other. Anybody have any thoughts on how to implement this? It will be great if this doesn't involve any external libraries.
I'm looking at packing algorithms and word clouds, but not sure which could get me closer.
Thank you all so much.
1