@tsparticles/path-polygon
Version:
tsParticles polygon path
7 lines (6 loc) • 310 B
JavaScript
import { PolygonPathGenerator } from "./PolygonPathGenerator.js";
export const polygonPathName = "polygonPathGenerator";
export async function loadPolygonPath(engine, refresh = true) {
engine.checkVersion("3.9.1");
await engine.addPathGenerator(polygonPathName, new PolygonPathGenerator(), refresh);
}