Live data from Hacker News

Show HN: Boids Simulation

anoopelias.github.io

1–10 of 31 posts

Re: Show HN: Boids Simulation

#5
post #4

If you're into this kind of artificial life simulation, I can recommend you watching this talk: http://developertalks.tumblr.com/post/109998034809/simon-swa...

Excellent link. Thank you.

I haven't looked deep in to these kind of simulations in general. Inspiration came from the Princeton Algortihms course in coursera.org. There is this sample problem, http://www.cs.princeton.edu/courses/archive/spr10/cos226/ass...

Re: Show HN: Boids Simulation

#10

I was inspired by this to create my own a few months ago. It uses a quadtree to optimize nearest neighbor lookup to ideally reduce complexity from n^2 to nlogn on each tick. http://jrhdoty.github.io/SwarmJS/

Yes, looks beautiful. Quite similar, I guess.

I had run in to some performance issues, the initial few ticks are quiet slow even now, esp. on a phone.

This one uses a kdtree instead. I'll have to try quadtree and benchmark. Thanks.

Post reply on HN