I am trying to colour curves of different lengths according to their length (ie short curves red, long curves blue). Here is my best attempt but it's really not what I am trying for. I need one solid colour per curve that denotes its length. (ie the length of the path if it were straightened out)
And here are the nodes for setting up my attempt.
I've searched extensively and have found a number of somewhat similar questions but mostly focused on scaling colour based on position. I expect there is an easy solution to this and I am just not using the right terminology in my searches.