Grasshopper

algorithmic modeling for Rhino

Still new to Grasshopper and using fields & attractors.  I'm trying to use several point attractors to pull other random points towards the attractors based strength by distance (simple enough, right?).  I understand (kind of) how the point attractors can be used to modify the scale of circles, for example (like most basic tutorials show).  However, I can't seem to get the random points to move towards the attractors properly.  I'm sure it has to do with vectors and adding vectors, but I don't really understand how they work.

Thanks,

Views: 31965

Attachments:

Replies to This Discussion

Hi,

if you are feeling lazy you can use my add-on Nudibranchwhich has embedded an automated multiple attractor component.

Please refer to the examples  especially the point attractor one.

M.

Thanks, I'll give it a try.

wow. Marios. It is really impressive. Espeically reaction and diffusion part. Thanks a lot for the good work.

Thank you for the feedback.

There is going to be a major update on Nudibrach (hopefully soon :) ), that deals with bug fixes and also introduces a few new components.

Best,

M.

Hi, I just found this discussion.  I am pretty much in the exact same position as mark was.  I looked at nudibranch, but I have no idea how it works.  I am dealing with a surface that I have applied a popgeo battery.  I cant really figure out how to use attractor points or curves to create a swarms of density in isolated areas.

Thanks

Attachments:

Stanley,

I haven't had a chance to look at your files, and this might not work for what you are doing, but I had some luck (with varying results) by grouping points by proximity to the attractor point(s).  Once grouped, I could move the point towards the attractor using a two point vector and some math.

To really get the result I wanted (again this might not work for your purposes), I ended up using a random cull by distance to the attractor point(s) and bumping the original point count way up.  The result gave me a clumpiness of points that dispersed by distance.

Thanks Mark,  Would you happen to have a definition I could look at?  I am still pretty new to all this and dont entirely understand how everything works.

Stanley,

I don't have anything here with me now (I'm at work) but I'll post some definitions tonight when I get home.  If you don't here back from me, send me a reminder.  In the meantime, check out this link and see if it helps at all.  This is what I used to learn the grouping technique.

http://formularch.blogspot.com/2012/04/gh-distance-grouping.html

Great thanks mark!  I'll check this out.  

glad it helps :)

Here is an example on how to use Nudibranch. I(n this case you are having both point and curve attractors. Hope it helps..

Best,

M.

Forgot the file. Typical.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service