Randomly divide surface based on percentage

Hi, I am looking for a way to divide a surface into three orthogonal parts with 50%, 30% and 20% of the original area, but with the option to randomize the outcome in order to create multiple options. Does anyone have an idea how to do this in Grasshopper?

Regards, Max

1 Like