boids
boids copied to clipboard
I just watched Destin's video. Pretty cool how you explained Boid's algorithm. I got curious and had a look at boid.js. This TODO caught my attention even though the function...
https://en.wikipedia.org/wiki/Conway's_Game_of_Life
Hi Ben! Huge fan of your work! I couldn't find your email on your website so I hope it's alright that I write my message here. I was wondering if...
I think that the loop function is not called at regular steps by the Firefox browser, in Chrome it is much more stable
It would be great if we could control the number of birds on the screen by a slider.
I think by putting the animation loop in a setInterval() could allow for adjusting the speed without having to change anything else in the code 🐔
Event `onclick` on canvas can be implemented without repost the [original code](https://raw.githack.com/beneater/boids/master/boids.js), but only [change the callback function](https://codepen.io/6unpnp/pen/GRGjeYo?editors=0010).