Container packing

Hi guys :joy:
How to implement the effect in the picture?
Thanks in advance!

Hello!

I would say that you need to get the bounding info of the root box and then create child boxes with alpha set to 0.5 (and the right color)