I am trying to edit this script it so it will go towards an attractor (eg: food source) and as it grows the older parts die off to leave the minimum path(like slime mould) Any suggestions? Sorry I am quite new to grasshopper
http://www.grasshopper3d.com/profiles/blogs/diffusion-limited-aggre...
Thank you!
Arthur Mamou-Mani
Hi Sarah,
I am not sure if this applies to your question but you can guide a "growth" on hoopsnake by measuring the different directions towards an object and keeping the closest one for the current object. Have a look at the definition attached and video below.
Best,
Arthur
https://vimeo.com/45281956
Oct 28, 2012
Vicente Soler
Not sure if this is what you are looking for but try the attached file.
It's almost the same script but I added a small subroutine that will make it only add a line when it's not the furthest away from a desired point. To input this point I added a point input called 'target'.
Oct 28, 2012