Bat swarms and game AI aside, what are the real world applications of something like this? It strikes me as significantly less useful than say a neural net.
Neat Algorithms - Flocking
21–26 of 26 posts
Re: Neat Algorithms - Flocking
#22http://www.cs.rit.edu/~bpd9116/WebGLU/examples/boids/boids.h...
Re: Neat Algorithms - Flocking
#23Woah! Super cool idea. So many ways you can take this to a new level. Also, if anyone is looking to contribute to some open source, this would be a great opportunity as there is lots of epic optimization problems in this algorithm to work on. For example, whats the fastest data structure/algorithm to make searching for neighbours?
Re: Neat Algorithms - Flocking
#24Here's a CoffeeScript port of this algorithm I did awhile ago. https://gist.github.com/3733089 and a demo: http://wsb.im/flocking/index.html Definitely fun stuff to play around with.
Re: Neat Algorithms - Flocking
#25The 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…
Re: Neat Algorithms - Flocking
#26In straight js and canvas, with bird silhouettes and Perlin sky