I am using CSS shader + animation. My shader class is defined as follows:
.shader{
-webkit-filter :custom(url(v.vs) mix(url(f.fs) multiply destination-over),
According to a 2011 article on css-tricks.com, triggering a reflow in between removing and adding the class will restart the animation. Example (verbose):
$('#holder').removeClass('shader');
$('#holder').offsetWidth = $('#holder').offsetWidth; // triggers reflow
$('#holder').addClass('shader'); // restarts animation