UNPKG

@tsparticles/all

Version:

All-inclusive tsParticles bundle — all engine packages, plugins, interactions, presets, shapes, updaters, effects, paths, emitters, sounds, and palettes in one dependency. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte,

114 lines (108 loc) • 13.4 kB
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this); (function (g) { /* tsParticles v4.5.0 */ g.__tsParticlesInternals = g.__tsParticlesInternals || {}; g.__tsParticlesInternals.bundles = g.__tsParticlesInternals.bundles || {}; (function (exports, shapeArrow, pluginBackgroundMask, pathBranches, pathBrownian, effectBubble, pluginCanvasMask, shapeCards, shapeCog, pathCurlNoise, pathCurves, pluginEasingBack, pluginEasingBounce, pluginEasingCirc, pluginEasingCubic, pluginEasingElastic, pluginEasingExpo, pluginEasingGaussian, pluginEasingLinear, pluginEasingQuart, pluginEasingQuint, pluginEasingSigmoid, pluginEasingSine, pluginEasingSmoothstep, pluginEmittersShapeCanvas, pluginEmittersShapePath, pluginEmittersShapePolygon, pluginExportImage, pluginExportJson, pluginExportVideo, interactionExternalCannon, interactionExternalParticle, interactionExternalPop, effectFilter, pathFractalNoise, tsparticles, shapeGif, updaterGradient, pathGrid, shapeHeart, pluginHsvColor, pluginHwbColor, pluginInfection, shapeInfinity, pluginLabColor, pluginLchColor, pathLevy, interactionLight, pluginManualParticles, shapeMatrix, pluginMotion, pluginNamedColor, pluginOklabColor, pluginOklchColor, updaterOrbit, effectParticles, interactionParticlesRepulse, shapePath, pathPerlinNoise, pluginPoissonDisc, pluginPolygonMask, pathPolygon, pathRandom, pluginResponsive, shapeRibbon, shapeRoundedPolygon, shapeRoundedRect, pathSvg, effectShadow, pathSimplexNoise, pluginSounds, pathSpiral, shapeSpiral, shapeSquircle, pluginThemes, effectTrail, pluginTrail, pathZigZag, pluginZoom) { 'use strict'; async function loadAll(engine) { engine.checkVersion("4.5.0"); await engine.pluginManager.register(async (e) => { const loadInteractionsForAll = async (e) => { await tsparticles.loadFull(e); await Promise.all([ interactionExternalCannon.loadExternalCannonInteraction(e), interactionExternalParticle.loadExternalParticleInteraction(e), interactionExternalPop.loadExternalPopInteraction(e), interactionLight.loadLightInteraction(e), interactionParticlesRepulse.loadParticlesRepulseInteraction(e), pluginInfection.loadInfectionPlugin(e), pluginEmittersShapeCanvas.loadEmittersShapeCanvas(e), pluginEmittersShapePath.loadEmittersShapePath(e), pluginEmittersShapePolygon.loadEmittersShapePolygon(e), pathBranches.loadBranchesPath(e), pathBrownian.loadBrownianPath(e), pathCurlNoise.loadCurlNoisePath(e), pathCurves.loadCurvesPath(e), pathFractalNoise.loadFractalNoisePath(e), pathGrid.loadGridPath(e), pathLevy.loadLevyPath(e), pathPerlinNoise.loadPerlinNoisePath(e), pathPolygon.loadPolygonPath(e), pathRandom.loadRandomPath(e), pathSvg.loadSVGPath(e), pathSpiral.loadSpiralPath(e), pathZigZag.loadZigZagPath(e), pathSimplexNoise.loadSimplexNoisePath(e), ]); }; await Promise.all([ loadInteractionsForAll(e), pluginHsvColor.loadHsvColorPlugin(e), pluginHwbColor.loadHwbColorPlugin(e), pluginLabColor.loadLabColorPlugin(e), pluginLchColor.loadLchColorPlugin(e), pluginOklabColor.loadOklabColorPlugin(e), pluginOklchColor.loadOklchColorPlugin(e), pluginNamedColor.loadNamedColorPlugin(e), pluginEasingBack.loadEasingBackPlugin(e), pluginEasingBounce.loadEasingBouncePlugin(e), pluginEasingCirc.loadEasingCircPlugin(e), pluginEasingCubic.loadEasingCubicPlugin(e), pluginEasingElastic.loadEasingElasticPlugin(e), pluginEasingExpo.loadEasingExpoPlugin(e), pluginEasingGaussian.loadEasingGaussianPlugin(e), pluginEasingLinear.loadEasingLinearPlugin(e), pluginEasingQuart.loadEasingQuartPlugin(e), pluginEasingQuint.loadEasingQuintPlugin(e), pluginEasingSigmoid.loadEasingSigmoidPlugin(e), pluginEasingSine.loadEasingSinePlugin(e), pluginEasingSmoothstep.loadEasingSmoothstepPlugin(e), pluginBackgroundMask.loadBackgroundMaskPlugin(e), pluginCanvasMask.loadCanvasMaskPlugin(e), pluginManualParticles.loadManualParticlesPlugin(e), pluginMotion.loadMotionPlugin(e), pluginPoissonDisc.loadPoissonDiscPlugin(e), pluginPolygonMask.loadPolygonMaskPlugin(e), pluginResponsive.loadResponsivePlugin(e), pluginSounds.loadSoundsPlugin(e), pluginThemes.loadThemesPlugin(e), pluginTrail.loadTrailPlugin(e), pluginZoom.loadZoomPlugin(e), pluginExportImage.loadExportImagePlugin(e), pluginExportJson.loadExportJSONPlugin(e), pluginExportVideo.loadExportVideoPlugin(e), updaterGradient.loadGradientUpdater(e), updaterOrbit.loadOrbitUpdater(e), effectBubble.loadBubbleEffect(e), effectFilter.loadFilterEffect(e), effectParticles.loadParticlesEffect(e), effectShadow.loadShadowEffect(e), effectTrail.loadTrailEffect(e), shapeArrow.loadArrowShape(e), shapeCards.loadCardsShape(e), shapeCog.loadCogShape(e), shapeGif.loadGifShape(e), shapeHeart.loadHeartShape(e), shapeInfinity.loadInfinityShape(e), shapeMatrix.loadMatrixShape(e), shapePath.loadPathShape(e), shapeRibbon.loadRibbonShape(e), shapeRoundedPolygon.loadRoundedPolygonShape(e), shapeRoundedRect.loadRoundedRectShape(e), shapeSpiral.loadSpiralShape(e), shapeSquircle.loadSquircleShape(e), ]); }); } const globalObject = globalThis; globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {}; globalObject.loadAll = loadAll; exports.loadAll = loadAll; })(g.__tsParticlesInternals.bundles.all = g.__tsParticlesInternals.bundles.all || {}, g.__tsParticlesInternals.shapes.arrow, g.__tsParticlesInternals.plugins.backgroundMask, g.__tsParticlesInternals.paths.branches, g.__tsParticlesInternals.paths.brownian, g.__tsParticlesInternals.effects.bubble, g.__tsParticlesInternals.plugins.canvasMask, g.__tsParticlesInternals.shapes.cards, g.__tsParticlesInternals.shapes.cog, g.__tsParticlesInternals.paths.curlNoise, g.__tsParticlesInternals.paths.curves, g.__tsParticlesInternals.plugins.easingBack, g.__tsParticlesInternals.plugins.easingBounce, g.__tsParticlesInternals.plugins.easingCirc, g.__tsParticlesInternals.plugins.easingCubic, g.__tsParticlesInternals.plugins.easingElastic, g.__tsParticlesInternals.plugins.easingExpo, g.__tsParticlesInternals.plugins.easingGaussian, g.__tsParticlesInternals.plugins.easingLinear, g.__tsParticlesInternals.plugins.easingQuart, g.__tsParticlesInternals.plugins.easingQuint, g.__tsParticlesInternals.plugins.easingSigmoid, g.__tsParticlesInternals.plugins.easingSine, g.__tsParticlesInternals.plugins.easingSmoothstep, g.__tsParticlesInternals.plugins.emittersShapes.canvas, g.__tsParticlesInternals.plugins.emittersShapes.path, g.__tsParticlesInternals.plugins.emittersShapes.polygon, g.__tsParticlesInternals.plugins.image, g.__tsParticlesInternals.plugins.json, g.__tsParticlesInternals.plugins.video, g.__tsParticlesInternals.interactions.externalCannon, g.__tsParticlesInternals.interactions.externalParticle, g.__tsParticlesInternals.interactions.externalPop, g.__tsParticlesInternals.effects.filter, g.__tsParticlesInternals.paths.fractalNoise, g.__tsParticlesInternals.bundles.full, g.__tsParticlesInternals.shapes.gif, g.__tsParticlesInternals.updaters.gradient, g.__tsParticlesInternals.paths.grid, g.__tsParticlesInternals.shapes.heart, g.__tsParticlesInternals.plugins.hsvColor, g.__tsParticlesInternals.plugins.hwbColor, g.__tsParticlesInternals.plugins.infection, g.__tsParticlesInternals.shapes.infinity, g.__tsParticlesInternals.plugins.labColor, g.__tsParticlesInternals.plugins.lchColor, g.__tsParticlesInternals.paths.levy, g.__tsParticlesInternals.interactions.light, g.__tsParticlesInternals.plugins.manualParticles, g.__tsParticlesInternals.shapes.matrix, g.__tsParticlesInternals.plugins.motion, g.__tsParticlesInternals.plugins.namedColor, g.__tsParticlesInternals.plugins.oklabColor, g.__tsParticlesInternals.plugins.oklchColor, g.__tsParticlesInternals.updaters.orbit, g.__tsParticlesInternals.effects.particles, g.__tsParticlesInternals.interactions.particlesRepulse, g.__tsParticlesInternals.shapes.path, g.__tsParticlesInternals.paths.perlinNoise, g.__tsParticlesInternals.plugins.poisson, g.__tsParticlesInternals.plugins.polygonMask, g.__tsParticlesInternals.paths.polygon, g.__tsParticlesInternals.paths.random, g.__tsParticlesInternals.plugins.responsive, g.__tsParticlesInternals.shapes.ribbon, g.__tsParticlesInternals.shapes.roundedPolygon, g.__tsParticlesInternals.shapes.roundedRect, g.__tsParticlesInternals.paths.svg, g.__tsParticlesInternals.effects.shadow, g.__tsParticlesInternals.paths.simplexNoise, g.__tsParticlesInternals.plugins.sounds, g.__tsParticlesInternals.paths.spiral, g.__tsParticlesInternals.shapes.spiral, g.__tsParticlesInternals.shapes.squircle, g.__tsParticlesInternals.plugins.themes, g.__tsParticlesInternals.effects.trail, g.__tsParticlesInternals.plugins.trail, g.__tsParticlesInternals.paths.zigzag, g.__tsParticlesInternals.plugins.zoom); })(typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : self); Object.assign(globalThis.window || globalThis, { loadAll: (globalThis.__tsParticlesInternals.bundles.all || {}).loadAll }); globalThis.__tsParticlesInternals = globalThis.__tsParticlesInternals || {}; if (!globalThis.__tsParticlesInternals.engine || !globalThis.__tsParticlesInternals.engine.tsParticles) { globalThis.__tsParticlesInternals.engine = globalThis.__tsParticlesInternals.bundles.all || {}; }