cassidoo/cassidoo-v3 — pull request #1 by yeldarby (2014-10-06 15:14:00+00:00)
Title: Updating from 17 FPS to 60 FPS

Nice site! Pretty fun to play with :)

I was thinking the dots animation looked a little choppy so I had a look at your code. Looks like you were only running the draw loop every 60 ms rather than every 16 which was only giving you a frame rate of 17 frames per second. Changing that to 16 ms should get you a much smoother animation.

Really though if you get a chance you should look into using `requestAnimationFrame` for your draw loop. You can read more about that here: http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/