Set minimum/maximum scale factor for attractor curve

I need a little help,

I have a geometric pattern which I want to scale based on an attractor curve (picture 1).

First option I tried was with a function (x/20) which works out fine to a certain point. But I want to set a minimum and a maximum scale factor to make sure the pattern doesn’t get too thin near the attractor curve or too big when its far away (picture 2).

I also tried another approach which I saw in a tutorial using bounds, constructed and remapped domains but the result is somehow different than exprected (picture 3).

I attached the pictures as well as the rhino and gh file.

Can somebody help me? Thank you very much. (35.5 KB)

rh1.3dm (2.1 MB)

Duplicate thread?

Yes, it is the same problem. I managed to specify the problem but I still cannot figure out how to imply the correct scale factor.

remap your attractor values to the specified domain (min to max). In your image 3 you should flatten the bounds input to get the bounds of the entire set rather than the bounds per branch. That is why it looks weird. (6.6 KB)

See here. flatten for bounds of the set - not bounds per branch. Seems also some of your isotrims are failing downstream so you are missing some ovals in the pattern. Don’t have time for that issue but here the scaling works as expected.