Randomize elements

Hi All,
1687114_29ab9880

How could I do something like that? Would I need to create 4 separate panel families in order to have 4 possible directions or is there another way?

Thanks!