Hi there. I'm working on a definition to morph repeated geometry based on its distance from some point attractors. I'm running into some list issues.
Basically, it's a bunch of triangles. Two of their points are fixed, and one is free to contract/expand along a guideline...the farther away a guideline is from an attractor, the more the free point is allowed to expand along the guideline. The free points are located based on a ratio d/d(max), where d is the guideline's particular distance from an attractor, and d(max) is the greatest distance between any guideline and attractor.
In order to get the greatest variation among the triangles in the pattern, I only want the closest attractor points to have any effect. So I've written the definition to sort the list of distances from any guideline curve to each of the attractor points, and choose the smallest value.
I'm able to set this up with a single unit cell, but I'm running into problems when I copy the cells into a full pattern. I know it's a list problem...when I select the shortest Curve CP distance for a repeated set of curves, I get back only one value, rather than a value for each curve in the list.
Is there a way to get this information? It would seem to me you ought to be able to compare data items of the same step number from multiple lists, and select the shortest value...but something here is going over my head.
Any ideas?
(ps. I'll post the definition files in a second).
Tags:
- Attachments:
-