UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks 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.

19 lines (18 loc) 793 B
import { loadAbsorbersPlugin } from "./Plugins/Absorbers"; import { loadEmittersPlugin } from "./Plugins/Emitters"; import { loadExternalTrailInteraction } from "./Interactions/External/Trail"; import { loadPolygonMaskPlugin } from "./Plugins/PolygonMask"; import { loadRollUpdater } from "./Updaters/Roll"; import { loadSlim } from "./slim"; import { loadTiltUpdater } from "./Updaters/Tilt"; import { loadWobbleUpdater } from "./Updaters/Wobble"; export async function loadFull(engine) { await loadSlim(engine); await loadExternalTrailInteraction(engine); await loadRollUpdater(engine); await loadTiltUpdater(engine); await loadWobbleUpdater(engine); await loadAbsorbersPlugin(engine); await loadEmittersPlugin(engine); await loadPolygonMaskPlugin(engine); }