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

    Particles Destroy

    Controls what happens when a particle reaches its end condition.

    Key Type Example Notes
    explode object Explode configuration, see below
    mode string "none" / "split" / "explode" Destroy behavior
    split object Split configuration, see below
    Key Type Example Notes
    maxSizeFactor number 3 Final size multiplier compared to the particle initial size
    speed number 2 Explosion progress speed (higher values complete the fade faster)
    Key Type Example Notes
    count number 1 Number of generated particles
    factor.value number / range 9 / { min: 4, max: 9 } Size/speed factor for spawned particles
    particles object Child particle options, see IParticlesOptions
    rate.value number / range 9 / { min: 4, max: 9 } Spawn intensity
    {
    "destroy": {
    "mode": "none"
    }
    }
    {
    "destroy": {
    "mode": "split",
    "split": {
    "count": 2,
    "factor": {
    "value": { "min": 3, "max": 6 }
    },
    "rate": {
    "value": 10
    }
    }
    }
    }
    {
    "destroy": {
    "mode": "explode",
    "explode": {
    "maxSizeFactor": 3,
    "speed": 2
    }
    }
    }