Divide surface

Panel-of-the-Arab-World-Institute-14_Q320

hello everybody!
I need help dividing a square surface to smaller squares but in different sizes, like in the picture of the façade of the Arab world institute in Paris. how do i do that?

also, if anyone has more information on this façade it will be very helpful, it’s for arch school project

There have been similar things discussed on here before…

https://discourse.mcneel.com/t/script-to-fill-void-with-different-sized-squares/113066

@laurent_delrieu is your man.

The example you show is patterned rather than random so I would start thinking about how to describe the logic behind the pattern that you want.