Grasshopper

algorithmic modeling for Rhino

using a solution as a parameter for the next iteration of that solution with time delay

Hi, I want to find the closest point (point B) to point A, and then find the closest point (point C) to point B, and on and on. I want to repeat this either to infinity or at least like 50 times with time delay between each solution.

All my points are located on a diagrid so each point has 6 closest points that are equally close to it. I am randomly choosing 1 of these points as the next closest point. This is why (I think) I can't just use a sorted list of distances.

The overall affect that I am going for is a random snakelike movement across my facade. So I need the points to be chosen sequentially and have a time delay between each iteration of the solution.

 

So how can I get (at least) 50 iterations of a solution with each new solution depending on the results from the last?

AND

How can I insert a time delay between these solutions? I couldn't figure out how the timer component works (it has no grips?!)

OR

Is there another way to get this random snake effect that I want?

 

lots of good karma to anyone who can help me...:)

Views: 306

Replies to This Discussion

Grasshopper can't do recursive iterations without using a scripted component.

I guess no good karma for me.

Chris

I haven't tried using a scripted component before but I am will to try. Could you point me in the right direction about how you think it might work?

 

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