This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER STRICT ATTRACTION
LOGIC
1. Create a grid of points
2. Measure distance from points to attractor objects
3. Set a list of specific strict values
4. Divide distances into an amount of domain subsets equal to the length of the strict value list
5. Find domain list index that each original attraction distance belongs to
6. Assign a strict value in place of each attraction distance using the index
7. Use the assigned strict value data to affect some geometry
2. Measure distance from points to attractor objects
3. Set a list of specific strict values
4. Divide distances into an amount of domain subsets equal to the length of the strict value list
5. Find domain list index that each original attraction distance belongs to
6. Assign a strict value in place of each attraction distance using the index
7. Use the assigned strict value data to affect some geometry
GH Version
0.9.0076
Tip
This type of process is especially valuable to limit the number of variety of an object, (e.g. facade panel opening sizes) while maintaining a parametric aesthetic. The initial
points do not have to be a grid, they can be any arrangement of points. Attractors
can be any type and combination of geometry. Use multiple sliders rather than adding
values to a panel to have easily editable strict values. Do not forget, attraction values
can be used to control virtually anything, here we control radius of a sphere, try it
for many things.
This work is licensed under a Creative Commons Attribution 4.0 International License.
No comments:
Post a Comment