I would like to ask if the following can be achieved (red group)?
- Analyze a list for its total number of items (x)
- Define a specific number sub-groups (y)
- Arbitrary random distribution of (x) by (y)
- the sum of the sub-groups (y) should total the number of items if (x)
I have attached a solution for a discrete value in each of the sub-group (green group) but want to know if GH could randomize these values based on the criteria above.
Thanks in advance for the help.
random distribution.gh (25.5 KB)
Note: Added the scripting tag to see if the scripting channel can shed any light on this.