UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

18 lines (17 loc) 532 B
import type { Container } from "../Container"; import type { Particle } from "../Particle"; export declare class Updater { private readonly particle; private readonly container; private readonly mover; constructor(container: Container, particle: Particle); private static checkBounds; update(delta: number): void; private updateOpacity; private updateSize; private updateAngle; private fixOutOfCanvasPosition; private updateOutMode; private updateBounce; private polygonBounce; }