tsparticles
Version:
Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.
13 lines (12 loc) • 373 B
TypeScript
import type { Container } from "../Container";
import type { Particle } from "../Particle";
export declare class Repulser {
private readonly particle;
private readonly container;
constructor(container: Container, particle: Particle);
repulse(): void;
private divRepulse;
private clickRepulse;
private hoverRepulse;
private processRepulse;
}