tsparticles
Version:
Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.
9 lines (8 loc) • 432 B
TypeScript
import { PolygonDrawerBase } from "./PolygonDrawerBase";
import type { ISide } from "../../Interfaces/ISide";
import type { ICoordinates } from "../../Interfaces/ICoordinates";
import type { IParticle } from "../../Interfaces/IParticle";
export declare class TriangleDrawer extends PolygonDrawerBase {
getSidesData(particle: IParticle, radius: number): ISide;
getCenter(particle: IParticle, radius: number): ICoordinates;
}