3 ms·
I had a go at this too a little while ago. It's not web based unfortunately so here's a short video of it running: http://www.youtube.com/watch?v=eY4DHcsuv1Y&f
by onehp 14y ago
I had a go at this too a little while ago.
It's not web based unfortunately so here's a short video of it running: http://www.youtube.com/watch?v=eY4DHcsuv1Y&feature=youtu.be http://www.youtube.com/watch?v=eY4DHcsuv1Y&feature=youtu...
And sourcecode: https://github.com/OneHP/murmuration https://github.com/OneHP/murmuration
Also because I'm not great with my vector maths you'll spot that the boids have some odd behaviour where they favour vertical movement. Strange little bug.