Canvas Settings

  • $placeholder: HTMLElement - The HTML element that will contain the particle system. The particle system will be generated and rendered within this element, and it will take the placeholder width and height.

  • canvasColor?: string - The background color of the canvas. This should be specified as a string in CSS format (e.g. “#FFFFFF” for white, “#000000” for black). If this property is optional.