code: function squareFlashEffect () {
  
      for (var i = 0; i < $limitX; i += effectAttrs.squareSize + 1) {
        for (var j = 0; j < $limitY; j += effectAttrs.squareSize + 1) {
  
          // Set color and draw square
          ctx.fillStyle = randCol(effectAttrs.maxRed, effectAttrs.maxGreen, effectAttrs.maxBlue, 1);
          ctx.fillRect(i, j, effectAttrs.squareSize, effectAttrs.squareSize);
        }
      }
  
      render(squareFlashEffect);
    }
docs: Effect animations