Scaling Cells By Distance From Attractor Point

04.19.2021_Hialeah Model (35.0 KB)

Hello! Firstly, thank you for taking valuable time to help a stranger online.

I have created this script in order to make a city from a grid that blends from an organic shape to a rectangle as one moves right. From there, it’s supposed to use attractor points to scale the shapes down. This is the part that I am having trouble with. I admittedly don’t understand remap very well. So, I’m studying it but any insight would be amazing. The jpg is what I am aiming toward (I was able to achieve it by using panels).

Also, any general performance improvements/script simplifications. The script is starting to slow down as parameters change. I fear this will be a problem down the line, as I intend to add rotation.

Thank you again!!!

Take a look at the attachment. Best.

04.19.2021_Hialeah Model (18.6 KB)

1 Like

Thank you! Thank you! Thank you!! That helped a ton!
I didn’t realize that the area could be skipped for the rotation!

After two days of development, I’ve been able to add a random cull and the beginning of a clipping curve. However, I noticed that the tween steps are too linear for my goal. Is there a way to add a graph to the tween component? Ideally, it’d allow the in-between shapes to stay closer to one extreme or another before morphing into the second extreme.

04.19.2021_Hialeah Model (46.8 KB)