generative modeling for Rhino
Hi,
I've been trying for a while, with many different custom components, scripts and combinations of all to do the following:
-have a series of attractor points
-have a field of points that are pulled/attracted
-make the attractor points' intensities variable individually
-use a curve to attract the field of points
Thats all for now, I've been struggling with it for a few weeks and finally tonight came up with the attached file, thanks to Davids input at this link below:
http://www.grasshopper3d.com/forum/topics/multiple-attractor-points...
The only issue I'm having is moving the field of points evenly to the attractors. If I simply stack each set of points onto the move it obviously just stacks the move too, but even then it all seems to be pulling towards the top left point. What I'm wondering is how to combine or average the forces of all the attractors and influence the field that way.
I think it may be a simple solution but this is one of the first times I'm looking at lists and stuff and I can't wrap my head around it.
Help would be great, cheers
Tags: attractor, multiple, variable
Permalink Reply by Michael Pryor on May 14, 2012 at 9:29am
Permalink Reply by Amar on May 14, 2012 at 5:52pm that linked helped after looking at it for an hour or so ha. I ended up using Mario's method of feeding the move from one point into the next and so on. It's very crude and requires lots of repetition of the same process but it is the simplest way to do this for me because I just can't seem to figure out that path mapper.
I will upload the definition after my uni lecture, when I tidy it up.
Thanks a lot for that!
Permalink Reply by MARIO VERGARA on May 14, 2012 at 7:51pm good it helped, regardless of it being crude.
i'm looking forward to learn from yours, when you upload it
good luck on your lecture
best
m
Permalink Reply by Amar on May 14, 2012 at 10:21pm Thanks Mario, as long as it works I have no issue of it being crude, especially since in the end I will only be using up to 10 at most.
I've attached the definition I worked on. I've included a point that moves along a curve, acting as a rogue element in the mix.
Now that I've achieved what I wanted I will continue to explore further possibilities and upload anything as it develops for people in the future
Permalink Reply by Amanda on November 2, 2012 at 5:33pm Thanks for this solution - good for me at my stage as I'm just starting out with GH.
Permalink Reply by fernando molas garcia on November 3, 2012 at 12:17pm
Permalink Reply by fernando molas garcia on November 3, 2012 at 12:35pm
© 2013 Created by Scott Davidson.
Powered by