tsparticles
Version:
Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.
26 lines (25 loc) • 919 B
TypeScript
import type { IShape } from "./Shape/IShape";
import type { IColor } from "./IColor";
import type { ILineLinked } from "./ILineLinked";
import type { IMove } from "./IMove";
import type { IParticlesNumber } from "./IParticlesNumber";
import type { IOpacity } from "./IOpacity";
import type { ISize } from "./ISize";
import type { IOptionLoader } from "../IOptionLoader";
import type { IRotate } from "./IRotate";
import type { IShadow } from "./IShadow";
import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple";
import type { IStroke } from "./IStroke";
export interface IParticles extends IOptionLoader<IParticles> {
color: SingleOrMultiple<IColor>;
line_linked: ILineLinked;
lineLinked: ILineLinked;
move: IMove;
number: IParticlesNumber;
opacity: IOpacity;
rotate: IRotate;
shadow: IShadow;
shape: IShape;
size: ISize;
stroke: SingleOrMultiple<IStroke>;
}