generative modeling for Rhino
Hey,
I am attempting to create a simple swarm model simulation in Grasshopper, via Rhino using the Kangaroo plug-in however I keep coming across problems managing the various points which make up the swarm.
Is there a way to measure the distance between two moving points (under the influence of a Uforce node), to take that distance which is constantly updating and run it through a ‘larger than’ node with a set variable. Hence when the two points who are moving in opposite directions, reach a set distance (the variable), they change direction?
It sounds complicated, any ideas how I could achieve this?
Thanks anyone who can help.
Tags: flock, kangaroo, larger, moving, points, swarm, than, two, uforce
Permalink Reply by Tudor Cosmatu on March 15, 2012 at 2:19am check this out http://www.cerver.org/2011/the-locust-are-here/
Permalink Reply by Benjamin Knowles on March 15, 2012 at 3:01am Thanks, that is perfect. Just one thing, I am unable to reset the timer to anything below 20ms? Any ideas why?
Permalink Reply by Benjamin Knowles on March 15, 2012 at 4:25am Don't worry, silly error on my part, all good now.
© 2013 Created by Scott Davidson.
Powered by