Neat Algorithms - Flocking
11–20 of 26 posts
Re: Neat Algorithms - Flocking
#12You should definitely check out Daniel Shiffmans "Nature of Code" book that is coming out soon. It's full of stuff like this.
(hey Rune!)
Re: Neat Algorithms - Flocking
#13Re: Neat Algorithms - Flocking
#14This is covered very well (a long with many other neat algorithms) in The Computational Beauty of Nature[1], one of those books I keep coming back to [1] http://mitpress.mit.edu/books/FLAOH/cbnhtml/
Not necessarily for anyone who's not comfortable with the math, but a very rewarding a mind opening read.
Re: Neat Algorithms - Flocking
#15This is covered very well (a long with many other neat algorithms) in The Computational Beauty of Nature[1], one of those books I keep coming back to [1] http://mitpress.mit.edu/books/FLAOH/cbnhtml/
Even if you know about some areas already.
Re: Neat Algorithms - Flocking
#16You should definitely check out Daniel Shiffmans "Nature of Code" book that is coming out soon. It's full of stuff like this.
Re: Neat Algorithms - Flocking
#17Re: Neat Algorithms - Flocking
#18The original paper[0], published in '86, in addition to being a huge step forward over contemporary graphics techniques, is extremely comprehensible and an excellent read. It also goes into some detail about collision avoidance, which is hard to see in the browser demo (boids will avoid the mouse but not in a very large area), and goal seeking, which isn't in it. It ends with a fairly eyebrow-raising testament to the…
I think I had decided that I just didn't understand the material. Now I think that the article wasn't a technical paper and I didn't know any better at the time. Your link to the original paper (!) is most certainly welcome. I've finally decided to get back to some graphics programming and this would be a fun exercise.
Re: Neat Algorithms - Flocking
#19I once programmed a swarm simulation as a project for a course I attended. You can set various parameters of the swarm and introduce a predator which can try to eat inidividuals of the swarm. You then can set a bunch of escape strategies. This was pretty much fun when I wrote it. Just uploaded it to my bitbucket repository in case anyone is interested. https://bitbucket.org/mlux/swarm-simulation
https://github.com/piskvorky/PredatorPrey
I remember decoupling the simulation speed from graphics rendering speed (aka frame rate) and AI thinking speed was a lot of fun!
Re: Neat Algorithms - Flocking
#20This is covered very well (a long with many other neat algorithms) in The Computational Beauty of Nature[1], one of those books I keep coming back to [1] http://mitpress.mit.edu/books/FLAOH/cbnhtml/