Grasshopper

algorithmic modeling for Rhino

Attract points with point in a gradient configuration

Hi Everybody,

I'm trying to make a script to populate a geometry with points and these should be attracted by some attractors (here i came).
Basically I want that these attracted point are more dense close to the attractors and less dense far from them, a gradient evaporation.

Can somebody help me out?

Views: 963

Attachments:

Replies to This Discussion

Hi.

This might help you.

Attachments:

Thank you! it was helpful!!

Attached you can find the result!

Tnx 

C.

Attachments:

You didn't internalize your 'Geo' parameter so your GH models show nothing.

Nice work Hyungsoo Kim.

Hi Joseph

basically I did it to be related to other geometry that I already had on Rhino. 

What's the point of posting GH code without the associated geometry?  Either include a Rhino file or right-click the 'Geo' param and choose "Internalize".  In this case, any flat surface would do but that isn't always the case.  See item #3: Attach minimal versions of all the relevant files.

By the way, notice that Hyungsoo Kim did not use 'Pull' as it isn't necessary.

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