algorithmic modeling for Rhino
Hi!
I made this small example on how to restructure a data tree based on their closest point, in a way that the points near one attractor end up on the same branch.
From time to time, I come across the need to have my grid data in a different formation than the default rows/columns setting. One example being the grid deformation using multiple attractor points, which ends up creating these very morphed cells in attractor border areas, because cell curve points might not "belong" to the same attractor. You can test this with e.g. co-de-it's "Attractors vector deformation" definition (http://www.co-de-it.com/wordpress/code/grasshopper-code)
So, by grouping the cells to branches by their closeness to attractors, I can e.g. deform them based on the cell's closeness, not by the curve points closeness. This tears the grid apart, creating these separate islands of deformed hexagons. The resulting void corresponds with a voronoi diagram.
Tags:
Welcome to
Grasshopper
Added by morteza khorsand 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by morteza khorsand 0 Comments 0 Likes
Added by morteza khorsand 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by