code: function render (callback) {
  
      if (effectAttrs.speed !== undefined) {
        setTimeout(function () {
          id = requestAnimationFrame(callback);
        }, effectAttrs.speed);
      } else {
        id = requestAnimationFrame(callback);
      }
    }
docs: Render based on interval or automatically