fibonatic/GravitySim — pull request #1 by mLuby (2014-06-04 20:27:54+00:00)
Title: Fixed 'loop()'

These are so cool! :)

I had trouble getting them to run because the of the quotes and parens in the two SetInterval('loop()', runSpeed); statements. Removing those made it run just fine.

Since you set zoom level to 1, I made that explicit in the HTML.

And included links to JSFiddles of each in case others want to experiment.