@tsparticles/particles
Version:
Minimal tsParticles particles bundle — lightweight particle engine without confetti or fireworks extras. Perfect for pure particle backgrounds. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, In
14 lines (13 loc) • 359 B
TypeScript
import type { RangeValue, SingleOrMultiple } from "@tsparticles/engine";
export interface IParticlesOptions {
collisions?: boolean;
color?: string;
count?: number;
links?: boolean;
linksColor?: string;
linksLength?: number;
opacity?: number;
radius?: RangeValue;
shape?: SingleOrMultiple<string>;
speed?: RangeValue;
}