Saturday, January 30, 2010

Clustering in Grasshopper

What we need is basically a field
of nodes that are connected. The nodes should be three different sizes. And
the size of the nodes should be relative to the density (close together
nodes are small - distant ones are large)

This equation begins with a 3d grid (hexagonal or rectangular) of points
that serve as the centroids for the spherical nodes. The radius of each of the
spheres are determined by their distance to the nearest of 4 reaction points
(moveable referenced points in rhino). Then each sphere is moved
toward the reaction point that is nearest to a distance that is inversely
proportional to its radius (smaller spheres move greater distance aka closer
together).


No comments:

Post a Comment