Brian Hayes wrote a nice article about this a few months ago in American Scientist [1] and also wrote a little JS demo to tinker with linked from here [2].<p>1. <a href="http:&#x2F;&#x2F;www.americanscientist.org&#x2F;libraries&#x2F;documents&#x2F;201561716294611219-2015-07CompSciHayesRev.pdf" rel="nofollow">http:&#x2F;&#x2F;www.americanscientist.org&#x2F;libraries&#x2F;documents&#x2F;2015617...</a><p>2. <a href="http:&#x2F;&#x2F;bit-player.org&#x2F;2015&#x2F;traffic-jams-in-javascript" rel="nofollow">http:&#x2F;&#x2F;bit-player.org&#x2F;2015&#x2F;traffic-jams-in-javascript</a>