i also added requestAnimationFrame instead of setInterval (when supported) and instance methods to pause/resume the animation. Sorry that this is all in the master branch, feel free to pick the changes by yourself and discard the PR.
ah, and you have to translate the readme changes to chinese :)
i also added requestAnimationFrame instead of setInterval (when supported) and instance methods to pause/resume the animation. Sorry that this is all in the master branch, feel free to pick the changes by yourself and discard the PR.
ah, and you have to translate the readme changes to chinese :)