Grasshopper

algorithmic modeling for Rhino

Hey all, Im very new to grasshopper and it still perplexes my mind. 

Basically what I'm trying to do is recreate this simple gradient but with hexagons of different sizes to emulate the shift in shades.

Any help would be greatly appreciated.

Views: 2077

Replies to This Discussion

What does 'hexagons of different sizes' mean exactly? Can you perhaps upload a sketch of what you are after?

--

David Rutten

david@mcneel.com

What I mean by that is for the lighter areas of the gradient there would be larger hexagons, and for the darker areas of the gradient there would be smaller hexagons, basically using the hexagons to recreate the gradient.

so did you make any hexagons to start with?

you could also try this search

http://www.grasshopper3d.com/page/search-results?cx=007664031582976...

image sample is the component to work with. along with a grid to create your hexagons (center in grid points). the image sampler will provide the radius of the hexagons according the brightness of the image you have.

In that case I think it's best to create a hexagon grid, then scale each cell around its centre point with a factor between zero and one. Zero will make it disappear, one will leave it intact. Only question remaining is how is the gradient defined? Is it an image? A mathematical funtion? A surface? A mesh?

--

David Rutten

david@mcneel.com

Attachments:

thats it!

That looks fantastic, but I really need all of the hexagons to be touching if thats possible. I believe that it was you that came up with the Nervous definition which is awesome, but It is difficult to get a smooth gradation from small hexagons to large ones. 

Thanks!

How are they touching? You need to be more specific as it's impossible for different hex with different lengths to all be touching. Unless you mean they will become deformed or have gaps in some areas more like a circle packing kind of thing. Send a sketch.

So this is of course a very rough sketch but hopefully you kind of get the idea. I want smaller hexagons towards the middle and larger ones towards the ends. They can become deformed as much as they need to, but having gaps is something that they really cant have. I think that I really need the hexagons, but I may be open to checking out triangles or some other shape as well.

Thanks

About 2/3rds down the page:

http://www.co-de-it.com/wordpress/code/grasshopper-code

or search the page for "radiolaria". Then instead of point attractors, use a line as an attractor.

It's amazing what Google can find. :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service