Grasshopper

generative modeling for Rhino

Hi guys

 

I was wondering if you have any idea how i could keep track of the agent path, so when i stop the simulation in Locust i have the paths the agents traveled in lines that are separate for each agent. Something like this:

 

 

 

 

 

 

 

 

 

 

 

 

 

Here is a Locust example file taken from cerver where i woulf like to apply what i asked above.

locustExamples_R1_lmtd.gh

Tags: agent, locust, path

Views: 595

Reply to This

Replies to This Discussion

Use the Data Recorder, and Graft the input

 

Hi Daniel thank you for your reply!

Did you mean something like this?

 

Because when i do that it seems it doesnt create the path of each agent, it more looks like connecting random points. Also when i grafted the input it becomes extremely slow. If i want to have the full path of each agent, what LS and SK would you sugest?

 

Thanks so much!!

Actualy i just conected the output points with the "trail" component from kangaroo and it worked perfectly and realy fast!

Thanx

just for future reference. you just need to graft the output PT and VE on the locust node before going into the recordData node

also if you post this in my group page it will be easier to respond

-Robert

RSS

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service