UNPKG

tsparticles

Version:

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

3 lines (2 loc) 194 B
import { IParticle } from "../Interfaces/IParticle"; export declare type ShapeDrawerFunction = (context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number) => void;