UNPKG

tsparticles

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) 429 B
import type { Container } from "../Container"; import type { IDelta } from "../Interfaces"; import type { Particle } from "../Particle"; export declare class ParticlesMover { private readonly container; constructor(container: Container); move(particle: Particle, delta: IDelta): void; private moveParticle; private spin; private applyPath; private moveParallax; private getProximitySpeedFactor; }