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

    Particles density options

    interface IParticlesDensity {
        enable: boolean;
        height: number;
        width: number;
    }

    Implemented by

    Index

    Properties

    Properties

    enable: boolean

    Enable density to increase or reduce the number of particles depending on the size of the container

    height: number

    The height of the container in pixels

    width: number

    The width of the container in pixels