Connect a pattern on grasshopper

Hello all.

I want to create a parametric pattern that connects in vertices and breaks up as it gets closer or further away from an attractor point. I created the base of the pattern in grasshopper to be able to change, but I don’t understand how to make the curve into a repeating geometry that I can have break away near attractor points.

I attached an image for what I am going for but with vertices quantity that can be edited.

Thank you!
Screenshot (1)

220606 Rug Grasshopper (18.3 KB)