@tsparticles/slim 4.3.0 → 4.3.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/README.md +3 -9
- 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/README.md
CHANGED
|
@@ -138,9 +138,7 @@ Once the scripts are loaded you can set up `tsParticles` like this:
|
|
|
138
138
|
|
|
139
139
|
await tsParticles.load({
|
|
140
140
|
id: "tsparticles",
|
|
141
|
-
options: {
|
|
142
|
-
/* options */
|
|
143
|
-
},
|
|
141
|
+
options: {/* options */},
|
|
144
142
|
});
|
|
145
143
|
})();
|
|
146
144
|
```
|
|
@@ -224,9 +222,7 @@ async function particlesInit(engine: Engine) {
|
|
|
224
222
|
```
|
|
225
223
|
|
|
226
224
|
```ts
|
|
227
|
-
const options = {
|
|
228
|
-
/* custom options */
|
|
229
|
-
};
|
|
225
|
+
const options = {/* custom options */};
|
|
230
226
|
|
|
231
227
|
async function particlesInit(engine: Engine): void {
|
|
232
228
|
await loadSlim(engine);
|
|
@@ -245,9 +241,7 @@ async function particlesInit(engine: Engine): void {
|
|
|
245
241
|
```
|
|
246
242
|
|
|
247
243
|
```js
|
|
248
|
-
let options = {
|
|
249
|
-
/* custom options */
|
|
250
|
-
};
|
|
244
|
+
let options = {/* custom options */};
|
|
251
245
|
|
|
252
246
|
let particlesInit = async engine => {
|
|
253
247
|
await loadSlim(engine);
|
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.3.
|
|
29
|
+
engine.checkVersion("4.3.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.3.
|
|
2
|
+
engine.checkVersion("4.3.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.3.
|
|
29
|
+
engine.checkVersion("4.3.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.3.
|
|
2
|
+
engine.checkVersion("4.3.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.3.
|
|
29
|
+
engine.checkVersion("4.3.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.3.
|
|
2
|
+
engine.checkVersion("4.3.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.3.
|
|
3
|
+
"version": "4.3.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.3.
|
|
109
|
-
"@tsparticles/engine": "4.3.
|
|
110
|
-
"@tsparticles/interaction-external-attract": "4.3.
|
|
111
|
-
"@tsparticles/interaction-external-bounce": "4.3.
|
|
112
|
-
"@tsparticles/interaction-external-bubble": "4.3.
|
|
113
|
-
"@tsparticles/interaction-external-connect": "4.3.
|
|
114
|
-
"@tsparticles/interaction-external-destroy": "4.3.
|
|
115
|
-
"@tsparticles/interaction-external-grab": "4.3.
|
|
116
|
-
"@tsparticles/interaction-external-parallax": "4.3.
|
|
117
|
-
"@tsparticles/interaction-external-pause": "4.3.
|
|
118
|
-
"@tsparticles/interaction-external-push": "4.3.
|
|
119
|
-
"@tsparticles/interaction-external-remove": "4.3.
|
|
120
|
-
"@tsparticles/interaction-external-repulse": "4.3.
|
|
121
|
-
"@tsparticles/interaction-external-slow": "4.3.
|
|
122
|
-
"@tsparticles/interaction-particles-attract": "4.3.
|
|
123
|
-
"@tsparticles/interaction-particles-collisions": "4.3.
|
|
124
|
-
"@tsparticles/interaction-particles-links": "4.3.
|
|
125
|
-
"@tsparticles/plugin-easing-quad": "4.3.
|
|
126
|
-
"@tsparticles/plugin-interactivity": "4.3.
|
|
127
|
-
"@tsparticles/shape-emoji": "4.3.
|
|
128
|
-
"@tsparticles/shape-image": "4.3.
|
|
129
|
-
"@tsparticles/shape-line": "4.3.
|
|
130
|
-
"@tsparticles/shape-polygon": "4.3.
|
|
131
|
-
"@tsparticles/shape-square": "4.3.
|
|
132
|
-
"@tsparticles/shape-star": "4.3.
|
|
133
|
-
"@tsparticles/updater-life": "4.3.
|
|
134
|
-
"@tsparticles/updater-paint": "4.3.
|
|
135
|
-
"@tsparticles/updater-rotate": "4.3.
|
|
108
|
+
"@tsparticles/basic": "4.3.1",
|
|
109
|
+
"@tsparticles/engine": "4.3.1",
|
|
110
|
+
"@tsparticles/interaction-external-attract": "4.3.1",
|
|
111
|
+
"@tsparticles/interaction-external-bounce": "4.3.1",
|
|
112
|
+
"@tsparticles/interaction-external-bubble": "4.3.1",
|
|
113
|
+
"@tsparticles/interaction-external-connect": "4.3.1",
|
|
114
|
+
"@tsparticles/interaction-external-destroy": "4.3.1",
|
|
115
|
+
"@tsparticles/interaction-external-grab": "4.3.1",
|
|
116
|
+
"@tsparticles/interaction-external-parallax": "4.3.1",
|
|
117
|
+
"@tsparticles/interaction-external-pause": "4.3.1",
|
|
118
|
+
"@tsparticles/interaction-external-push": "4.3.1",
|
|
119
|
+
"@tsparticles/interaction-external-remove": "4.3.1",
|
|
120
|
+
"@tsparticles/interaction-external-repulse": "4.3.1",
|
|
121
|
+
"@tsparticles/interaction-external-slow": "4.3.1",
|
|
122
|
+
"@tsparticles/interaction-particles-attract": "4.3.1",
|
|
123
|
+
"@tsparticles/interaction-particles-collisions": "4.3.1",
|
|
124
|
+
"@tsparticles/interaction-particles-links": "4.3.1",
|
|
125
|
+
"@tsparticles/plugin-easing-quad": "4.3.1",
|
|
126
|
+
"@tsparticles/plugin-interactivity": "4.3.1",
|
|
127
|
+
"@tsparticles/shape-emoji": "4.3.1",
|
|
128
|
+
"@tsparticles/shape-image": "4.3.1",
|
|
129
|
+
"@tsparticles/shape-line": "4.3.1",
|
|
130
|
+
"@tsparticles/shape-polygon": "4.3.1",
|
|
131
|
+
"@tsparticles/shape-square": "4.3.1",
|
|
132
|
+
"@tsparticles/shape-star": "4.3.1",
|
|
133
|
+
"@tsparticles/updater-life": "4.3.1",
|
|
134
|
+
"@tsparticles/updater-paint": "4.3.1",
|
|
135
|
+
"@tsparticles/updater-rotate": "4.3.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.3.
|
|
2
|
+
/* tsParticles v4.3.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) :
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
return this.#domArray;
|
|
878
878
|
}
|
|
879
879
|
get version() {
|
|
880
|
-
return "4.3.
|
|
880
|
+
return "4.3.1";
|
|
881
881
|
}
|
|
882
882
|
addEventListener(type, listener) {
|
|
883
883
|
this.#eventDispatcher.addEventListener(type, listener);
|
|
@@ -2253,7 +2253,7 @@
|
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
2255
2255
|
async function loadBlendPlugin(engine) {
|
|
2256
|
-
engine.checkVersion("4.3.
|
|
2256
|
+
engine.checkVersion("4.3.1");
|
|
2257
2257
|
await engine.pluginManager.register(e => {
|
|
2258
2258
|
e.pluginManager.addPlugin(new BlendPlugin());
|
|
2259
2259
|
});
|
|
@@ -2290,7 +2290,7 @@
|
|
|
2290
2290
|
}
|
|
2291
2291
|
|
|
2292
2292
|
async function loadCircleShape(engine) {
|
|
2293
|
-
engine.checkVersion("4.3.
|
|
2293
|
+
engine.checkVersion("4.3.1");
|
|
2294
2294
|
await engine.pluginManager.register(e => {
|
|
2295
2295
|
e.pluginManager.addShape(["circle"], () => {
|
|
2296
2296
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -2338,7 +2338,7 @@
|
|
|
2338
2338
|
}
|
|
2339
2339
|
|
|
2340
2340
|
async function loadHexColorPlugin(engine) {
|
|
2341
|
-
engine.checkVersion("4.3.
|
|
2341
|
+
engine.checkVersion("4.3.1");
|
|
2342
2342
|
await engine.pluginManager.register(e => {
|
|
2343
2343
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
2344
2344
|
});
|
|
@@ -2391,7 +2391,7 @@
|
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
2393
2393
|
async function loadHslColorPlugin(engine) {
|
|
2394
|
-
engine.checkVersion("4.3.
|
|
2394
|
+
engine.checkVersion("4.3.1");
|
|
2395
2395
|
await engine.pluginManager.register(e => {
|
|
2396
2396
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
2397
2397
|
});
|
|
@@ -2415,7 +2415,7 @@
|
|
|
2415
2415
|
}
|
|
2416
2416
|
|
|
2417
2417
|
async function loadMovePlugin(engine) {
|
|
2418
|
-
engine.checkVersion("4.3.
|
|
2418
|
+
engine.checkVersion("4.3.1");
|
|
2419
2419
|
await engine.pluginManager.register(e => {
|
|
2420
2420
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
2421
2421
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
}
|
|
2632
2632
|
|
|
2633
2633
|
async function loadOpacityUpdater(engine) {
|
|
2634
|
-
engine.checkVersion("4.3.
|
|
2634
|
+
engine.checkVersion("4.3.1");
|
|
2635
2635
|
await engine.pluginManager.register(e => {
|
|
2636
2636
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
2637
2637
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -2976,7 +2976,7 @@
|
|
|
2976
2976
|
}
|
|
2977
2977
|
|
|
2978
2978
|
async function loadOutModesUpdater(engine) {
|
|
2979
|
-
engine.checkVersion("4.3.
|
|
2979
|
+
engine.checkVersion("4.3.1");
|
|
2980
2980
|
await engine.pluginManager.register(e => {
|
|
2981
2981
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
2982
2982
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3047,7 +3047,7 @@
|
|
|
3047
3047
|
}
|
|
3048
3048
|
|
|
3049
3049
|
async function loadPaintUpdater(engine) {
|
|
3050
|
-
engine.checkVersion("4.3.
|
|
3050
|
+
engine.checkVersion("4.3.1");
|
|
3051
3051
|
await engine.pluginManager.register(e => {
|
|
3052
3052
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3053
3053
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3102,7 +3102,7 @@
|
|
|
3102
3102
|
}
|
|
3103
3103
|
|
|
3104
3104
|
async function loadRgbColorPlugin(engine) {
|
|
3105
|
-
engine.checkVersion("4.3.
|
|
3105
|
+
engine.checkVersion("4.3.1");
|
|
3106
3106
|
await engine.pluginManager.register(e => {
|
|
3107
3107
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3108
3108
|
});
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
}
|
|
3188
3188
|
|
|
3189
3189
|
async function loadSizeUpdater(engine) {
|
|
3190
|
-
engine.checkVersion("4.3.
|
|
3190
|
+
engine.checkVersion("4.3.1");
|
|
3191
3191
|
await engine.pluginManager.register(e => {
|
|
3192
3192
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3193
3193
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3196,7 +3196,7 @@
|
|
|
3196
3196
|
}
|
|
3197
3197
|
|
|
3198
3198
|
async function loadBasic(engine) {
|
|
3199
|
-
engine.checkVersion("4.3.
|
|
3199
|
+
engine.checkVersion("4.3.1");
|
|
3200
3200
|
await engine.pluginManager.register(async (e) => {
|
|
3201
3201
|
await Promise.all([
|
|
3202
3202
|
loadBlendPlugin(e),
|
|
@@ -3219,7 +3219,7 @@
|
|
|
3219
3219
|
easingsFunctions.set("ease-in-out-quad", value => (value < 0.5 ? 2 * value ** 2 : 1 - (-2 * value + 2) ** 2 / 2));
|
|
3220
3220
|
|
|
3221
3221
|
async function loadEasingQuadPlugin(engine) {
|
|
3222
|
-
engine.checkVersion("4.3.
|
|
3222
|
+
engine.checkVersion("4.3.1");
|
|
3223
3223
|
await engine.pluginManager.register(e => {
|
|
3224
3224
|
for (const [easing, easingFn] of easingsFunctions) {
|
|
3225
3225
|
e.pluginManager.addEasing(easing, easingFn);
|
|
@@ -3327,7 +3327,7 @@
|
|
|
3327
3327
|
}
|
|
3328
3328
|
|
|
3329
3329
|
async function loadEmojiShape(engine) {
|
|
3330
|
-
engine.checkVersion("4.3.
|
|
3330
|
+
engine.checkVersion("4.3.1");
|
|
3331
3331
|
await engine.pluginManager.register(e => {
|
|
3332
3332
|
e.pluginManager.addShape(validTypes, () => Promise.resolve(new EmojiDrawer()));
|
|
3333
3333
|
});
|
|
@@ -3564,7 +3564,7 @@
|
|
|
3564
3564
|
}
|
|
3565
3565
|
|
|
3566
3566
|
async function loadInteractivityPlugin(engine) {
|
|
3567
|
-
engine.checkVersion("4.3.
|
|
3567
|
+
engine.checkVersion("4.3.1");
|
|
3568
3568
|
await engine.pluginManager.register(e => {
|
|
3569
3569
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
3570
3570
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -3824,7 +3824,7 @@
|
|
|
3824
3824
|
};
|
|
3825
3825
|
|
|
3826
3826
|
async function loadExternalAttractInteraction(engine) {
|
|
3827
|
-
engine.checkVersion("4.3.
|
|
3827
|
+
engine.checkVersion("4.3.1");
|
|
3828
3828
|
await engine.pluginManager.register((e) => {
|
|
3829
3829
|
ensureInteractivityPluginLoaded(e);
|
|
3830
3830
|
e.pluginManager.addInteractor?.("externalAttract", container => {
|
|
@@ -4013,7 +4013,7 @@
|
|
|
4013
4013
|
}
|
|
4014
4014
|
|
|
4015
4015
|
async function loadExternalBounceInteraction(engine) {
|
|
4016
|
-
engine.checkVersion("4.3.
|
|
4016
|
+
engine.checkVersion("4.3.1");
|
|
4017
4017
|
await engine.pluginManager.register((e) => {
|
|
4018
4018
|
ensureInteractivityPluginLoaded(e);
|
|
4019
4019
|
e.pluginManager.addInteractor?.("externalBounce", container => {
|
|
@@ -4413,7 +4413,7 @@
|
|
|
4413
4413
|
}
|
|
4414
4414
|
|
|
4415
4415
|
async function loadExternalBubbleInteraction(engine) {
|
|
4416
|
-
engine.checkVersion("4.3.
|
|
4416
|
+
engine.checkVersion("4.3.1");
|
|
4417
4417
|
await engine.pluginManager.register((e) => {
|
|
4418
4418
|
ensureInteractivityPluginLoaded(e);
|
|
4419
4419
|
e.pluginManager.addInteractor?.("externalBubble", container => {
|
|
@@ -4541,7 +4541,7 @@
|
|
|
4541
4541
|
}
|
|
4542
4542
|
|
|
4543
4543
|
async function loadExternalConnectInteraction(engine) {
|
|
4544
|
-
engine.checkVersion("4.3.
|
|
4544
|
+
engine.checkVersion("4.3.1");
|
|
4545
4545
|
await engine.pluginManager.register((e) => {
|
|
4546
4546
|
ensureInteractivityPluginLoaded(e);
|
|
4547
4547
|
e.pluginManager.addInteractor?.("externalConnect", container => {
|
|
@@ -4645,7 +4645,7 @@
|
|
|
4645
4645
|
}
|
|
4646
4646
|
|
|
4647
4647
|
async function loadExternalDestroyInteraction(engine) {
|
|
4648
|
-
engine.checkVersion("4.3.
|
|
4648
|
+
engine.checkVersion("4.3.1");
|
|
4649
4649
|
await engine.pluginManager.register((e) => {
|
|
4650
4650
|
ensureInteractivityPluginLoaded(e);
|
|
4651
4651
|
e.pluginManager.addInteractor?.("externalDestroy", async (container) => {
|
|
@@ -4769,7 +4769,7 @@
|
|
|
4769
4769
|
}
|
|
4770
4770
|
|
|
4771
4771
|
async function loadExternalGrabInteraction(engine) {
|
|
4772
|
-
engine.checkVersion("4.3.
|
|
4772
|
+
engine.checkVersion("4.3.1");
|
|
4773
4773
|
await engine.pluginManager.register((e) => {
|
|
4774
4774
|
ensureInteractivityPluginLoaded(e);
|
|
4775
4775
|
e.pluginManager.addInteractor?.("externalGrab", container => {
|
|
@@ -4839,7 +4839,7 @@
|
|
|
4839
4839
|
}
|
|
4840
4840
|
|
|
4841
4841
|
async function loadExternalParallaxInteraction(engine) {
|
|
4842
|
-
engine.checkVersion("4.3.
|
|
4842
|
+
engine.checkVersion("4.3.1");
|
|
4843
4843
|
await engine.pluginManager.register((e) => {
|
|
4844
4844
|
ensureInteractivityPluginLoaded(e);
|
|
4845
4845
|
e.pluginManager.addInteractor?.("externalParallax", container => {
|
|
@@ -4882,7 +4882,7 @@
|
|
|
4882
4882
|
}
|
|
4883
4883
|
|
|
4884
4884
|
async function loadExternalPauseInteraction(engine) {
|
|
4885
|
-
engine.checkVersion("4.3.
|
|
4885
|
+
engine.checkVersion("4.3.1");
|
|
4886
4886
|
await engine.pluginManager.register((e) => {
|
|
4887
4887
|
ensureInteractivityPluginLoaded(e);
|
|
4888
4888
|
e.pluginManager.addInteractor?.("externalPause", container => {
|
|
@@ -4954,7 +4954,7 @@
|
|
|
4954
4954
|
}
|
|
4955
4955
|
|
|
4956
4956
|
async function loadExternalPushInteraction(engine) {
|
|
4957
|
-
engine.checkVersion("4.3.
|
|
4957
|
+
engine.checkVersion("4.3.1");
|
|
4958
4958
|
await engine.pluginManager.register((e) => {
|
|
4959
4959
|
ensureInteractivityPluginLoaded(e);
|
|
4960
4960
|
e.pluginManager.addInteractor?.("externalPush", container => {
|
|
@@ -5008,7 +5008,7 @@
|
|
|
5008
5008
|
}
|
|
5009
5009
|
|
|
5010
5010
|
async function loadExternalRemoveInteraction(engine) {
|
|
5011
|
-
engine.checkVersion("4.3.
|
|
5011
|
+
engine.checkVersion("4.3.1");
|
|
5012
5012
|
await engine.pluginManager.register((e) => {
|
|
5013
5013
|
ensureInteractivityPluginLoaded(e);
|
|
5014
5014
|
e.pluginManager.addInteractor?.("externalRemove", container => {
|
|
@@ -5314,7 +5314,7 @@
|
|
|
5314
5314
|
}
|
|
5315
5315
|
|
|
5316
5316
|
async function loadExternalRepulseInteraction(engine) {
|
|
5317
|
-
engine.checkVersion("4.3.
|
|
5317
|
+
engine.checkVersion("4.3.1");
|
|
5318
5318
|
await engine.pluginManager.register((e) => {
|
|
5319
5319
|
ensureInteractivityPluginLoaded(e);
|
|
5320
5320
|
const pluginManager = e.pluginManager;
|
|
@@ -5408,7 +5408,7 @@
|
|
|
5408
5408
|
}
|
|
5409
5409
|
|
|
5410
5410
|
async function loadExternalSlowInteraction(engine) {
|
|
5411
|
-
engine.checkVersion("4.3.
|
|
5411
|
+
engine.checkVersion("4.3.1");
|
|
5412
5412
|
await engine.pluginManager.register((e) => {
|
|
5413
5413
|
ensureInteractivityPluginLoaded(e);
|
|
5414
5414
|
e.pluginManager.addInteractor?.("externalSlow", container => {
|
|
@@ -5717,7 +5717,7 @@
|
|
|
5717
5717
|
};
|
|
5718
5718
|
}
|
|
5719
5719
|
async function loadImageShape(engine) {
|
|
5720
|
-
engine.checkVersion("4.3.
|
|
5720
|
+
engine.checkVersion("4.3.1");
|
|
5721
5721
|
await engine.pluginManager.register(e => {
|
|
5722
5722
|
addLoadImageToEngine(e);
|
|
5723
5723
|
e.pluginManager.addPlugin(new ImagePreloaderPlugin(e));
|
|
@@ -5862,7 +5862,7 @@
|
|
|
5862
5862
|
}
|
|
5863
5863
|
|
|
5864
5864
|
async function loadLifeUpdater(engine) {
|
|
5865
|
-
engine.checkVersion("4.3.
|
|
5865
|
+
engine.checkVersion("4.3.1");
|
|
5866
5866
|
await engine.pluginManager.register(e => {
|
|
5867
5867
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
5868
5868
|
return Promise.resolve(new LifeUpdater(container));
|
|
@@ -5888,7 +5888,7 @@
|
|
|
5888
5888
|
}
|
|
5889
5889
|
|
|
5890
5890
|
async function loadLineShape(engine) {
|
|
5891
|
-
engine.checkVersion("4.3.
|
|
5891
|
+
engine.checkVersion("4.3.1");
|
|
5892
5892
|
await engine.pluginManager.register(e => {
|
|
5893
5893
|
e.pluginManager.addShape(["line"], () => Promise.resolve(new LineDrawer()));
|
|
5894
5894
|
});
|
|
@@ -5972,7 +5972,7 @@
|
|
|
5972
5972
|
}
|
|
5973
5973
|
|
|
5974
5974
|
async function loadParticlesAttractInteraction(engine) {
|
|
5975
|
-
engine.checkVersion("4.3.
|
|
5975
|
+
engine.checkVersion("4.3.1");
|
|
5976
5976
|
await engine.pluginManager.register((e) => {
|
|
5977
5977
|
ensureInteractivityPluginLoaded(e);
|
|
5978
5978
|
e.pluginManager.addInteractor?.("particlesAttract", container => {
|
|
@@ -6182,7 +6182,7 @@
|
|
|
6182
6182
|
}
|
|
6183
6183
|
|
|
6184
6184
|
async function loadParticlesCollisionsInteraction(engine) {
|
|
6185
|
-
engine.checkVersion("4.3.
|
|
6185
|
+
engine.checkVersion("4.3.1");
|
|
6186
6186
|
await engine.pluginManager.register((e) => {
|
|
6187
6187
|
ensureInteractivityPluginLoaded(e);
|
|
6188
6188
|
e.pluginManager.addPlugin(new OverlapPlugin());
|
|
@@ -6436,7 +6436,7 @@
|
|
|
6436
6436
|
}
|
|
6437
6437
|
|
|
6438
6438
|
async function loadParticlesLinksInteraction(engine) {
|
|
6439
|
-
engine.checkVersion("4.3.
|
|
6439
|
+
engine.checkVersion("4.3.1");
|
|
6440
6440
|
await engine.pluginManager.register((e) => {
|
|
6441
6441
|
const pluginManager = e.pluginManager;
|
|
6442
6442
|
ensureInteractivityPluginLoaded(e);
|
|
@@ -6526,19 +6526,19 @@
|
|
|
6526
6526
|
}
|
|
6527
6527
|
|
|
6528
6528
|
async function loadGenericPolygonShape(engine) {
|
|
6529
|
-
engine.checkVersion("4.3.
|
|
6529
|
+
engine.checkVersion("4.3.1");
|
|
6530
6530
|
await engine.pluginManager.register(e => {
|
|
6531
6531
|
e.pluginManager.addShape(["polygon"], () => Promise.resolve(new PolygonDrawer()));
|
|
6532
6532
|
});
|
|
6533
6533
|
}
|
|
6534
6534
|
async function loadTriangleShape(engine) {
|
|
6535
|
-
engine.checkVersion("4.3.
|
|
6535
|
+
engine.checkVersion("4.3.1");
|
|
6536
6536
|
await engine.pluginManager.register(e => {
|
|
6537
6537
|
e.pluginManager.addShape(["triangle"], () => Promise.resolve(new TriangleDrawer()));
|
|
6538
6538
|
});
|
|
6539
6539
|
}
|
|
6540
6540
|
async function loadPolygonShape(engine) {
|
|
6541
|
-
engine.checkVersion("4.3.
|
|
6541
|
+
engine.checkVersion("4.3.1");
|
|
6542
6542
|
await Promise.all([
|
|
6543
6543
|
loadGenericPolygonShape(engine),
|
|
6544
6544
|
loadTriangleShape(engine),
|
|
@@ -6643,7 +6643,7 @@
|
|
|
6643
6643
|
}
|
|
6644
6644
|
|
|
6645
6645
|
async function loadRotateUpdater(engine) {
|
|
6646
|
-
engine.checkVersion("4.3.
|
|
6646
|
+
engine.checkVersion("4.3.1");
|
|
6647
6647
|
await engine.pluginManager.register(e => {
|
|
6648
6648
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
6649
6649
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -6667,7 +6667,7 @@
|
|
|
6667
6667
|
}
|
|
6668
6668
|
|
|
6669
6669
|
async function loadSquareShape(engine) {
|
|
6670
|
-
engine.checkVersion("4.3.
|
|
6670
|
+
engine.checkVersion("4.3.1");
|
|
6671
6671
|
await engine.pluginManager.register(e => {
|
|
6672
6672
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
6673
6673
|
});
|
|
@@ -6701,14 +6701,14 @@
|
|
|
6701
6701
|
}
|
|
6702
6702
|
|
|
6703
6703
|
async function loadStarShape(engine) {
|
|
6704
|
-
engine.checkVersion("4.3.
|
|
6704
|
+
engine.checkVersion("4.3.1");
|
|
6705
6705
|
await engine.pluginManager.register(e => {
|
|
6706
6706
|
e.pluginManager.addShape(["star"], () => Promise.resolve(new StarDrawer()));
|
|
6707
6707
|
});
|
|
6708
6708
|
}
|
|
6709
6709
|
|
|
6710
6710
|
async function loadSlim(engine) {
|
|
6711
|
-
engine.checkVersion("4.3.
|
|
6711
|
+
engine.checkVersion("4.3.1");
|
|
6712
6712
|
await engine.pluginManager.register(async (e) => {
|
|
6713
6713
|
const loadInteractivityForSlim = async (e) => {
|
|
6714
6714
|
await loadInteractivityPlugin(e);
|