Tag: web workers

web workers vs. the crazy flies

Here’s a low tech demo of the power of web workers. A hundred flies will swarm randomly. Ones that get too high get sleepy, ones that sink too low get re-caffeinated and ones that cover the least distance will perish.

Click for demo (IE not supported)

Sourcecode is gisted on GitHub

Continue reading “web workers vs. the crazy flies”

Advertisements