Absorber options [[include:Options/Plugins/Absorbers.md]]

interface IAbsorber {
    color: string | IRangeColor;
    destroy: boolean;
    draggable: boolean;
    name?: string;
    opacity: number;
    orbits: boolean;
    position?: RecursivePartial<IRangedCoordinates>;
    size: IAbsorberSize;
}

Implemented by

Properties

color: string | IRangeColor

Absorber color

destroy: boolean

Absorber destroy, this enable particle destruction, if disabled the particle will randomly respawn

draggable: boolean

Absorber draggable, this enables dragging on absorbers

name?: string

Absorber name

opacity: number

Absorber opacity

orbits: boolean

Absorber orbits, this enable particles orbiting while being attracted by the attracter

Absorber position, percent values calculated on canvas size

Absorber size, these values will be used as pixels