Grasshopper

algorithmic modeling for Rhino

Hello! 

i'm student in architecture from Toulouse, france. I'm working on Grasshopper since one year. 

I'm working on
an important architecture competition, and I try create an algorithm to design the building elevations. 

Thanks Grasshopper, I divide my elevation into different parts like in the picture. (I used Fibonnaci algorithm). And now, I have many surfaces, with different size that compose my elevation. 

The next step consist in make a random

script to determine a color for each panels (I would like use 4 different colors). it's a little bit difficult for me, and i tested many algorithms, without success. The random script could be generated by a mathematic graph, or, the best, by a image sampler. In the picture, I put texture on the surface by hand in Rhino, but it's the result I would like achieve. 

So, I hope someone could help me to find a solution.

Thank you so much ! 

 

Views: 1525

Replies to This Discussion

So each panel 'inherits' its colour from an image? To do it directly from an image, you can take this approach:

--

David Rutten

david@mcneel.com

Attachments:

Thank you so much for your help David ! the result is amazing ! I will try to adapt tomorrow the script for keep the width of my panels like in the picture. But how can i maintain just 4 colors based on the image sampler ? 

thanks ! 

The best way is probably to either pre-process the image using a pixel-editor (Photo-shop, Paint.NET, Paint Shop Pro, etc. etc.).

If the posterizing effect is something you want control over from within Grasshopper, then you can create a palette of 4 colours and then use the [Find Similar Member] component:

However I haven't been able to get a really satisfactory result with this approach yet...

--

David Rutten

david@mcneel.com

Hi David !
Thank you, it works great ! I will show the final Grasshopper File when the competition will be completed.

Mathieu

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