tdhock/animint — pull request #27 by tdhock (2014-10-15 15:47:33+00:00)
Title: play/pause, fix grey rects on mouseout in firefox

I wrote some code for a play/pause button, and I stop the animation whenever the browser window is hidden, hopefully this fixes the problem in firefox where there would be too many grey tallrects.

http://stackoverflow.com/questions/5927284 explains that chrome pauses setInterval timers automatically.