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

    Firework options interface

    interface IFireworkOptions {
        background: string;
        brightness: RangeValue;
        colors: SingleOrMultiple<string>;
        gravity: RangeValue;
        minHeight: RangeValue;
        rate: RangeValue;
        saturation: RangeValue;
        sounds: boolean;
        speed: RangeValue;
        splitCount: RangeValue;
    }

    Implemented by

    Index

    Properties

    background: string

    Background color

    brightness: RangeValue

    Brightness offset for stroke colors

    colors: SingleOrMultiple<string>

    Firework colors

    gravity: RangeValue

    Gravity acceleration

    minHeight: RangeValue

    Minimum height before splitting the rocket

    Firework launch rate

    saturation: RangeValue

    Saturation offset for stroke colors

    sounds: boolean

    Enables explosion sounds

    speed: RangeValue

    Rocket speed

    splitCount: RangeValue

    Number of split particles per explosion