Randomly rearrange branch order

Hello

I have a list of branches where I would like to randomly rearrange their order similar to using a jitter component. Is there a way to this this that will work as I continue to increase my list size? Any help is greatly appreciated!!

with flipping the matrix(table,2d array,tree) you can apply jitter to columns instead of row.


ShuffleTree_001.gh (13.2 KB)

2 Likes

PathJitter_00_tp.gh (13.8 KB)

Flipmatrix might hassle with more complex Pathes.

Another approach might be to use path statistics.
then jitter the pathes.
rebuild the tree - for this step I show 2 solutions.
see comments in .gh file

kind regards -tom

3 Likes

Another candidate:

2 Likes

thank you!!

same as my “Solution 1”