@tsparticles/shape-text
Version:
tsParticles text shape
11 lines (10 loc) • 354 B
JavaScript
import { validTypes } from "./Utils.js";
export async function loadTextShape(engine) {
engine.checkVersion("4.1.0");
await engine.pluginManager.register(e => {
e.pluginManager.addShape(validTypes, async () => {
const { TextDrawer } = await import("./TextDrawer.js");
return new TextDrawer();
});
});
}