Hi everyone, I am working on a graphic that looks like the one in the picture below.

I need to parent point A and B to two different objects and bend the line AB according to the positions of the two points.

The gradient has to stay inside the lines all time with the starting point stick to the intersection point as shown in the picture.

I've done this with straight lines using "beam" and an expression finding the intersection point, but I have no I idea how to do this with curve lines.

highly appreciate it if someone can help, thank you!!

Leo