The question says it all: I'm looking for working, open source, implementations of algorithms (or derivatives there of) initially described in the Boids paper.
Asked
Active
Viewed 1,106 times
1
-
You might check out Apple's SpriteKit implementation of boids flocking behavior from WWDC 2014. Some details here: https://stackoverflow.com/q/44235801/4376309 – peacetype Jul 12 '17 at 08:03
2 Answers
1
It looks like most of the code out there was written before "Open Source" really meant anything. I asked Mr Google:
- Craig Reynolds's Boids page has a bunch of links for various languages and some mostly-original Lisp. Embedding a Lisp interpreter should not be that hard.
- Christopher Kline, C++, Not-For-Profit. Licence terms for commercial apps negotiable with the author.
- Tom Bak, Thong Chau, Visual C++/OpenGL/GLUT, no licence. You could try contacting them.
- Robert Platt, VC++/D3D, no licence. You could try contacting him too.
You're unlikely to find anything specifically "for the iOS" (or even written in Objective-C), but C and C++ versions should be easy to port. .NET versions should be easy enough to run using MonoTouch.

tc.
- 33,468
- 5
- 78
- 96
-
Is the algorithm too old, for anyone to have attempted to implement something like it for the iOS? Are there more modern versions that are more likely to have an iOS implementation? – blueberryfields Nov 27 '10 at 20:33
-
Algorithms are generally developed for a *language*, not a *platform*. Most people do not write algorithms for Objective-C since it's neither widely-used, fast, nor quick to write; however it's easy enough to run standard C or C++ code. – tc. Dec 01 '10 at 20:46
0
This might help: Chapter from Killer game programming in Java about Flocking Boids

willi
- 6,559
- 4
- 30
- 27