Grasshopper

algorithmic modeling for Rhino

Hi,

I generated this point cloud using gh and kangaroo.
In the next step i´d like to apply colors to the mesh spheres based on the distances to 4 attractor points (see images).
With only 1 attractor point it would be clear how to do it but with 4 things seem to be different...

Can anyone help me on this?

Thanks in advance,

Simon

Views: 6048

Attachments:

Replies to This Discussion

Here's an approach with weighted blending.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

And with an extra power component to amplify the weighting.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

Attachments:

hello David,

I was wondering, is there a way to apply this logic to a mesh? i have a grid, which i subdivide into groups based on the distance from attractor points. the grid is transformed  in x,y,z directions based on the attractor points, and using the plug in Mesh from Points, i create a mesh out of these points. so is there a way to create a gradient colouring of the mesh, based on the distance between its vertices and the attractor points? so in a way it is obvious which part of the mesh was influenced by which attractor???

thanks in advance for your reply!

Genius

Aaah this Weighted Average component is nice, I would never have thought about using it on colors.

Hi,

I am having a similar problem but the difference is that instead of having populate2D, am having a mesh. Also, instead of points acting as an attractor, in my case there are coloured lines on the mesh which will be the attractors in my case and according to which i need the color of the mesh to vary. This is right now very conceptual. 

Can you help me?? 

Thanks in advance! :)

P

Attachments:

Thanks so much! that is exactly what i needed.

 

hello David,

I was wondering, is there a way to apply this logic to a mesh? i have a grid, which i subdivide into groups based on the distance from attractor points. the grid is transformed  in x,y,z directions based on the attractor points, and using the plug in Mesh from Points, i create a mesh out of these points. so is there a way to create a gradient colouring of the mesh, based on the distance between its vertices and the attractor points? so in a way it is obvious which part of the mesh was influenced by which attractor???

thanks in advance for your reply!

hey mando

i need to do smth similar. did you find a way around this?

best

d

no, not really.... :/

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service