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.
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.
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.