Grasshopper

algorithmic modeling for Rhino

hi this is my first post into grasshopper!

ive been assigned a project to develop an installation beside a freeway which has some kind of environmental message. My goal is to create a jungle of towering flower like elements which wilt when polluting cars drive past. my algorithm has the  intended bending motion however i cant find a way to activate the wilting of the flower elements when polluting cars (represented in my algorithm as a box) drive past. 

i hope this makes sense

can anyone help me?

chris

Views: 1513

Attachments:

Replies to This Discussion

Kangaroo doesn't seem to be doing it for you. Having all those forces trying to update really quickly (pretty much instantly) really isn't Kroo's bag in my experience. You'd be better off driving a series of transformations based on proximity. See attached.

Attachments:

I'd agree that if you just want to draw some curve, and aren't concerned about whether it accurately models real bending behaviour then there are simpler ways of doing it than using iterative simulation.

However, I'd be curious to know what you mean about any difficulty you're having getting forces to update quickly - if things are set up correctly then Kangaroo doesn't have any trouble with forces changing many times a second.

thanks daniel i certainly would prefer to reflect real bending behaviour.  do you have any suggestions on how to make the bending movement occur when the car moves close enough to the geometry?

thanks

chris

Daniel, I guess it is just taking time to get the combination of forces correct. Bending resistance needs to be quite high and the combination of forces pulling the top of the element down seems to produce results that don't seem to fit the intention.

Chris, the bending movement was created via a pulling unary force. The magnitude of this force should be informed by the proximity of the attractor.

As for your comment below, look at how the points are rotated. There is a plane made using the location of the moving attractor. Replace this with some other point. When I put together that definition I used multiple points as inputs and it successfully created multiple elements. Are you flattening the data structure somewhere? Sorry, not at a computer.

ok that all worked i had my data stream flattened so i fixed that and i have changed the attractor so the entire algorithm is working well. thanks so much for the help. im adding a unary force to geometries created by your algorithm give the effect of wind blowing on the 'flower'. but whenever the attractor 'car' is moved the forms become contorted and lose their stem like shape. 

is kangaroo just incapable of correctly applying a unary force to an already moving geometry in grasshopper or is there a way to make this work?

chris

Attachments:

hi david thanks for the reply. thats a huge help... thats very close to what i want for this project. 2 further issues though. 

the 'flower' elements should not follow the path of the vehicle but rather bend once in correct proximity to it ie the closer the car gets the more it bends. Right now the 'flower' bends at the right time but the curve follows the path of the car. how do you suggest dealing with this?

secondly my intention is to create a series of these elements. i tried inputting several points to start with in the algorithm but this created a geometry of curves pipes which were all linked together. is there a way to keep them seperate?

see my rhino/ grasshopper file

i hope that all made sense

chris

Attachments:

One,use another point other than the attractor. List one of the points moved.

Two, you flattened the final lists of points.

Attachments:

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