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.

26 lines (25 loc) 1.08 kB
import { initPjs } from "./pjs"; import { Main } from "./main"; import * as CanvasUtils from "./Utils/CanvasUtils"; import * as ColorUtils from "./Utils/ColorUtils"; import * as NumberUtils from "./Utils/NumberUtils"; import * as Utils from "./Utils/Utils"; import { Circle, CircleWarp, Constants, Point, Rectangle } from "./Utils"; import { loadFull } from "./full"; const tsParticles = new Main(); tsParticles.init(); loadFull(tsParticles); const { particlesJS, pJSDom } = initPjs(tsParticles); export * from "./Core/Particle/Vector"; export * from "./Core/Container"; export * from "./Enums"; export * from "./Plugins/Absorbers/Enums"; export * from "./Plugins/Emitters/Enums"; export * from "./Plugins/PolygonMask/Enums"; export { CanvasUtils, Circle, CircleWarp, ColorUtils, Constants, NumberUtils, Point, Rectangle, Utils, Main, loadFull }; export * from "./Types"; export * from "./Core/Interfaces"; export * from "./Core/Particle"; export * from "./Core/ExternalInteractorBase"; export * from "./Core/ParticlesInteractorBase"; export { particlesJS, pJSDom, tsParticles };