reorder of list.gh (13.5 KB)
Hello there,
I would like to reorder the attached curves into a different order (randomly or systematically) so that {0,0} would become {0,3} and {0,4} becomes {0,1} and so on.
I have a feeling is to do with sort list but I culdn’t figure out the next step. Could anyone give me a clue ?
Thank you so much!
Kind regards
Yutaka
I created a different model because sorting (or jittering) lines that are all the same length is not visually interesting.
sort_lines_2020Nov1b.gh (5.7 KB)
Even when the lines are not the same length, the jitter/sort is not visually evident because their positions don’t change, only their sequence in the list as indicated by numbering their start points.
sort_lines_2020Nov1c.gh (7.3 KB)