Polyline attractors

Hi! im new in Grasshopper an im trying to make something like this guy do in this youtube video. Basicly he is using polylines as attractors. The definition also inverses the distance so that objects enlarge as they get closer to the line.
Any ideas?

Use the Curve Closest Point component to find the distance from each seed point to the curve (the distance is an output), then use a Graph Mapper to transform the distance into the value you want. Either set up a linear relationship, or a gaussian falloff, or a bezier curve, or…

If you have more than one attractor curve, then you can use Pull Point instead, giving you the distance to the nearest object.