tsparticles-engine
Version:
Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
14 lines (13 loc) • 388 B
TypeScript
import type { Container } from "./Container";
import type { Particle } from "./Particle";
export declare class Retina {
private readonly container;
attractDistance: number;
maxSpeed: number;
pixelRatio: number;
reduceFactor: number;
sizeAnimationSpeed: number;
constructor(container: Container);
init(): void;
initParticle(particle: Particle): void;
}