tsParticles - v4.1.1
    Preparing search index...

    Particle value animation state

    interface IParticleValueAnimation<T> {
        decay?: number;
        delayTime?: number;
        enable: boolean;
        initialValue?: number;
        loops?: number;
        maxLoops?: number;
        status?: AnimationStatus;
        time?: number;
        value: T;
        velocity?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    decay?: number

    Value decay factor applied each frame

    delayTime?: number

    Delay before the animation starts, in seconds

    enable: boolean

    Enables or disables the animation

    initialValue?: number

    The initial value before any animation is applied

    loops?: number

    Current loop count

    maxLoops?: number

    Maximum number of loops before the animation stops

    Current animation status (increasing, decreasing, or none)

    time?: number

    Elapsed time since the animation started

    value: T

    Current animated value

    velocity?: number

    Animation velocity per frame