I copied part of my code into yours (white group) and added the cyan group to make the result more obvious by coloring polyline segments based on their length. I added the Pipe because the segments are harder to see. Two of your images look like the pipe radius is larger on the peaks and smaller in the valleys?
point attractor_2023Jun8a.gh (21.7 KB)
P.S. The yellow group is a rough approximation of changing pipe radius based on segment length.
point attractor_2023Jun8b.gh (20.1 KB)
MultiPipe might look better, I haven’t really used it yet.