@tsparticles/slim 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/index.js +1 -1
- package/browser/index.lazy.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.lazy.js +1 -1
- package/esm/index.js +1 -1
- package/esm/index.lazy.js +1 -1
- package/package.json +29 -29
- package/tsparticles.slim.bundle.js +41 -41
- package/tsparticles.slim.bundle.min.js +1 -1
- package/tsparticles.slim.js +2 -2
- package/tsparticles.slim.min.js +1 -1
package/browser/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.2.
|
|
29
|
+
engine.checkVersion("4.2.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/browser/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.2.
|
|
2
|
+
engine.checkVersion("4.2.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.2.
|
|
29
|
+
engine.checkVersion("4.2.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/cjs/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.2.
|
|
2
|
+
engine.checkVersion("4.2.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/esm/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
|
26
26
|
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
27
27
|
import { loadStarShape } from "@tsparticles/shape-star";
|
|
28
28
|
export async function loadSlim(engine) {
|
|
29
|
-
engine.checkVersion("4.2.
|
|
29
|
+
engine.checkVersion("4.2.1");
|
|
30
30
|
await engine.pluginManager.register(async (e) => {
|
|
31
31
|
const loadInteractivityForSlim = async (e) => {
|
|
32
32
|
await loadInteractivityPlugin(e);
|
package/esm/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadSlim(engine) {
|
|
2
|
-
engine.checkVersion("4.2.
|
|
2
|
+
engine.checkVersion("4.2.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadBasic }, { loadExternalParallaxInteraction }, { loadExternalAttractInteraction }, { loadExternalBounceInteraction }, { loadExternalBubbleInteraction }, { loadExternalConnectInteraction }, { loadExternalDestroyInteraction }, { loadExternalGrabInteraction }, { loadExternalPauseInteraction }, { loadExternalPushInteraction }, { loadExternalRemoveInteraction }, { loadExternalRepulseInteraction }, { loadExternalSlowInteraction }, { loadParticlesAttractInteraction }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction }, { loadEasingQuadPlugin }, { loadInteractivityPlugin }, { loadEmojiShape }, { loadImageShape }, { loadLineShape }, { loadPolygonShape }, { loadSquareShape }, { loadStarShape }, { loadLifeUpdater }, { loadPaintUpdater }, { loadRotateUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/basic/lazy"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/slim",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Slim tsParticles bundle — core engine with essential plugins, presets, and interactions for lightweight particle animations. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -105,34 +105,34 @@
|
|
|
105
105
|
"./package.json": "./package.json"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@tsparticles/basic": "4.2.
|
|
109
|
-
"@tsparticles/engine": "4.2.
|
|
110
|
-
"@tsparticles/interaction-external-attract": "4.2.
|
|
111
|
-
"@tsparticles/interaction-external-bounce": "4.2.
|
|
112
|
-
"@tsparticles/interaction-external-bubble": "4.2.
|
|
113
|
-
"@tsparticles/interaction-external-connect": "4.2.
|
|
114
|
-
"@tsparticles/interaction-external-destroy": "4.2.
|
|
115
|
-
"@tsparticles/interaction-external-grab": "4.2.
|
|
116
|
-
"@tsparticles/interaction-external-parallax": "4.2.
|
|
117
|
-
"@tsparticles/interaction-external-pause": "4.2.
|
|
118
|
-
"@tsparticles/interaction-external-push": "4.2.
|
|
119
|
-
"@tsparticles/interaction-external-remove": "4.2.
|
|
120
|
-
"@tsparticles/interaction-external-repulse": "4.2.
|
|
121
|
-
"@tsparticles/interaction-external-slow": "4.2.
|
|
122
|
-
"@tsparticles/interaction-particles-attract": "4.2.
|
|
123
|
-
"@tsparticles/interaction-particles-collisions": "4.2.
|
|
124
|
-
"@tsparticles/interaction-particles-links": "4.2.
|
|
125
|
-
"@tsparticles/plugin-easing-quad": "4.2.
|
|
126
|
-
"@tsparticles/plugin-interactivity": "4.2.
|
|
127
|
-
"@tsparticles/shape-emoji": "4.2.
|
|
128
|
-
"@tsparticles/shape-image": "4.2.
|
|
129
|
-
"@tsparticles/shape-line": "4.2.
|
|
130
|
-
"@tsparticles/shape-polygon": "4.2.
|
|
131
|
-
"@tsparticles/shape-square": "4.2.
|
|
132
|
-
"@tsparticles/shape-star": "4.2.
|
|
133
|
-
"@tsparticles/updater-life": "4.2.
|
|
134
|
-
"@tsparticles/updater-paint": "4.2.
|
|
135
|
-
"@tsparticles/updater-rotate": "4.2.
|
|
108
|
+
"@tsparticles/basic": "4.2.1",
|
|
109
|
+
"@tsparticles/engine": "4.2.1",
|
|
110
|
+
"@tsparticles/interaction-external-attract": "4.2.1",
|
|
111
|
+
"@tsparticles/interaction-external-bounce": "4.2.1",
|
|
112
|
+
"@tsparticles/interaction-external-bubble": "4.2.1",
|
|
113
|
+
"@tsparticles/interaction-external-connect": "4.2.1",
|
|
114
|
+
"@tsparticles/interaction-external-destroy": "4.2.1",
|
|
115
|
+
"@tsparticles/interaction-external-grab": "4.2.1",
|
|
116
|
+
"@tsparticles/interaction-external-parallax": "4.2.1",
|
|
117
|
+
"@tsparticles/interaction-external-pause": "4.2.1",
|
|
118
|
+
"@tsparticles/interaction-external-push": "4.2.1",
|
|
119
|
+
"@tsparticles/interaction-external-remove": "4.2.1",
|
|
120
|
+
"@tsparticles/interaction-external-repulse": "4.2.1",
|
|
121
|
+
"@tsparticles/interaction-external-slow": "4.2.1",
|
|
122
|
+
"@tsparticles/interaction-particles-attract": "4.2.1",
|
|
123
|
+
"@tsparticles/interaction-particles-collisions": "4.2.1",
|
|
124
|
+
"@tsparticles/interaction-particles-links": "4.2.1",
|
|
125
|
+
"@tsparticles/plugin-easing-quad": "4.2.1",
|
|
126
|
+
"@tsparticles/plugin-interactivity": "4.2.1",
|
|
127
|
+
"@tsparticles/shape-emoji": "4.2.1",
|
|
128
|
+
"@tsparticles/shape-image": "4.2.1",
|
|
129
|
+
"@tsparticles/shape-line": "4.2.1",
|
|
130
|
+
"@tsparticles/shape-polygon": "4.2.1",
|
|
131
|
+
"@tsparticles/shape-square": "4.2.1",
|
|
132
|
+
"@tsparticles/shape-star": "4.2.1",
|
|
133
|
+
"@tsparticles/updater-life": "4.2.1",
|
|
134
|
+
"@tsparticles/updater-paint": "4.2.1",
|
|
135
|
+
"@tsparticles/updater-rotate": "4.2.1"
|
|
136
136
|
},
|
|
137
137
|
"publishConfig": {
|
|
138
138
|
"access": "public"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(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);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* tsParticles v4.2.
|
|
2
|
+
/* tsParticles v4.2.1 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -879,7 +879,7 @@
|
|
|
879
879
|
return this.#domArray;
|
|
880
880
|
}
|
|
881
881
|
get version() {
|
|
882
|
-
return "4.2.
|
|
882
|
+
return "4.2.1";
|
|
883
883
|
}
|
|
884
884
|
addEventListener(type, listener) {
|
|
885
885
|
this.#eventDispatcher.addEventListener(type, listener);
|
|
@@ -2220,7 +2220,7 @@
|
|
|
2220
2220
|
}
|
|
2221
2221
|
|
|
2222
2222
|
async function loadBlendPlugin(engine) {
|
|
2223
|
-
engine.checkVersion("4.2.
|
|
2223
|
+
engine.checkVersion("4.2.1");
|
|
2224
2224
|
await engine.pluginManager.register(e => {
|
|
2225
2225
|
e.pluginManager.addPlugin(new BlendPlugin());
|
|
2226
2226
|
});
|
|
@@ -2257,7 +2257,7 @@
|
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
2259
|
async function loadCircleShape(engine) {
|
|
2260
|
-
engine.checkVersion("4.2.
|
|
2260
|
+
engine.checkVersion("4.2.1");
|
|
2261
2261
|
await engine.pluginManager.register(e => {
|
|
2262
2262
|
e.pluginManager.addShape(["circle"], () => {
|
|
2263
2263
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
}
|
|
2306
2306
|
|
|
2307
2307
|
async function loadHexColorPlugin(engine) {
|
|
2308
|
-
engine.checkVersion("4.2.
|
|
2308
|
+
engine.checkVersion("4.2.1");
|
|
2309
2309
|
await engine.pluginManager.register(e => {
|
|
2310
2310
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
2311
2311
|
});
|
|
@@ -2358,7 +2358,7 @@
|
|
|
2358
2358
|
}
|
|
2359
2359
|
|
|
2360
2360
|
async function loadHslColorPlugin(engine) {
|
|
2361
|
-
engine.checkVersion("4.2.
|
|
2361
|
+
engine.checkVersion("4.2.1");
|
|
2362
2362
|
await engine.pluginManager.register(e => {
|
|
2363
2363
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
2364
2364
|
});
|
|
@@ -2382,7 +2382,7 @@
|
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
2384
|
async function loadMovePlugin(engine) {
|
|
2385
|
-
engine.checkVersion("4.2.
|
|
2385
|
+
engine.checkVersion("4.2.1");
|
|
2386
2386
|
await engine.pluginManager.register(e => {
|
|
2387
2387
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
2388
2388
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -2598,7 +2598,7 @@
|
|
|
2598
2598
|
}
|
|
2599
2599
|
|
|
2600
2600
|
async function loadOpacityUpdater(engine) {
|
|
2601
|
-
engine.checkVersion("4.2.
|
|
2601
|
+
engine.checkVersion("4.2.1");
|
|
2602
2602
|
await engine.pluginManager.register(e => {
|
|
2603
2603
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
2604
2604
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -2943,7 +2943,7 @@
|
|
|
2943
2943
|
}
|
|
2944
2944
|
|
|
2945
2945
|
async function loadOutModesUpdater(engine) {
|
|
2946
|
-
engine.checkVersion("4.2.
|
|
2946
|
+
engine.checkVersion("4.2.1");
|
|
2947
2947
|
await engine.pluginManager.register(e => {
|
|
2948
2948
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
2949
2949
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3014,7 +3014,7 @@
|
|
|
3014
3014
|
}
|
|
3015
3015
|
|
|
3016
3016
|
async function loadPaintUpdater(engine) {
|
|
3017
|
-
engine.checkVersion("4.2.
|
|
3017
|
+
engine.checkVersion("4.2.1");
|
|
3018
3018
|
await engine.pluginManager.register(e => {
|
|
3019
3019
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3020
3020
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3069,7 +3069,7 @@
|
|
|
3069
3069
|
}
|
|
3070
3070
|
|
|
3071
3071
|
async function loadRgbColorPlugin(engine) {
|
|
3072
|
-
engine.checkVersion("4.2.
|
|
3072
|
+
engine.checkVersion("4.2.1");
|
|
3073
3073
|
await engine.pluginManager.register(e => {
|
|
3074
3074
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3075
3075
|
});
|
|
@@ -3154,7 +3154,7 @@
|
|
|
3154
3154
|
}
|
|
3155
3155
|
|
|
3156
3156
|
async function loadSizeUpdater(engine) {
|
|
3157
|
-
engine.checkVersion("4.2.
|
|
3157
|
+
engine.checkVersion("4.2.1");
|
|
3158
3158
|
await engine.pluginManager.register(e => {
|
|
3159
3159
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3160
3160
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3163,7 +3163,7 @@
|
|
|
3163
3163
|
}
|
|
3164
3164
|
|
|
3165
3165
|
async function loadBasic(engine) {
|
|
3166
|
-
engine.checkVersion("4.2.
|
|
3166
|
+
engine.checkVersion("4.2.1");
|
|
3167
3167
|
await engine.pluginManager.register(async (e) => {
|
|
3168
3168
|
await Promise.all([
|
|
3169
3169
|
loadBlendPlugin(e),
|
|
@@ -3186,7 +3186,7 @@
|
|
|
3186
3186
|
easingsFunctions.set("ease-in-out-quad", value => (value < 0.5 ? 2 * value ** 2 : 1 - (-2 * value + 2) ** 2 / 2));
|
|
3187
3187
|
|
|
3188
3188
|
async function loadEasingQuadPlugin(engine) {
|
|
3189
|
-
engine.checkVersion("4.2.
|
|
3189
|
+
engine.checkVersion("4.2.1");
|
|
3190
3190
|
await engine.pluginManager.register(e => {
|
|
3191
3191
|
for (const [easing, easingFn] of easingsFunctions) {
|
|
3192
3192
|
e.pluginManager.addEasing(easing, easingFn);
|
|
@@ -3294,7 +3294,7 @@
|
|
|
3294
3294
|
}
|
|
3295
3295
|
|
|
3296
3296
|
async function loadEmojiShape(engine) {
|
|
3297
|
-
engine.checkVersion("4.2.
|
|
3297
|
+
engine.checkVersion("4.2.1");
|
|
3298
3298
|
await engine.pluginManager.register(e => {
|
|
3299
3299
|
e.pluginManager.addShape(validTypes, () => Promise.resolve(new EmojiDrawer()));
|
|
3300
3300
|
});
|
|
@@ -3531,7 +3531,7 @@
|
|
|
3531
3531
|
}
|
|
3532
3532
|
|
|
3533
3533
|
async function loadInteractivityPlugin(engine) {
|
|
3534
|
-
engine.checkVersion("4.2.
|
|
3534
|
+
engine.checkVersion("4.2.1");
|
|
3535
3535
|
await engine.pluginManager.register(e => {
|
|
3536
3536
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
3537
3537
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -3791,7 +3791,7 @@
|
|
|
3791
3791
|
};
|
|
3792
3792
|
|
|
3793
3793
|
async function loadExternalAttractInteraction(engine) {
|
|
3794
|
-
engine.checkVersion("4.2.
|
|
3794
|
+
engine.checkVersion("4.2.1");
|
|
3795
3795
|
await engine.pluginManager.register((e) => {
|
|
3796
3796
|
ensureInteractivityPluginLoaded(e);
|
|
3797
3797
|
e.pluginManager.addInteractor?.("externalAttract", container => {
|
|
@@ -3980,7 +3980,7 @@
|
|
|
3980
3980
|
}
|
|
3981
3981
|
|
|
3982
3982
|
async function loadExternalBounceInteraction(engine) {
|
|
3983
|
-
engine.checkVersion("4.2.
|
|
3983
|
+
engine.checkVersion("4.2.1");
|
|
3984
3984
|
await engine.pluginManager.register((e) => {
|
|
3985
3985
|
ensureInteractivityPluginLoaded(e);
|
|
3986
3986
|
e.pluginManager.addInteractor?.("externalBounce", container => {
|
|
@@ -4336,7 +4336,7 @@
|
|
|
4336
4336
|
}
|
|
4337
4337
|
|
|
4338
4338
|
async function loadExternalBubbleInteraction(engine) {
|
|
4339
|
-
engine.checkVersion("4.2.
|
|
4339
|
+
engine.checkVersion("4.2.1");
|
|
4340
4340
|
await engine.pluginManager.register((e) => {
|
|
4341
4341
|
ensureInteractivityPluginLoaded(e);
|
|
4342
4342
|
e.pluginManager.addInteractor?.("externalBubble", container => {
|
|
@@ -4464,7 +4464,7 @@
|
|
|
4464
4464
|
}
|
|
4465
4465
|
|
|
4466
4466
|
async function loadExternalConnectInteraction(engine) {
|
|
4467
|
-
engine.checkVersion("4.2.
|
|
4467
|
+
engine.checkVersion("4.2.1");
|
|
4468
4468
|
await engine.pluginManager.register((e) => {
|
|
4469
4469
|
ensureInteractivityPluginLoaded(e);
|
|
4470
4470
|
e.pluginManager.addInteractor?.("externalConnect", container => {
|
|
@@ -4568,7 +4568,7 @@
|
|
|
4568
4568
|
}
|
|
4569
4569
|
|
|
4570
4570
|
async function loadExternalDestroyInteraction(engine) {
|
|
4571
|
-
engine.checkVersion("4.2.
|
|
4571
|
+
engine.checkVersion("4.2.1");
|
|
4572
4572
|
await engine.pluginManager.register((e) => {
|
|
4573
4573
|
ensureInteractivityPluginLoaded(e);
|
|
4574
4574
|
e.pluginManager.addInteractor?.("externalDestroy", async (container) => {
|
|
@@ -4692,7 +4692,7 @@
|
|
|
4692
4692
|
}
|
|
4693
4693
|
|
|
4694
4694
|
async function loadExternalGrabInteraction(engine) {
|
|
4695
|
-
engine.checkVersion("4.2.
|
|
4695
|
+
engine.checkVersion("4.2.1");
|
|
4696
4696
|
await engine.pluginManager.register((e) => {
|
|
4697
4697
|
ensureInteractivityPluginLoaded(e);
|
|
4698
4698
|
e.pluginManager.addInteractor?.("externalGrab", container => {
|
|
@@ -4762,7 +4762,7 @@
|
|
|
4762
4762
|
}
|
|
4763
4763
|
|
|
4764
4764
|
async function loadExternalParallaxInteraction(engine) {
|
|
4765
|
-
engine.checkVersion("4.2.
|
|
4765
|
+
engine.checkVersion("4.2.1");
|
|
4766
4766
|
await engine.pluginManager.register((e) => {
|
|
4767
4767
|
ensureInteractivityPluginLoaded(e);
|
|
4768
4768
|
e.pluginManager.addInteractor?.("externalParallax", container => {
|
|
@@ -4805,7 +4805,7 @@
|
|
|
4805
4805
|
}
|
|
4806
4806
|
|
|
4807
4807
|
async function loadExternalPauseInteraction(engine) {
|
|
4808
|
-
engine.checkVersion("4.2.
|
|
4808
|
+
engine.checkVersion("4.2.1");
|
|
4809
4809
|
await engine.pluginManager.register((e) => {
|
|
4810
4810
|
ensureInteractivityPluginLoaded(e);
|
|
4811
4811
|
e.pluginManager.addInteractor?.("externalPause", container => {
|
|
@@ -4877,7 +4877,7 @@
|
|
|
4877
4877
|
}
|
|
4878
4878
|
|
|
4879
4879
|
async function loadExternalPushInteraction(engine) {
|
|
4880
|
-
engine.checkVersion("4.2.
|
|
4880
|
+
engine.checkVersion("4.2.1");
|
|
4881
4881
|
await engine.pluginManager.register((e) => {
|
|
4882
4882
|
ensureInteractivityPluginLoaded(e);
|
|
4883
4883
|
e.pluginManager.addInteractor?.("externalPush", container => {
|
|
@@ -4931,7 +4931,7 @@
|
|
|
4931
4931
|
}
|
|
4932
4932
|
|
|
4933
4933
|
async function loadExternalRemoveInteraction(engine) {
|
|
4934
|
-
engine.checkVersion("4.2.
|
|
4934
|
+
engine.checkVersion("4.2.1");
|
|
4935
4935
|
await engine.pluginManager.register((e) => {
|
|
4936
4936
|
ensureInteractivityPluginLoaded(e);
|
|
4937
4937
|
e.pluginManager.addInteractor?.("externalRemove", container => {
|
|
@@ -5237,7 +5237,7 @@
|
|
|
5237
5237
|
}
|
|
5238
5238
|
|
|
5239
5239
|
async function loadExternalRepulseInteraction(engine) {
|
|
5240
|
-
engine.checkVersion("4.2.
|
|
5240
|
+
engine.checkVersion("4.2.1");
|
|
5241
5241
|
await engine.pluginManager.register((e) => {
|
|
5242
5242
|
ensureInteractivityPluginLoaded(e);
|
|
5243
5243
|
const pluginManager = e.pluginManager;
|
|
@@ -5308,7 +5308,7 @@
|
|
|
5308
5308
|
}
|
|
5309
5309
|
|
|
5310
5310
|
async function loadExternalSlowInteraction(engine) {
|
|
5311
|
-
engine.checkVersion("4.2.
|
|
5311
|
+
engine.checkVersion("4.2.1");
|
|
5312
5312
|
await engine.pluginManager.register((e) => {
|
|
5313
5313
|
ensureInteractivityPluginLoaded(e);
|
|
5314
5314
|
e.pluginManager.addInteractor?.("externalSlow", container => {
|
|
@@ -6120,7 +6120,7 @@
|
|
|
6120
6120
|
};
|
|
6121
6121
|
}
|
|
6122
6122
|
async function loadImageShape(engine) {
|
|
6123
|
-
engine.checkVersion("4.2.
|
|
6123
|
+
engine.checkVersion("4.2.1");
|
|
6124
6124
|
await engine.pluginManager.register(e => {
|
|
6125
6125
|
addLoadImageToEngine(e);
|
|
6126
6126
|
e.pluginManager.addPlugin(new ImagePreloaderPlugin(e));
|
|
@@ -6265,7 +6265,7 @@
|
|
|
6265
6265
|
}
|
|
6266
6266
|
|
|
6267
6267
|
async function loadLifeUpdater(engine) {
|
|
6268
|
-
engine.checkVersion("4.2.
|
|
6268
|
+
engine.checkVersion("4.2.1");
|
|
6269
6269
|
await engine.pluginManager.register(e => {
|
|
6270
6270
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
6271
6271
|
return Promise.resolve(new LifeUpdater(container));
|
|
@@ -6291,7 +6291,7 @@
|
|
|
6291
6291
|
}
|
|
6292
6292
|
|
|
6293
6293
|
async function loadLineShape(engine) {
|
|
6294
|
-
engine.checkVersion("4.2.
|
|
6294
|
+
engine.checkVersion("4.2.1");
|
|
6295
6295
|
await engine.pluginManager.register(e => {
|
|
6296
6296
|
e.pluginManager.addShape(["line"], () => Promise.resolve(new LineDrawer()));
|
|
6297
6297
|
});
|
|
@@ -6375,7 +6375,7 @@
|
|
|
6375
6375
|
}
|
|
6376
6376
|
|
|
6377
6377
|
async function loadParticlesAttractInteraction(engine) {
|
|
6378
|
-
engine.checkVersion("4.2.
|
|
6378
|
+
engine.checkVersion("4.2.1");
|
|
6379
6379
|
await engine.pluginManager.register((e) => {
|
|
6380
6380
|
ensureInteractivityPluginLoaded(e);
|
|
6381
6381
|
e.pluginManager.addInteractor?.("particlesAttract", container => {
|
|
@@ -6585,7 +6585,7 @@
|
|
|
6585
6585
|
}
|
|
6586
6586
|
|
|
6587
6587
|
async function loadParticlesCollisionsInteraction(engine) {
|
|
6588
|
-
engine.checkVersion("4.2.
|
|
6588
|
+
engine.checkVersion("4.2.1");
|
|
6589
6589
|
await engine.pluginManager.register((e) => {
|
|
6590
6590
|
ensureInteractivityPluginLoaded(e);
|
|
6591
6591
|
e.pluginManager.addPlugin(new OverlapPlugin());
|
|
@@ -6839,7 +6839,7 @@
|
|
|
6839
6839
|
}
|
|
6840
6840
|
|
|
6841
6841
|
async function loadParticlesLinksInteraction(engine) {
|
|
6842
|
-
engine.checkVersion("4.2.
|
|
6842
|
+
engine.checkVersion("4.2.1");
|
|
6843
6843
|
await engine.pluginManager.register((e) => {
|
|
6844
6844
|
const pluginManager = e.pluginManager;
|
|
6845
6845
|
ensureInteractivityPluginLoaded(e);
|
|
@@ -6929,19 +6929,19 @@
|
|
|
6929
6929
|
}
|
|
6930
6930
|
|
|
6931
6931
|
async function loadGenericPolygonShape(engine) {
|
|
6932
|
-
engine.checkVersion("4.2.
|
|
6932
|
+
engine.checkVersion("4.2.1");
|
|
6933
6933
|
await engine.pluginManager.register(e => {
|
|
6934
6934
|
e.pluginManager.addShape(["polygon"], () => Promise.resolve(new PolygonDrawer()));
|
|
6935
6935
|
});
|
|
6936
6936
|
}
|
|
6937
6937
|
async function loadTriangleShape(engine) {
|
|
6938
|
-
engine.checkVersion("4.2.
|
|
6938
|
+
engine.checkVersion("4.2.1");
|
|
6939
6939
|
await engine.pluginManager.register(e => {
|
|
6940
6940
|
e.pluginManager.addShape(["triangle"], () => Promise.resolve(new TriangleDrawer()));
|
|
6941
6941
|
});
|
|
6942
6942
|
}
|
|
6943
6943
|
async function loadPolygonShape(engine) {
|
|
6944
|
-
engine.checkVersion("4.2.
|
|
6944
|
+
engine.checkVersion("4.2.1");
|
|
6945
6945
|
await Promise.all([
|
|
6946
6946
|
loadGenericPolygonShape(engine),
|
|
6947
6947
|
loadTriangleShape(engine),
|
|
@@ -7046,7 +7046,7 @@
|
|
|
7046
7046
|
}
|
|
7047
7047
|
|
|
7048
7048
|
async function loadRotateUpdater(engine) {
|
|
7049
|
-
engine.checkVersion("4.2.
|
|
7049
|
+
engine.checkVersion("4.2.1");
|
|
7050
7050
|
await engine.pluginManager.register(e => {
|
|
7051
7051
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
7052
7052
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -7070,7 +7070,7 @@
|
|
|
7070
7070
|
}
|
|
7071
7071
|
|
|
7072
7072
|
async function loadSquareShape(engine) {
|
|
7073
|
-
engine.checkVersion("4.2.
|
|
7073
|
+
engine.checkVersion("4.2.1");
|
|
7074
7074
|
await engine.pluginManager.register(e => {
|
|
7075
7075
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
7076
7076
|
});
|
|
@@ -7104,14 +7104,14 @@
|
|
|
7104
7104
|
}
|
|
7105
7105
|
|
|
7106
7106
|
async function loadStarShape(engine) {
|
|
7107
|
-
engine.checkVersion("4.2.
|
|
7107
|
+
engine.checkVersion("4.2.1");
|
|
7108
7108
|
await engine.pluginManager.register(e => {
|
|
7109
7109
|
e.pluginManager.addShape(["star"], () => Promise.resolve(new StarDrawer()));
|
|
7110
7110
|
});
|
|
7111
7111
|
}
|
|
7112
7112
|
|
|
7113
7113
|
async function loadSlim(engine) {
|
|
7114
|
-
engine.checkVersion("4.2.
|
|
7114
|
+
engine.checkVersion("4.2.1");
|
|
7115
7115
|
await engine.pluginManager.register(async (e) => {
|
|
7116
7116
|
const loadInteractivityForSlim = async (e) => {
|
|
7117
7117
|
await loadInteractivityPlugin(e);
|