Grid distortion

Im trying to make a grid distortion with attractor points, but I’m not reaching the expected result.
I was trying to sometimes expand the cells and at other times decrease cell size. Like this:
deformed-grid-animation

I dont know if attractors are the best way, but i dont really know any other. Maybe with kangaroo…
Thats what i got until now, but i wish this were smoother and with a wider radius.

So if you guys know any definition that could help me, I would be very grateful :slight_smile:
Thank you in advance for your help!

1 Like

Hello,
I am also interested in such an adaptation of a grid, or rather urban morphological fabric, from which building volumes can “grow”.
I quickly created a trivial ghscript, and it’s not quite suitable for the solution as in the gif, although it reflects the simple principle of adapting one fabric to another through the elementary tool Tween Curve


Grid Deformation.gh (21.6 KB)
I’d like someone else to be able to discuss a bit on this interesting topic and offer solutions to adaptations, deformations of grids.
Perhaps @DanielPiker will have more profound and accurate thoughts on this topic and share them. Because according to the gif you can see how one topology transforms into another, which can also be observed in kangaroo simulations with force strains of membranes and meshes.

Mesh deformations may be worth considering…

@Michael_Pryor you gave a good link, but doesn’t it feel like these are artificially stretched grids that don’t allow a smooth and natural adaptation of one system to another? Simply put, pinching areas of the network works with the coefficient of applied force at the pinch points, i.e. they are forced strength deformations. And in gif animation the deformation is caused as if by another process, without the application of any third-way forces, attractors and tension at the points, curves. What do you think?