[[include:Options/Particles.md]]

interface IParticlesOptions {
    bounce: IParticlesBounce;
    collisions: ICollisions;
    color: IAnimatableColor;
    effect: IEffect;
    groups: ParticlesGroups;
    interactivity?: RecursivePartial<IInteractivity>;
    move: IMove;
    number: IParticlesNumber;
    opacity: IOpacity;
    reduceDuplicates: boolean;
    shadow: IShadow;
    shape: IShape;
    size: ISize;
    stroke: SingleOrMultiple<IStroke>;
    zIndex: IZIndex;
    [name: string]: unknown;
}

Implemented by

Indexable

  • [name: string]: unknown

Properties

Options for customizing the behavior when a particle bounces

collisions: ICollisions

Particles collisions options

Particles color options

effect: IEffect

Particles effects options

Particles groups

Particles interactivity options, overrides general interactivity options

move: IMove

Particles movement options

Particles number options

opacity: IOpacity

Particles opacity options

reduceDuplicates: boolean

Particles options for reducing the randomization of duplicate particles, the index will be used for choosing the array values

shadow: IShadow

Particles shadow options

shape: IShape

Particles shape options

size: ISize

Particles size options

Particles stroke options

zIndex: IZIndex

Particles z-index options