Skip to content

Instantly share code, notes, and snippets.


Julien GuezNet molokoloco

View GitHub Profile
molokoloco / anim.js
Last active Aug 29, 2015
JS animations techniques
View anim.js
// Simple anim
var fps = 1000/60;
var tick = function () {
// animate something
if (notFinish) setTimeout(tick, fps);
// Cross-browsers "requestAnimationFrame"

Keybase proof

I hereby claim:

  • I am molokoloco on github.
  • I am molokoloco ( on keybase.
  • I have a public key whose fingerprint is 5CC7 4760 5CCB 7447 B98B 49DB 2B3F 02DB 3386 3FDC

To claim this, I am signing this object: