UNPKG

@tsparticles/path-curves

Version:
7 lines (6 loc) 303 B
import { CurvesPathGenerator } from "./CurvesPathGenerator.js"; export const curvesPathName = "curvesPathGenerator"; export async function loadCurvesPath(engine, refresh = true) { engine.checkVersion("3.9.1"); await engine.addPathGenerator(curvesPathName, new CurvesPathGenerator(), refresh); }