Thursday, May 14, 2015

GH: DISTANCE DOMAIN GROUPS

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER DISTANCE DOMAIN GROUPS


This definition groups points based on distance domains

LOGIC
1. Create a grid of points
2. Measure distance from points to attractor objects
3. Set a number of desired groups
4. Divide distances into an amount of domain subsets equal to the number of desired groups
5. Assign numbers to a group based on the domain group index 
6. Group original points into tree branches based on distance domains
7. Assign a unique object to each clustered grouping of points 

GH Version
0.9.0076


Tip
This type of process is especially valuable to limit the number of unique objects, 
(e.g. having a unique panel for different areas of a surface) while maintaining a parametric 
aesthetic. The number of unique objects should equal the same as the amount of domain 
groups.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.Do not forget, attraction values 
can be used to control virtually anything, here we control radius of a sphere, try it 
for many things. 











Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

1 comment:

  1. 1. Floating parameter Geo failed to collect data
    this error is coming in geometry command

    ReplyDelete