@tsparticles/slim 4.0.3 → 4.0.4
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.0.
|
|
29
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
2
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
29
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
2
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
29
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
2
|
+
engine.checkVersion("4.0.4");
|
|
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.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "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.",
|
|
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.0.
|
|
109
|
-
"@tsparticles/engine": "4.0.
|
|
110
|
-
"@tsparticles/interaction-external-attract": "4.0.
|
|
111
|
-
"@tsparticles/interaction-external-bounce": "4.0.
|
|
112
|
-
"@tsparticles/interaction-external-bubble": "4.0.
|
|
113
|
-
"@tsparticles/interaction-external-connect": "4.0.
|
|
114
|
-
"@tsparticles/interaction-external-destroy": "4.0.
|
|
115
|
-
"@tsparticles/interaction-external-grab": "4.0.
|
|
116
|
-
"@tsparticles/interaction-external-parallax": "4.0.
|
|
117
|
-
"@tsparticles/interaction-external-pause": "4.0.
|
|
118
|
-
"@tsparticles/interaction-external-push": "4.0.
|
|
119
|
-
"@tsparticles/interaction-external-remove": "4.0.
|
|
120
|
-
"@tsparticles/interaction-external-repulse": "4.0.
|
|
121
|
-
"@tsparticles/interaction-external-slow": "4.0.
|
|
122
|
-
"@tsparticles/interaction-particles-attract": "4.0.
|
|
123
|
-
"@tsparticles/interaction-particles-collisions": "4.0.
|
|
124
|
-
"@tsparticles/interaction-particles-links": "4.0.
|
|
125
|
-
"@tsparticles/plugin-easing-quad": "4.0.
|
|
126
|
-
"@tsparticles/plugin-interactivity": "4.0.
|
|
127
|
-
"@tsparticles/shape-emoji": "4.0.
|
|
128
|
-
"@tsparticles/shape-image": "4.0.
|
|
129
|
-
"@tsparticles/shape-line": "4.0.
|
|
130
|
-
"@tsparticles/shape-polygon": "4.0.
|
|
131
|
-
"@tsparticles/shape-square": "4.0.
|
|
132
|
-
"@tsparticles/shape-star": "4.0.
|
|
133
|
-
"@tsparticles/updater-life": "4.0.
|
|
134
|
-
"@tsparticles/updater-paint": "4.0.
|
|
135
|
-
"@tsparticles/updater-rotate": "4.0.
|
|
108
|
+
"@tsparticles/basic": "4.0.4",
|
|
109
|
+
"@tsparticles/engine": "4.0.4",
|
|
110
|
+
"@tsparticles/interaction-external-attract": "4.0.4",
|
|
111
|
+
"@tsparticles/interaction-external-bounce": "4.0.4",
|
|
112
|
+
"@tsparticles/interaction-external-bubble": "4.0.4",
|
|
113
|
+
"@tsparticles/interaction-external-connect": "4.0.4",
|
|
114
|
+
"@tsparticles/interaction-external-destroy": "4.0.4",
|
|
115
|
+
"@tsparticles/interaction-external-grab": "4.0.4",
|
|
116
|
+
"@tsparticles/interaction-external-parallax": "4.0.4",
|
|
117
|
+
"@tsparticles/interaction-external-pause": "4.0.4",
|
|
118
|
+
"@tsparticles/interaction-external-push": "4.0.4",
|
|
119
|
+
"@tsparticles/interaction-external-remove": "4.0.4",
|
|
120
|
+
"@tsparticles/interaction-external-repulse": "4.0.4",
|
|
121
|
+
"@tsparticles/interaction-external-slow": "4.0.4",
|
|
122
|
+
"@tsparticles/interaction-particles-attract": "4.0.4",
|
|
123
|
+
"@tsparticles/interaction-particles-collisions": "4.0.4",
|
|
124
|
+
"@tsparticles/interaction-particles-links": "4.0.4",
|
|
125
|
+
"@tsparticles/plugin-easing-quad": "4.0.4",
|
|
126
|
+
"@tsparticles/plugin-interactivity": "4.0.4",
|
|
127
|
+
"@tsparticles/shape-emoji": "4.0.4",
|
|
128
|
+
"@tsparticles/shape-image": "4.0.4",
|
|
129
|
+
"@tsparticles/shape-line": "4.0.4",
|
|
130
|
+
"@tsparticles/shape-polygon": "4.0.4",
|
|
131
|
+
"@tsparticles/shape-square": "4.0.4",
|
|
132
|
+
"@tsparticles/shape-star": "4.0.4",
|
|
133
|
+
"@tsparticles/updater-life": "4.0.4",
|
|
134
|
+
"@tsparticles/updater-paint": "4.0.4",
|
|
135
|
+
"@tsparticles/updater-rotate": "4.0.4"
|
|
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.0.
|
|
2
|
+
/* tsParticles v4.0.4 */
|
|
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) :
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
return this._domArray;
|
|
1119
1119
|
}
|
|
1120
1120
|
get version() {
|
|
1121
|
-
return "4.0.
|
|
1121
|
+
return "4.0.4";
|
|
1122
1122
|
}
|
|
1123
1123
|
addEventListener(type, listener) {
|
|
1124
1124
|
this._eventDispatcher.addEventListener(type, listener);
|
|
@@ -3055,7 +3055,7 @@
|
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
3057
|
async function loadBlendPlugin(engine) {
|
|
3058
|
-
engine.checkVersion("4.0.
|
|
3058
|
+
engine.checkVersion("4.0.4");
|
|
3059
3059
|
await engine.pluginManager.register(e => {
|
|
3060
3060
|
e.pluginManager.addPlugin(new BlendPlugin());
|
|
3061
3061
|
});
|
|
@@ -3092,7 +3092,7 @@
|
|
|
3092
3092
|
}
|
|
3093
3093
|
|
|
3094
3094
|
async function loadCircleShape(engine) {
|
|
3095
|
-
engine.checkVersion("4.0.
|
|
3095
|
+
engine.checkVersion("4.0.4");
|
|
3096
3096
|
await engine.pluginManager.register(e => {
|
|
3097
3097
|
e.pluginManager.addShape(["circle"], () => {
|
|
3098
3098
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -3140,7 +3140,7 @@
|
|
|
3140
3140
|
}
|
|
3141
3141
|
|
|
3142
3142
|
async function loadHexColorPlugin(engine) {
|
|
3143
|
-
engine.checkVersion("4.0.
|
|
3143
|
+
engine.checkVersion("4.0.4");
|
|
3144
3144
|
await engine.pluginManager.register(e => {
|
|
3145
3145
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
3146
3146
|
});
|
|
@@ -3193,7 +3193,7 @@
|
|
|
3193
3193
|
}
|
|
3194
3194
|
|
|
3195
3195
|
async function loadHslColorPlugin(engine) {
|
|
3196
|
-
engine.checkVersion("4.0.
|
|
3196
|
+
engine.checkVersion("4.0.4");
|
|
3197
3197
|
await engine.pluginManager.register(e => {
|
|
3198
3198
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
3199
3199
|
});
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
}
|
|
3218
3218
|
|
|
3219
3219
|
async function loadMovePlugin(engine) {
|
|
3220
|
-
engine.checkVersion("4.0.
|
|
3220
|
+
engine.checkVersion("4.0.4");
|
|
3221
3221
|
await engine.pluginManager.register(e => {
|
|
3222
3222
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
3223
3223
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -3278,7 +3278,7 @@
|
|
|
3278
3278
|
}
|
|
3279
3279
|
|
|
3280
3280
|
async function loadOpacityUpdater(engine) {
|
|
3281
|
-
engine.checkVersion("4.0.
|
|
3281
|
+
engine.checkVersion("4.0.4");
|
|
3282
3282
|
await engine.pluginManager.register(e => {
|
|
3283
3283
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
3284
3284
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -3630,7 +3630,7 @@
|
|
|
3630
3630
|
}
|
|
3631
3631
|
|
|
3632
3632
|
async function loadOutModesUpdater(engine) {
|
|
3633
|
-
engine.checkVersion("4.0.
|
|
3633
|
+
engine.checkVersion("4.0.4");
|
|
3634
3634
|
await engine.pluginManager.register(e => {
|
|
3635
3635
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
3636
3636
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3701,7 +3701,7 @@
|
|
|
3701
3701
|
}
|
|
3702
3702
|
|
|
3703
3703
|
async function loadPaintUpdater(engine) {
|
|
3704
|
-
engine.checkVersion("4.0.
|
|
3704
|
+
engine.checkVersion("4.0.4");
|
|
3705
3705
|
await engine.pluginManager.register(e => {
|
|
3706
3706
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3707
3707
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3756,7 +3756,7 @@
|
|
|
3756
3756
|
}
|
|
3757
3757
|
|
|
3758
3758
|
async function loadRgbColorPlugin(engine) {
|
|
3759
|
-
engine.checkVersion("4.0.
|
|
3759
|
+
engine.checkVersion("4.0.4");
|
|
3760
3760
|
await engine.pluginManager.register(e => {
|
|
3761
3761
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3762
3762
|
});
|
|
@@ -3799,7 +3799,7 @@
|
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
3801
|
async function loadSizeUpdater(engine) {
|
|
3802
|
-
engine.checkVersion("4.0.
|
|
3802
|
+
engine.checkVersion("4.0.4");
|
|
3803
3803
|
await engine.pluginManager.register(e => {
|
|
3804
3804
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3805
3805
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3808,7 +3808,7 @@
|
|
|
3808
3808
|
}
|
|
3809
3809
|
|
|
3810
3810
|
async function loadBasic(engine) {
|
|
3811
|
-
engine.checkVersion("4.0.
|
|
3811
|
+
engine.checkVersion("4.0.4");
|
|
3812
3812
|
await engine.pluginManager.register(async (e) => {
|
|
3813
3813
|
await Promise.all([
|
|
3814
3814
|
loadBlendPlugin(e),
|
|
@@ -3831,7 +3831,7 @@
|
|
|
3831
3831
|
easingsFunctions.set(exports.EasingType.easeInOutQuad, value => (value < 0.5 ? 2 * value ** 2 : 1 - (-2 * value + 2) ** 2 / 2));
|
|
3832
3832
|
|
|
3833
3833
|
async function loadEasingQuadPlugin(engine) {
|
|
3834
|
-
engine.checkVersion("4.0.
|
|
3834
|
+
engine.checkVersion("4.0.4");
|
|
3835
3835
|
await engine.pluginManager.register(e => {
|
|
3836
3836
|
for (const [easing, easingFn] of easingsFunctions) {
|
|
3837
3837
|
e.pluginManager.addEasing(easing, easingFn);
|
|
@@ -3939,7 +3939,7 @@
|
|
|
3939
3939
|
}
|
|
3940
3940
|
|
|
3941
3941
|
async function loadEmojiShape(engine) {
|
|
3942
|
-
engine.checkVersion("4.0.
|
|
3942
|
+
engine.checkVersion("4.0.4");
|
|
3943
3943
|
await engine.pluginManager.register(e => {
|
|
3944
3944
|
e.pluginManager.addShape(validTypes, () => Promise.resolve(new EmojiDrawer()));
|
|
3945
3945
|
});
|
|
@@ -4206,7 +4206,7 @@
|
|
|
4206
4206
|
}
|
|
4207
4207
|
|
|
4208
4208
|
async function loadInteractivityPlugin(engine) {
|
|
4209
|
-
engine.checkVersion("4.0.
|
|
4209
|
+
engine.checkVersion("4.0.4");
|
|
4210
4210
|
await engine.pluginManager.register(e => {
|
|
4211
4211
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
4212
4212
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -4483,7 +4483,7 @@
|
|
|
4483
4483
|
};
|
|
4484
4484
|
|
|
4485
4485
|
async function loadExternalAttractInteraction(engine) {
|
|
4486
|
-
engine.checkVersion("4.0.
|
|
4486
|
+
engine.checkVersion("4.0.4");
|
|
4487
4487
|
await engine.pluginManager.register((e) => {
|
|
4488
4488
|
ensureInteractivityPluginLoaded(e);
|
|
4489
4489
|
e.pluginManager.addInteractor?.("externalAttract", container => {
|
|
@@ -4680,7 +4680,7 @@
|
|
|
4680
4680
|
}
|
|
4681
4681
|
|
|
4682
4682
|
async function loadExternalBounceInteraction(engine) {
|
|
4683
|
-
engine.checkVersion("4.0.
|
|
4683
|
+
engine.checkVersion("4.0.4");
|
|
4684
4684
|
await engine.pluginManager.register((e) => {
|
|
4685
4685
|
ensureInteractivityPluginLoaded(e);
|
|
4686
4686
|
e.pluginManager.addInteractor?.("externalBounce", container => {
|
|
@@ -5060,7 +5060,7 @@
|
|
|
5060
5060
|
}
|
|
5061
5061
|
|
|
5062
5062
|
async function loadExternalBubbleInteraction(engine) {
|
|
5063
|
-
engine.checkVersion("4.0.
|
|
5063
|
+
engine.checkVersion("4.0.4");
|
|
5064
5064
|
await engine.pluginManager.register((e) => {
|
|
5065
5065
|
ensureInteractivityPluginLoaded(e);
|
|
5066
5066
|
e.pluginManager.addInteractor?.("externalBubble", container => {
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
}
|
|
5206
5206
|
|
|
5207
5207
|
async function loadExternalConnectInteraction(engine) {
|
|
5208
|
-
engine.checkVersion("4.0.
|
|
5208
|
+
engine.checkVersion("4.0.4");
|
|
5209
5209
|
await engine.pluginManager.register((e) => {
|
|
5210
5210
|
ensureInteractivityPluginLoaded(e);
|
|
5211
5211
|
e.pluginManager.addInteractor?.("externalConnect", container => {
|
|
@@ -5317,7 +5317,7 @@
|
|
|
5317
5317
|
}
|
|
5318
5318
|
|
|
5319
5319
|
async function loadExternalDestroyInteraction(engine) {
|
|
5320
|
-
engine.checkVersion("4.0.
|
|
5320
|
+
engine.checkVersion("4.0.4");
|
|
5321
5321
|
await engine.pluginManager.register((e) => {
|
|
5322
5322
|
ensureInteractivityPluginLoaded(e);
|
|
5323
5323
|
e.pluginManager.addInteractor?.("externalDestroy", async (container) => {
|
|
@@ -5461,7 +5461,7 @@
|
|
|
5461
5461
|
}
|
|
5462
5462
|
|
|
5463
5463
|
async function loadExternalGrabInteraction(engine) {
|
|
5464
|
-
engine.checkVersion("4.0.
|
|
5464
|
+
engine.checkVersion("4.0.4");
|
|
5465
5465
|
await engine.pluginManager.register((e) => {
|
|
5466
5466
|
ensureInteractivityPluginLoaded(e);
|
|
5467
5467
|
e.pluginManager.addInteractor?.("externalGrab", container => {
|
|
@@ -5542,7 +5542,7 @@
|
|
|
5542
5542
|
}
|
|
5543
5543
|
|
|
5544
5544
|
async function loadExternalParallaxInteraction(engine) {
|
|
5545
|
-
engine.checkVersion("4.0.
|
|
5545
|
+
engine.checkVersion("4.0.4");
|
|
5546
5546
|
await engine.pluginManager.register((e) => {
|
|
5547
5547
|
ensureInteractivityPluginLoaded(e);
|
|
5548
5548
|
e.pluginManager.addInteractor?.("externalParallax", container => {
|
|
@@ -5585,7 +5585,7 @@
|
|
|
5585
5585
|
}
|
|
5586
5586
|
|
|
5587
5587
|
async function loadExternalPauseInteraction(engine) {
|
|
5588
|
-
engine.checkVersion("4.0.
|
|
5588
|
+
engine.checkVersion("4.0.4");
|
|
5589
5589
|
await engine.pluginManager.register((e) => {
|
|
5590
5590
|
ensureInteractivityPluginLoaded(e);
|
|
5591
5591
|
e.pluginManager.addInteractor?.("externalPause", container => {
|
|
@@ -5670,7 +5670,7 @@
|
|
|
5670
5670
|
}
|
|
5671
5671
|
|
|
5672
5672
|
async function loadExternalPushInteraction(engine) {
|
|
5673
|
-
engine.checkVersion("4.0.
|
|
5673
|
+
engine.checkVersion("4.0.4");
|
|
5674
5674
|
await engine.pluginManager.register((e) => {
|
|
5675
5675
|
ensureInteractivityPluginLoaded(e);
|
|
5676
5676
|
e.pluginManager.addInteractor?.("externalPush", container => {
|
|
@@ -5733,7 +5733,7 @@
|
|
|
5733
5733
|
}
|
|
5734
5734
|
|
|
5735
5735
|
async function loadExternalRemoveInteraction(engine) {
|
|
5736
|
-
engine.checkVersion("4.0.
|
|
5736
|
+
engine.checkVersion("4.0.4");
|
|
5737
5737
|
await engine.pluginManager.register((e) => {
|
|
5738
5738
|
ensureInteractivityPluginLoaded(e);
|
|
5739
5739
|
e.pluginManager.addInteractor?.("externalRemove", container => {
|
|
@@ -6066,7 +6066,7 @@
|
|
|
6066
6066
|
}
|
|
6067
6067
|
|
|
6068
6068
|
async function loadExternalRepulseInteraction(engine) {
|
|
6069
|
-
engine.checkVersion("4.0.
|
|
6069
|
+
engine.checkVersion("4.0.4");
|
|
6070
6070
|
await engine.pluginManager.register((e) => {
|
|
6071
6071
|
ensureInteractivityPluginLoaded(e);
|
|
6072
6072
|
const pluginManager = e.pluginManager;
|
|
@@ -6148,7 +6148,7 @@
|
|
|
6148
6148
|
}
|
|
6149
6149
|
|
|
6150
6150
|
async function loadExternalSlowInteraction(engine) {
|
|
6151
|
-
engine.checkVersion("4.0.
|
|
6151
|
+
engine.checkVersion("4.0.4");
|
|
6152
6152
|
await engine.pluginManager.register((e) => {
|
|
6153
6153
|
ensureInteractivityPluginLoaded(e);
|
|
6154
6154
|
e.pluginManager.addInteractor?.("externalSlow", container => {
|
|
@@ -6976,7 +6976,7 @@
|
|
|
6976
6976
|
};
|
|
6977
6977
|
}
|
|
6978
6978
|
async function loadImageShape(engine) {
|
|
6979
|
-
engine.checkVersion("4.0.
|
|
6979
|
+
engine.checkVersion("4.0.4");
|
|
6980
6980
|
await engine.pluginManager.register(e => {
|
|
6981
6981
|
addLoadImageToEngine(e);
|
|
6982
6982
|
e.pluginManager.addPlugin(new ImagePreloaderPlugin(e));
|
|
@@ -7143,7 +7143,7 @@
|
|
|
7143
7143
|
}
|
|
7144
7144
|
|
|
7145
7145
|
async function loadLifeUpdater(engine) {
|
|
7146
|
-
engine.checkVersion("4.0.
|
|
7146
|
+
engine.checkVersion("4.0.4");
|
|
7147
7147
|
await engine.pluginManager.register(e => {
|
|
7148
7148
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
7149
7149
|
return Promise.resolve(new LifeUpdater(container));
|
|
@@ -7169,7 +7169,7 @@
|
|
|
7169
7169
|
}
|
|
7170
7170
|
|
|
7171
7171
|
async function loadLineShape(engine) {
|
|
7172
|
-
engine.checkVersion("4.0.
|
|
7172
|
+
engine.checkVersion("4.0.4");
|
|
7173
7173
|
await engine.pluginManager.register(e => {
|
|
7174
7174
|
e.pluginManager.addShape(["line"], () => Promise.resolve(new LineDrawer()));
|
|
7175
7175
|
});
|
|
@@ -7262,7 +7262,7 @@
|
|
|
7262
7262
|
}
|
|
7263
7263
|
|
|
7264
7264
|
async function loadParticlesAttractInteraction(engine) {
|
|
7265
|
-
engine.checkVersion("4.0.
|
|
7265
|
+
engine.checkVersion("4.0.4");
|
|
7266
7266
|
await engine.pluginManager.register((e) => {
|
|
7267
7267
|
ensureInteractivityPluginLoaded(e);
|
|
7268
7268
|
e.pluginManager.addInteractor?.("particlesAttract", container => {
|
|
@@ -7502,7 +7502,7 @@
|
|
|
7502
7502
|
}
|
|
7503
7503
|
|
|
7504
7504
|
async function loadParticlesCollisionsInteraction(engine) {
|
|
7505
|
-
engine.checkVersion("4.0.
|
|
7505
|
+
engine.checkVersion("4.0.4");
|
|
7506
7506
|
await engine.pluginManager.register((e) => {
|
|
7507
7507
|
ensureInteractivityPluginLoaded(e);
|
|
7508
7508
|
e.pluginManager.addPlugin(new OverlapPlugin());
|
|
@@ -7805,7 +7805,7 @@
|
|
|
7805
7805
|
}
|
|
7806
7806
|
|
|
7807
7807
|
async function loadParticlesLinksInteraction(engine) {
|
|
7808
|
-
engine.checkVersion("4.0.
|
|
7808
|
+
engine.checkVersion("4.0.4");
|
|
7809
7809
|
await engine.pluginManager.register((e) => {
|
|
7810
7810
|
const pluginManager = e.pluginManager;
|
|
7811
7811
|
ensureInteractivityPluginLoaded(e);
|
|
@@ -7895,19 +7895,19 @@
|
|
|
7895
7895
|
}
|
|
7896
7896
|
|
|
7897
7897
|
async function loadGenericPolygonShape(engine) {
|
|
7898
|
-
engine.checkVersion("4.0.
|
|
7898
|
+
engine.checkVersion("4.0.4");
|
|
7899
7899
|
await engine.pluginManager.register(e => {
|
|
7900
7900
|
e.pluginManager.addShape(["polygon"], () => Promise.resolve(new PolygonDrawer()));
|
|
7901
7901
|
});
|
|
7902
7902
|
}
|
|
7903
7903
|
async function loadTriangleShape(engine) {
|
|
7904
|
-
engine.checkVersion("4.0.
|
|
7904
|
+
engine.checkVersion("4.0.4");
|
|
7905
7905
|
await engine.pluginManager.register(e => {
|
|
7906
7906
|
e.pluginManager.addShape(["triangle"], () => Promise.resolve(new TriangleDrawer()));
|
|
7907
7907
|
});
|
|
7908
7908
|
}
|
|
7909
7909
|
async function loadPolygonShape(engine) {
|
|
7910
|
-
engine.checkVersion("4.0.
|
|
7910
|
+
engine.checkVersion("4.0.4");
|
|
7911
7911
|
await Promise.all([
|
|
7912
7912
|
loadGenericPolygonShape(engine),
|
|
7913
7913
|
loadTriangleShape(engine),
|
|
@@ -8040,7 +8040,7 @@
|
|
|
8040
8040
|
}
|
|
8041
8041
|
|
|
8042
8042
|
async function loadRotateUpdater(engine) {
|
|
8043
|
-
engine.checkVersion("4.0.
|
|
8043
|
+
engine.checkVersion("4.0.4");
|
|
8044
8044
|
await engine.pluginManager.register(e => {
|
|
8045
8045
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
8046
8046
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -8064,7 +8064,7 @@
|
|
|
8064
8064
|
}
|
|
8065
8065
|
|
|
8066
8066
|
async function loadSquareShape(engine) {
|
|
8067
|
-
engine.checkVersion("4.0.
|
|
8067
|
+
engine.checkVersion("4.0.4");
|
|
8068
8068
|
await engine.pluginManager.register(e => {
|
|
8069
8069
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
8070
8070
|
});
|
|
@@ -8098,14 +8098,14 @@
|
|
|
8098
8098
|
}
|
|
8099
8099
|
|
|
8100
8100
|
async function loadStarShape(engine) {
|
|
8101
|
-
engine.checkVersion("4.0.
|
|
8101
|
+
engine.checkVersion("4.0.4");
|
|
8102
8102
|
await engine.pluginManager.register(e => {
|
|
8103
8103
|
e.pluginManager.addShape(["star"], () => Promise.resolve(new StarDrawer()));
|
|
8104
8104
|
});
|
|
8105
8105
|
}
|
|
8106
8106
|
|
|
8107
8107
|
async function loadSlim(engine) {
|
|
8108
|
-
engine.checkVersion("4.0.
|
|
8108
|
+
engine.checkVersion("4.0.4");
|
|
8109
8109
|
await engine.pluginManager.register(async (e) => {
|
|
8110
8110
|
const loadInteractivityForSlim = async (e) => {
|
|
8111
8111
|
await loadInteractivityPlugin(e);
|