Hacker News new | past | comments | ask | show | jobs | submit login

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...

And sourcecode: 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: