Grasshopper Boids/Agents

Call them what you will, but there’s been a huge hype about them some time ago.

Grasshopper’s scripting capabilites are now a huge super cool feature, especially if you’re coding in visual studio (c#) and then pasting the shit or making dlls. I did this some time ago when i suddenly realized that you can declare your own static variables inside scripting nodes (and these guys hold up their values during the updating procedure). And the vector math is already there too.

This is an implementation based on Craig Reynolds‘s neurons, and a little bit on Daniel Shiffman’s processing example (which was updated and used some time ago for this.

Now, if somebody will be nice and implement some collision detection…

PS: I will upload the def. soonish (i have to clean it up a bit first). Ok i didn’t clean it up; here’s the link.

Here’s a new 10 day link:

Final link, stable and sound:



30 thoughts on “Grasshopper Boids/Agents

    • thanks pat, i really appreciate. just as a side question, what would you use these guys for? only thing that comes to my mind is making holes in a solid or something of the like of what martin tamke showed us @ the TU berlin gig, with the white hanging thing in the hall (if u remember)… ah well, we’ll see.

      • Dunno yet maybe that requires some gin tonics before 😉 Yeah if I’m not mistaken I can remember Martin Tamke’s work from CITA but basically they were experimenting and just lofting the stuff. Simply all kinds of tectonic manipulation / traffic knot distribution / orientation systems come to my mind. Also depends on the digital output of ur “ants”. Possibly we could use their trails (for attracting geometry)?

        I wanna play with it.

    • yep, as soon as i have some spare time i’m gonna work on it. If i’m lucky, it could come easy – the sdk has the functions i want (hopefully computationally cheap as well). PS nice works on your website!

  1. Congrats…really nice. I’m intrigued in how you achieved this in grasshopper.
    Is there any chance you can share the definition? maybe you can post it in
    I would be grateful if you could share you grasshopper definition, i’m planning on conducting a thesis implementing swarm logic to urbanism breaking from notions of master planning thus introducing a true urban ligament based on networks of local interactions, this would be an amazing asset to my research and of course you will get the credit you deserve. See my studio website, its early days yet…

    Please let me know, maybe one of my tutors can help me develop collision detection/object avoidance parameters…

    • whooops – link is indeed broken. shit! i will fix it asap – got a project due friday, hopefully i’ll find time for this earlier. now, what were my ftp credentials…

      ps i have collision avoidance going on already, but i didn’t release the sketch yet since i didn’t do any nice advertising images for+with it. drop me a mail and i can send it to you.

  2. ueeei mate! stunning indeed! foarte fain! 🙂 tin minte ca au fost multe discutii si incercari de a face nice lill boids in GH. If i’d have 5 thumbs they’d be all up haha 🙂

  3. Hey Dimitrie – really inspiring work 🙂 .. How is that download link coming along, would be great to play with your definitions!

  4. Hey there just wanted to give you a quick heads up and let you
    know a few of the pictures aren’t loading correctly. I’m not sure
    why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same outcome.

  5. Thank you a lot for sharing this with all people you actually recognize what you’re talking about!
    Bookmarked. Kindly also seek advice from my site =).

    We will have a link change agreement between us

  6. Hola estoy encantada de visitar vuestra blog me parece super buena.

    Yo soy una colegial universitaria que me encanta el desarrollo web, el esbozo y sobre todo la creación de aplicaciones de juegos para
    Me gusta mucho vuestra blog me parece super interesante.

    Os felicito por vuestra web, soy desde hoy una admiradora vuestra.

    Hola me ha gustado mucho tu articulo
    Es alucinante, buena asesoría la que he encontrado. Muchos besitos.

    Por fin alguien que me lo ha explicado para que yo lo puede comprender.

    Estoy demasiado contenta.
    Grande, que contenta estoy, es lo mas. Gracias.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s