tsParticles - v4.1.1
    Preparing search index...

    Attract mode options

    interface IAttract {
        distance: number;
        duration: number;
        easing: EasingType | EasingTypeAlt;
        factor: number;
        maxSpeed: number;
        restore: IAttractRestore;
        speed: number;
    }

    Implemented by

    Index

    Properties

    distance: number

    Attract distance in pixels

    duration: number

    Attract animation duration in seconds

    Attract animation easing type

    factor: number

    Attract factor multiplier

    maxSpeed: number

    Maximum attract speed

    Restore behavior after particles leave attract influence

    speed: number

    Attract speed