How to create a simple attraction towards and offset around a shape?

Good Morning Forum,

I’ve been trying to work this out for a while, using multiple techniques (first using Pull Point, then Multiple Attractor), currently I am trying Adhere and Repulse flocking.

I would like to draw an array of vertical lines, then set a shape in the middle of them, have all the lines attracted towards the boundary of the shape, but never able to touch it, and to form loose offsets around it (no vertical lines ever touching the boundary, no vertical lines ever touching or crossing each other).

I attach a JPEG of what I got, and what is desired. I also attach the script.

I’m sure this should be much easier than I’m finding it, and would really really appreciate any ideas!

Best Wishes,

JJC.

004_K_180813_BoidFlock_10.gh (27.8 KB)