tsparticles
Version:
Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.
19 lines (18 loc) • 564 B
TypeScript
import type { IAttract } from "./IAttract";
import type { MoveDirection } from "../../../Enums/MoveDirection";
import type { OutMode } from "../../../Enums/OutMode";
import type { IOptionLoader } from "../IOptionLoader";
import type { ITrail } from "./ITrail";
export interface IMove extends IOptionLoader<IMove> {
attract: IAttract;
bounce: boolean;
collisions: boolean;
direction: MoveDirection;
enable: boolean;
out_mode: OutMode;
outMode: OutMode;
random: boolean;
speed: number;
straight: boolean;
trail: ITrail;
}