Rectangle grid with attractor lines

Hey Guys! I am trying to make a rectangle grid with attractor points, but with no spacing in between the rectangles.

I would need to have a visual effect that is similar to this grid gradient :

Gradient (16.2 KB)

But at the same time have the possibility to have these attraction lines- either based on attractor curves, or graph sampler like in the code below:

quadtree with image (49.6 KB)

So the end effect I would imagine it to be something similar to the photo below, but in a more structured way and only with rectangles (not varying shapes from hexagons to rectangles).


Thanks a lot in advance :slight_smile: