@tsparticles/fireworks
Version:
tsParticles fireworks bundle — easily create spectacular fireworks and fountain particle effects with built-in presets. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
14 lines (13 loc) • 375 B
TypeScript
import type { RangeValue, SingleOrMultiple } from "@tsparticles/engine";
export interface IFireworkOptions {
background: string;
brightness: RangeValue;
colors: SingleOrMultiple<string>;
gravity: RangeValue;
minHeight: RangeValue;
rate: RangeValue;
saturation: RangeValue;
sounds: boolean;
speed: RangeValue;
splitCount: RangeValue;
}