boids-js icon indicating copy to clipboard operation
boids-js copied to clipboard

Extending Boids simulation with entropy calculation and visualization.

Open richardszabo opened this issue 10 years ago • 1 comments

Hi Christopher,

I have extended your boids-js simulation with a form of entropy calculation and the result appears on a new graph layer above boids. Some of your parameters became configurable as well to let the users play with them. I was interested in whether boids converge to a stable state when there is only one large flock and how the disorder in the system changes over time. You can check the current version here.

I hope you like my extension.

Bests, Richárd Szabó

richardszabo avatar Dec 21 '15 15:12 richardszabo

Thanks, this is cool! It's fascinating how the entropy waxes an wanes so organically despite being a simple, deterministic simulation.

As the README states, this was primarily written as a demo for Skewer, an interactive JavaScript mode for Emacs, and it continues to serve this purpose. The parameters are very intentionally hidden away to be adjusted on the fly via JavaScript evaluation rather than through a UI. :-) The entropy additions also seem to come with a moderate performance hit, especially as the graph grows.

You made this a pull request, but given those two points above, I don't want to merge these changes as the "official" master version. However, I will very gladly link to your version from my README. If you give me a PR that adds a paragraph to the README describing your version along with a couple of links (your repository and your hosted version), I'll merge it so that people can find your version easily.

skeeto avatar Dec 27 '15 17:12 skeeto