Generate random size triangles into a rectangle

Hello all!

I am trying to create random triangle shapes in an order similar to the reference below. I was wondering how this could be possible in order to avoid overlapping triangles , create all these random triangles into a given rectangle etc. Any suggestion would be much appreciated.

thanks in advance!

at first glance, i don’t think that is random nor algorithm based… looks like someone did it through manual placement.

You can use that