UNPKG

tsparticles

Version:

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

11 lines (10 loc) 353 B
import type { Container } from "../Container"; import type { Particle } from "../Particle"; export declare class InteractionManager { private readonly container; private readonly linker; private readonly attracter; private readonly collider; constructor(container: Container, particle: Particle); interact(p2: Particle): void; }