UNPKG

@tsparticles/interaction-particles-links

Version:

tsParticles links particles interaction

23 lines (22 loc) 551 B
import type { IRangeColor, RangeValue } from "@tsparticles/engine"; import type { LinkParticle } from "./Types.js"; export interface ILink { destination: LinkParticle; opacity: number; } export interface ILinkTriangle { opacity: number; vertices: LinkParticle[]; } export interface IParticlesFrequencies { links: Map<string, number>; triangles: Map<string, number>; } export interface ITwinkle { lines: { color: IRangeColor; enable: boolean; frequency: number; opacity: RangeValue; }; }