Field Line Redirect End Points

Hello, I am trying to get the lines from this script to all end within this pentagon and also have the end points smoothly go towards certain corners of the pentagon. I want the end result to have all the end points go towards one corner but I want the parameters to be adjustable if possible (to make a video of it changing from all sides to less then finally one). Does anyone know how to do this?

Thank you in advance!


GRAPH NEW 2.gh (42.7 KB)

Convex Hull