jonobr1 / Physics

A requirified port of Traer Physics from Processing to JavaScript.
http://jonobr1.github.com/Physics
Other
194 stars 21 forks source link

2 Bugfixes #1

Closed skratchdot closed 12 years ago

skratchdot commented 12 years ago

Fixing an error reported by Firebug as well as a bug that I experienced when checking out your documentation: I was click the play/pause button and the text was changing, but no animation was triggered. I thought the library was broken, but then realized clicking on the canvas fixed things.

Feel free to ignore this pull request. I'm storing the physics object on the canvas to get access to it in the "toggle text" code. Not sure of the memory impact of this.

Tested in the latest versions of Firefox and Chrome.

skratchdot commented 12 years ago

You can check out the differences by clicking on one of the play/pause buttons on these 2 pages:

http://skratchdot.github.com/Physics/

vs

http://jonobr1.github.com/Physics/

jonobr1 commented 12 years ago

This is a duplicate of https://github.com/jonobr1/Physics/pull/2 , correct?