tsParticles - v4.0.0-beta.12
    Preparing search index...

    Move path generator interface

    interface IMovePathGenerator {
        generate: (particle: Particle, delta: IDelta) => Vector;
        init: () => void;
        reset: (particle: Particle) => void;
        update: () => void;
    }
    Index

    Properties

    generate: (particle: Particle, delta: IDelta) => Vector

    Generates a path vector for the given particle

    init: () => void

    Initializes the path generator

    reset: (particle: Particle) => void

    Resets the path generator state for the given particle

    update: () => void

    Updates the path generator state