It might be easier to think about how combine the information from two points rather than use closest point, which then often gives rise to the hard transition you’re trying to avoid @samuel.ryu. For example, you could take the distances for all attractors, and then ‘reward’ those points that are close by (using an inverse power law or something, see attached) - then you will get a smooth transition as you move close to a particular attractor.
You can then use this resultant number to do something, rotate a circle, scale it, whatever. Keeping it to 2D just simplifies the whole setup in my humble opinion, but you could convert this number to a vector direction/magnitude if desired. Anyway, here is an example which is kind of similar to the right hand side of your original image example (just inverted).
If you replace the Circle ‘R’ (Radius) input with the HexGrid ‘S’ (Size) input value so all the circles are the same size, you get a result very similar to what I’m seeing in my own efforts. A large “flat spot” at the center (average point?) of the attractor point cloud:
Indeed @Joseph_Oster, but I think the flat circles are fine right? It’s more the smooth transition between the individual objects that Samuel wanted to solve. If you invert the radius you get something similar to the original post I think. This is just my take, but personally wouldn’t use closest point when doing this because then you get the ‘Voronoi’ lines where one point jumps to a different attractor. Maybe there’s a way to get it to work with the closest point, but anyway, back to work as you say!!
I hear you @johnharding, you’re on the right track. I immediately abandon the closest point approach when I started to work on smoothing the transitions but hoped for something different, where flat disks appear only under the attractor points and nowhere in between them. The surface directions of the disks would flip at those ‘Voronoi boundaries’ but they would be ‘edge on’ from above. Only a mirage, perhaps?
Looking again at the third panel of @samuel.ryu’s “trying to achieve” example, it looks like the disks might be edge on at the attractor points and flatter in between? Same problem though.
Indeed, they flip when they switch to the other point. I guess you’ll never have a consistent distance between points for the general case, so it’s difficult to adjust to avoid some sort of seam.
I really must do more work, but this is a little additive! I think we’ve pretty much exhausted this thread However, if you align ellipses along the vector field for the definition I posted above you can avoid the flat areas in between. A bit like pollen grains aligning themselves in a stream (kind of!). Changing the power changes the influence over the vector field, it’s actually kind of fun to see it changing into the Voronoi as the power increases, in this case from x^-1.5 to x^-2.5.