Grasshopper

algorithmic modeling for Rhino

hi all,

I'm not having luck in thinking this problem, maybe someone has an idea on how to put it in other terms so we can achieve a solution. You can think it as a heat map where more overlapped parts are hotter than the least overlapped parts.

I'm trying to create gradients when overlapping between closed surfaces occur. The gradient goes from the center of the most overlapped figure to the edges of the least overlapped figures.

To help understand how I'm thinking it, I will first show you my solution for one figure.

As I said in the title, it's kind of a pseudo gradient. It's a way of organising areas (rings) inside of the geometry.
To achieve this I thought in creating a series of rays that then can be divided in segments, in this case 3 segments of same lenght per ray, I could get more resolution in the gradient by dividing in more thus creating more rings...

in this picture the rays are in dark red and go from the center to 4 points in the perimeter, if I wanted more resolution I could have more rays, but with this simple figure 4 is enough

the rings are in a gradient of colors from the center to the perimeter, lighter in color each time:

so when I have 2 overlapping geometries

the center of the gradient should be on the center of the most overlapped part (in red) and go to the perimeter of the pink parts

for the red figure I draw the rays from the center to its perimetry. and for the pink figures the gradient should go from the parts that are in contact with the red figure to the perimeter, something like this:

still that is something I did with rhino and it's pretty intuitive...

the problem gets worse when i have more figures and more "heat centers"

like in these examples

maybe the approach should not be with rays to create the rings... maybe with offsets..

not sure if it's not too complicated to achieve in grasshopper and maybe there's another way of creating a gradient with multiple focuses...

would aprecciate any help

cheers

Views: 903

Attachments:

Replies to This Discussion

Here's one way maybe. 

hi Kyle!

what you did is what I was already doing (in such a better way! thank you, I'm gonna use your method from now on... so much faster and easier!!)

but that is just the first step in identifying the center from where the gradient should start, what I want to do now is kind of a force field...

in those two cases I understand how the grandient should go... first from the center of the most overlapped figure to the perimeter of the most overlapped figure... then from the perimeter of the most overlapped figure (in black) to the perimeter of the least overlapped figure...

but what happens in a case like this... where there's two parts that are the same category of superposition, one bigger than the other one... the bigger one should be "stronger" and how is the gradient drawn on the least intersected parts?

 

something like this maybe? with vector forces? any ideas? and then do a kind of contour for the vector forces?

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