# tensor flow / deformable grid

I am trying to make a grid that i can deform, by adding points that acts like a magnetic field. Is it possible to create a grid that i can manually/auto deform like this?

I need it to be one connected mesh and not multiple objects:
I am trying to recreate something like the tensor field on this site : https://probabletrain.itch.io/city-generator

EDIT: The closets i could get to what i want is by using a sphere modifier with a circle as control:

But this creates weird geometry. Anyone another idea?

• you could try adding track to constraints to each grid cell to make them point to some target, and then move that target around. Commented Sep 30, 2020 at 23:04
• Hi Alex, Could you say a bit more why you need it to be one mesh? I can imagine having a plane with 10x10 faces, with on each cross section two edges, you place a bone. Then placing a track to or other aim constraint on the bone, so it aims at the central object. This would accurately get the rotation, and transfer that onto the mesh without adding weird scaling to it like your above example. Commented Oct 3, 2020 at 12:40
• Becuase i am making a script that makes a map, and i t works simply by manipulating the geometry and then beveling the edges to makes roads. That is also why i can't have weird geometry Commented Oct 3, 2020 at 12:53
• Wonder if something could be done via blender.stackexchange.com/a/153181/15543 script wise could use something like blender.stackexchange.com/a/93180/15543 blender.stackexchange.com/a/93180/15543 Wonder too if your to sphere result can be tweaked using multiple concentric spheres to cubes of differing influence or modifier order to keep inner verts more circular outer more square. Commented Oct 9, 2020 at 13:10
• I've got some results but wasn't sure that's what you wanted. so I uplaoded a video of it here. let me know if you are interested. Commented Oct 9, 2020 at 13:42