UNPKG

tsparticles

Version:

Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

12 lines (11 loc) 384 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadTextShape = void 0; const TextDrawer_1 = require("./TextDrawer"); function loadTextShape(tsParticles) { const drawer = new TextDrawer_1.TextDrawer(); for (const type of TextDrawer_1.validTypes) { tsParticles.addShape(type, drawer); } } exports.loadTextShape = loadTextShape;