Creating a random curved line between two points

I have two surfaces that are randomly populated by points. Currently I only have straight lines connecting the two sets of points but what I’m traying to do is to be able to connect them with curves that have a random degree and curve direction. But I have no idea how to do that and was hoping that someone here would be able to assist me with this. I’ve attached a sample of what I currently have.

Point curve connection problem.gh (31.1 KB)

There are many ways to do this. Pick a point along the line between them and move it, then use it as the middle point to create interpolated curves.


Point curve connection_2022_Nov7a.gh (32.4 KB)



Point curve connection_2022_Nov7bb.gh (34.4 KB)


Point curve connection_2022_Nov7c.gh (32.4 KB)


Point curve connection_2022_Nov7d.gh (37.6 KB)

etc.

1 Like