Flocking in VL

Hello guys, I was wondering if there was a solution in gamma for flocking behaviour.

I know about the really nice VL.boids.GPU

but I am looking for something more useable, with obstacle, food source, and predator… Even a 2d sim could help…

Also I would like to be able to managed my fish through a record, to create and kill instance ….

There was this old thread on beta about this, I was wondering if someone had something in VL

Thanks you

Did you try Fuse ? There are node for this, maybe not exactly the same as boids but depending on what you want to achieve visually it could be enough.

Yeah I saw, “seek and flee” and the all category of steering… It’s nice but a little bit overkill for my purpose, and not really a boids behaviour…

I was looking for something more basic and maybe on cpu…

Its basically a interactive installation with a water simulation and some fish to catch … I have already something that work but with a basic wanderer for the movement, i was looking for something more natural for the movement of the fish… a flock…

1 Like

i remembered one of the first things ever @bjoern did in VL was implementing boids. i dug this out from beta38.1. it opens fine but throws a runtime error. probably needs a bit of a cleanup, but should have all the guts (the basic algorithms) there.

EDIT: gave it a bit of lovvvve. it now does something:
EDIT2: a bit more cleanup. think it should now be disectible.
VL.Boids.zip (63.5 KB)

1 Like

Hehe, Yeah I was trying to get it without succes :) thanks you for the edit!! Its really nice !!

Blast from the past :) I think it was 2014.
Credit goes to Daniel Schiffman / Nature of Code

2 Likes

I developed that a few months ago that does all the things, I can try to dig it up.

4 Likes