Purple Rain ☂️!
PowerCoder (188)

Very simple, but satisfying animation. These are div's, not gif's

Thanks for all the support (:

You are viewing a single comment. View All
mwilki7 (784)

@TaylorLiang
iirc the fix is:

// Canvas frame update handling
var vendors = ['webkit', 'moz'];
for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) 
{
    window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];
    window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationFrame'];
}
window.requestAnimationFrame(name_of_your_function_here);

instead of interval function