createBuffer(image) {
    if (Types.isImage(image)) {
      const size = image.width + "_" + image.height;
      let canvas = this.bufferCache[size];

      if (!canvas) {
        canvas = document.createElement("canvas");
        canvas.width = image.width;
        canvas.height = image.height;
        this.bufferCache[size] = canvas;
      }

      return canvas;
    }
  }
Creates a buffer for image particles.
@param {HTMLImageElement} image - The image to create a buffer for.
@returns {HTMLCanvasElement|undefined} The created buffer canvas.
@private