Grasshopper

algorithmic modeling for Rhino

Views: 470

Comment

You need to be a member of Grasshopper to add comments!

Comment by Yoann Mescam (Systemiq) on April 1, 2011 at 4:38pm

You have generated a grid of points on your surface, instead you should generate a grid of subsurfaces,  and generate random points in each subsurface. The number of points is influenced by the image sampler.

Domain2->DivideDomain2 gives a number of subdomains easily, get the middle of each subdomain, associate a value from image sampler, transform this value reasonably to give the number of points, plug the subdomains and number in random generators, make the voronoi on all resulting points.

Comment by RWNB on April 1, 2011 at 11:29am

dear systemik,

i have followed your instructions and created a test definition.
unfortunately I do not know how i recover the values from the subdomains
to the voronoi cells. it would be nice if you could give me a hint.

many thanks

Comment by RWNB on March 30, 2011 at 4:46am

dear systemik,

many thanks for the support.
i will try it.

thanks

Comment by Yoann Mescam (Systemiq) on March 29, 2011 at 12:02pm

Subdivide your surface in subdomains, get the center point of each domain, associate this point to a luminosity value in image sampler, which gives an indication of the density in the domain.

So each domain gets an allowed number of points to randomly (or not) generate.

Choosing well your subdomains size, you should get a points density looking like the image-sampler, and thus a voronoi density parametrized by the image.

Comment by RWNB on March 29, 2011 at 5:26am

dear systemik,

i want a voronoi pattern at the basement facade of this residence house study.
i already have a gh definition to do this,
but i would be very interested in how you influence the density of voronoicells
with the image-sampler. would you tell something about it?
would be happy to get your answer.

thanks

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service