If these squares are randomly generated, the size is random, the number is random, and it is guaranteed to be spelled like the picture.

through the random generation of these div modules, as shown in the figure, the minimum, (div is the smallest in the figure), the number is random, to ensure that it can finally be assembled into a rectangle, as shown in the figure, how to do this requirement? I would like to ask all the bosses, thank you ~

clipboard.png

Nov.10,2021

  1. Random is not the location, but the contents of modules of the same size are random
  2. write a few more rectangle positions and sizes for random
Menu