This GitHub is going to the boids…
This morning I downloaded and ran Frock, a flocking chicken simulation written in Lua with Löve (a 2D game framework for Lua). Why? Not entirely sure, except that I remember…
This morning I downloaded and ran Frock, a flocking chicken simulation written in Lua with Löve (a 2D game framework for Lua).
Why? Not entirely sure, except that I remember bird flocking simulations from college and thinking they were cool, and it turns out that Frock is hosted on GitHub. It is sort of oddly fascinating to watch. If you want to help, the author, wilhelm, is looking for some help with the algorithm for finding neighbor chickens.
My immediate goal is to make it support more chickens, so I can get a whole swarm of them. Right now, I’m using an inefficient algorithm to calculate which chickens are neighbors (basically n^2 comparisons). So if any of you have good culling techniques applicable here, I’d love to hear it. I’m currently looking at R-trees.
Just in case you’re in the mood for a little Lua Löve this morning.
Written by
Related posts
GitHub Availability Report: November 2024
In November, we experienced one incident that resulted in degraded performance across GitHub services.
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.