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.

[youtube=http://www.youtube.com/watch?v=R7cEvMYDn5M]

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: http://dl.transfer.ro/boidsT-Transfer_RO-16Nov-ad56f6.zip

Final link, stable and sound: http://improved.ro/Grasshopper/boidsTCAV.zip

 

20 Responses Subscribe to comments


  1. a-ngine

    No words for describing the party inside my head – just stunning work mate! And exactly what we talked about earlier this year ;) great.p

    Oct 18, 2009 @ 1:36 pm


  2. davide del giudice

    This is amazing! check this link http://www.vimeo.com/785082 and thank for your sharing.

    Oct 18, 2009 @ 6:01 pm


  3. dimitrie stefanescu

    yep, the creatures look great :) thanks for the thumbs up.

    Oct 18, 2009 @ 7:40 pm


  4. dimitrie stefanescu

    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.

    Oct 18, 2009 @ 7:44 pm


  5. Daniel

    Really great work. Very nice

    Oct 18, 2009 @ 9:23 pm


  6. corneel cannaerts

    Nice work! Obstacle avoidance & collision detection could add some architectural ’sense’.

    Oct 19, 2009 @ 9:03 am


  7. dimitrie stefanescu

    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!

    Oct 19, 2009 @ 1:57 pm


  8. Twitter Trackbacks for Grasshopper Boids/Agents « un didi [dimitrie.wordpress.com] on Topsy.com

    [...] Grasshopper Boids/Agents « un didi dimitrie.wordpress.com/2009/10/17/grasshopper-boidsagents – view page – cached Home > architecture, arhitectura, boids, code, computational, geek, grasshopper, parametric architecture, programming, useless > Grasshopper Boids/Agents — From the page [...]

    Oct 19, 2009 @ 11:03 pm


  9. Twitted by HDA_Paris

    [...] This post was Twitted by HDA_Paris [...]

    Oct 19, 2009 @ 11:07 pm


  10. a-ngine

    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.

    Oct 20, 2009 @ 7:09 pm


  11. Net-Label Ministerio de ritmos

    the link is broken… can you replace it????

    pleeeeeeeaaaassssseeeee…

    Oct 29, 2009 @ 4:21 pm


  12. Alejandro Vicente

    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
    http://www.rhinoscript.org/
    http://www.rhinoscript.org/grasshopper
    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…

    http://ds13.uforg.net/09-10-atmospheric-disturbances/

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

    Nov 03, 2009 @ 11:50 pm


  13. dimitrie stefanescu

    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.

    Nov 04, 2009 @ 10:41 pm


  14. Alejandro Vicente

    Thank you v.much Dimitrie, hopefully i can evolve what you have already started…
    Take care!

    Nov 05, 2009 @ 11:14 am


  15. Irina Bogdan

    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 :)

    Nov 11, 2009 @ 2:07 pm


  16. dimitrie stefanescu

    sarumana de laude. tre’ sa repar linku ala si sa pun si varianta cu collision detection.
    haide spor :) si pe cand pe meleaguri?

    Nov 11, 2009 @ 2:36 pm


  17. AZ

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

    Nov 15, 2009 @ 1:25 am


  18. dimitrie stefanescu

    http://dl.transfer.ro/boidsT-Transfer_RO-16Nov-ad56f6.zip

    Nov 16, 2009 @ 12:09 pm


  19. AZ

    Thanks :) Really appreciate it.

    Nov 19, 2009 @ 1:27 am


  20. dimitrie stefanescu

    FINAL LINK, SAFE AND SOUND: http://improved.ro/Grasshopper/boidsTCAV.zip

    Nov 26, 2009 @ 3:57 pm

Reply


#define

Documenting the work of Dimitrie Stefanescu, stud. arch.

He is:

¬ Searching for meaningful applications of computer-driven practices in building science/architecture.

¬ Pushing towards the programming society.

¬ Still forming a general opinion on life, the universe and architecture.

#include


Add to Technorati Favorites

Creative Commons License
Unless otherwise specified, this work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Licence.
Select by Date
Select by Category