PixiJS Particle Emitter - Alpha

Alpha controls the transparency of particles. An alpha of zero is completely transparent. An alpha of one is completely opaque.

The configuration for alpha as a simple list of alpha values and times as shown.

Parameters

Alpha Behavior Example:

Alpha Behavior Configuration: – other configuration excluded for brevity

{
  type: 'alpha',
  config: {
    alpha: {
      list: [
        { value: 0, time: 0 },
        { value: 0, time: 0.3 },
        { value: 1, time: 0.5 },
        { value: 0, time: 1 },
      ],
    },
  },
},

PixiJS Particle Emitter: The Unauthorized Manual