@tsparticles/slim 4.1.0 → 4.1.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.1.
|
|
29
|
+
engine.checkVersion("4.1.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.1.
|
|
2
|
+
engine.checkVersion("4.1.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.1.
|
|
29
|
+
engine.checkVersion("4.1.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.1.
|
|
2
|
+
engine.checkVersion("4.1.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.1.
|
|
29
|
+
engine.checkVersion("4.1.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.1.
|
|
2
|
+
engine.checkVersion("4.1.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.1.
|
|
3
|
+
"version": "4.1.1",
|
|
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.1.
|
|
109
|
-
"@tsparticles/engine": "4.1.
|
|
110
|
-
"@tsparticles/interaction-external-attract": "4.1.
|
|
111
|
-
"@tsparticles/interaction-external-bounce": "4.1.
|
|
112
|
-
"@tsparticles/interaction-external-bubble": "4.1.
|
|
113
|
-
"@tsparticles/interaction-external-connect": "4.1.
|
|
114
|
-
"@tsparticles/interaction-external-destroy": "4.1.
|
|
115
|
-
"@tsparticles/interaction-external-grab": "4.1.
|
|
116
|
-
"@tsparticles/interaction-external-parallax": "4.1.
|
|
117
|
-
"@tsparticles/interaction-external-pause": "4.1.
|
|
118
|
-
"@tsparticles/interaction-external-push": "4.1.
|
|
119
|
-
"@tsparticles/interaction-external-remove": "4.1.
|
|
120
|
-
"@tsparticles/interaction-external-repulse": "4.1.
|
|
121
|
-
"@tsparticles/interaction-external-slow": "4.1.
|
|
122
|
-
"@tsparticles/interaction-particles-attract": "4.1.
|
|
123
|
-
"@tsparticles/interaction-particles-collisions": "4.1.
|
|
124
|
-
"@tsparticles/interaction-particles-links": "4.1.
|
|
125
|
-
"@tsparticles/plugin-easing-quad": "4.1.
|
|
126
|
-
"@tsparticles/plugin-interactivity": "4.1.
|
|
127
|
-
"@tsparticles/shape-emoji": "4.1.
|
|
128
|
-
"@tsparticles/shape-image": "4.1.
|
|
129
|
-
"@tsparticles/shape-line": "4.1.
|
|
130
|
-
"@tsparticles/shape-polygon": "4.1.
|
|
131
|
-
"@tsparticles/shape-square": "4.1.
|
|
132
|
-
"@tsparticles/shape-star": "4.1.
|
|
133
|
-
"@tsparticles/updater-life": "4.1.
|
|
134
|
-
"@tsparticles/updater-paint": "4.1.
|
|
135
|
-
"@tsparticles/updater-rotate": "4.1.
|
|
108
|
+
"@tsparticles/basic": "4.1.1",
|
|
109
|
+
"@tsparticles/engine": "4.1.1",
|
|
110
|
+
"@tsparticles/interaction-external-attract": "4.1.1",
|
|
111
|
+
"@tsparticles/interaction-external-bounce": "4.1.1",
|
|
112
|
+
"@tsparticles/interaction-external-bubble": "4.1.1",
|
|
113
|
+
"@tsparticles/interaction-external-connect": "4.1.1",
|
|
114
|
+
"@tsparticles/interaction-external-destroy": "4.1.1",
|
|
115
|
+
"@tsparticles/interaction-external-grab": "4.1.1",
|
|
116
|
+
"@tsparticles/interaction-external-parallax": "4.1.1",
|
|
117
|
+
"@tsparticles/interaction-external-pause": "4.1.1",
|
|
118
|
+
"@tsparticles/interaction-external-push": "4.1.1",
|
|
119
|
+
"@tsparticles/interaction-external-remove": "4.1.1",
|
|
120
|
+
"@tsparticles/interaction-external-repulse": "4.1.1",
|
|
121
|
+
"@tsparticles/interaction-external-slow": "4.1.1",
|
|
122
|
+
"@tsparticles/interaction-particles-attract": "4.1.1",
|
|
123
|
+
"@tsparticles/interaction-particles-collisions": "4.1.1",
|
|
124
|
+
"@tsparticles/interaction-particles-links": "4.1.1",
|
|
125
|
+
"@tsparticles/plugin-easing-quad": "4.1.1",
|
|
126
|
+
"@tsparticles/plugin-interactivity": "4.1.1",
|
|
127
|
+
"@tsparticles/shape-emoji": "4.1.1",
|
|
128
|
+
"@tsparticles/shape-image": "4.1.1",
|
|
129
|
+
"@tsparticles/shape-line": "4.1.1",
|
|
130
|
+
"@tsparticles/shape-polygon": "4.1.1",
|
|
131
|
+
"@tsparticles/shape-square": "4.1.1",
|
|
132
|
+
"@tsparticles/shape-star": "4.1.1",
|
|
133
|
+
"@tsparticles/updater-life": "4.1.1",
|
|
134
|
+
"@tsparticles/updater-paint": "4.1.1",
|
|
135
|
+
"@tsparticles/updater-rotate": "4.1.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.1.
|
|
2
|
+
/* tsParticles v4.1.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) :
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
return this.#domArray;
|
|
1119
1119
|
}
|
|
1120
1120
|
get version() {
|
|
1121
|
-
return "4.1.
|
|
1121
|
+
return "4.1.1";
|
|
1122
1122
|
}
|
|
1123
1123
|
addEventListener(type, listener) {
|
|
1124
1124
|
this.#eventDispatcher.addEventListener(type, listener);
|
|
@@ -2975,7 +2975,7 @@
|
|
|
2975
2975
|
}
|
|
2976
2976
|
|
|
2977
2977
|
async function loadBlendPlugin(engine) {
|
|
2978
|
-
engine.checkVersion("4.1.
|
|
2978
|
+
engine.checkVersion("4.1.1");
|
|
2979
2979
|
await engine.pluginManager.register(e => {
|
|
2980
2980
|
e.pluginManager.addPlugin(new BlendPlugin());
|
|
2981
2981
|
});
|
|
@@ -3012,7 +3012,7 @@
|
|
|
3012
3012
|
}
|
|
3013
3013
|
|
|
3014
3014
|
async function loadCircleShape(engine) {
|
|
3015
|
-
engine.checkVersion("4.1.
|
|
3015
|
+
engine.checkVersion("4.1.1");
|
|
3016
3016
|
await engine.pluginManager.register(e => {
|
|
3017
3017
|
e.pluginManager.addShape(["circle"], () => {
|
|
3018
3018
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -3060,7 +3060,7 @@
|
|
|
3060
3060
|
}
|
|
3061
3061
|
|
|
3062
3062
|
async function loadHexColorPlugin(engine) {
|
|
3063
|
-
engine.checkVersion("4.1.
|
|
3063
|
+
engine.checkVersion("4.1.1");
|
|
3064
3064
|
await engine.pluginManager.register(e => {
|
|
3065
3065
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
3066
3066
|
});
|
|
@@ -3113,7 +3113,7 @@
|
|
|
3113
3113
|
}
|
|
3114
3114
|
|
|
3115
3115
|
async function loadHslColorPlugin(engine) {
|
|
3116
|
-
engine.checkVersion("4.1.
|
|
3116
|
+
engine.checkVersion("4.1.1");
|
|
3117
3117
|
await engine.pluginManager.register(e => {
|
|
3118
3118
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
3119
3119
|
});
|
|
@@ -3137,7 +3137,7 @@
|
|
|
3137
3137
|
}
|
|
3138
3138
|
|
|
3139
3139
|
async function loadMovePlugin(engine) {
|
|
3140
|
-
engine.checkVersion("4.1.
|
|
3140
|
+
engine.checkVersion("4.1.1");
|
|
3141
3141
|
await engine.pluginManager.register(e => {
|
|
3142
3142
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
3143
3143
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -3244,7 +3244,7 @@
|
|
|
3244
3244
|
}
|
|
3245
3245
|
|
|
3246
3246
|
async function loadOpacityUpdater(engine) {
|
|
3247
|
-
engine.checkVersion("4.1.
|
|
3247
|
+
engine.checkVersion("4.1.1");
|
|
3248
3248
|
await engine.pluginManager.register(e => {
|
|
3249
3249
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
3250
3250
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -3591,7 +3591,7 @@
|
|
|
3591
3591
|
}
|
|
3592
3592
|
|
|
3593
3593
|
async function loadOutModesUpdater(engine) {
|
|
3594
|
-
engine.checkVersion("4.1.
|
|
3594
|
+
engine.checkVersion("4.1.1");
|
|
3595
3595
|
await engine.pluginManager.register(e => {
|
|
3596
3596
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
3597
3597
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3662,7 +3662,7 @@
|
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
3664
|
async function loadPaintUpdater(engine) {
|
|
3665
|
-
engine.checkVersion("4.1.
|
|
3665
|
+
engine.checkVersion("4.1.1");
|
|
3666
3666
|
await engine.pluginManager.register(e => {
|
|
3667
3667
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3668
3668
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3717,7 +3717,7 @@
|
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
3719
|
async function loadRgbColorPlugin(engine) {
|
|
3720
|
-
engine.checkVersion("4.1.
|
|
3720
|
+
engine.checkVersion("4.1.1");
|
|
3721
3721
|
await engine.pluginManager.register(e => {
|
|
3722
3722
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3723
3723
|
});
|
|
@@ -3816,7 +3816,7 @@
|
|
|
3816
3816
|
}
|
|
3817
3817
|
|
|
3818
3818
|
async function loadSizeUpdater(engine) {
|
|
3819
|
-
engine.checkVersion("4.1.
|
|
3819
|
+
engine.checkVersion("4.1.1");
|
|
3820
3820
|
await engine.pluginManager.register(e => {
|
|
3821
3821
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3822
3822
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3825,7 +3825,7 @@
|
|
|
3825
3825
|
}
|
|
3826
3826
|
|
|
3827
3827
|
async function loadBasic(engine) {
|
|
3828
|
-
engine.checkVersion("4.1.
|
|
3828
|
+
engine.checkVersion("4.1.1");
|
|
3829
3829
|
await engine.pluginManager.register(async (e) => {
|
|
3830
3830
|
await Promise.all([
|
|
3831
3831
|
loadBlendPlugin(e),
|
|
@@ -3848,7 +3848,7 @@
|
|
|
3848
3848
|
easingsFunctions.set(exports.EasingType.easeInOutQuad, value => (value < 0.5 ? 2 * value ** 2 : 1 - (-2 * value + 2) ** 2 / 2));
|
|
3849
3849
|
|
|
3850
3850
|
async function loadEasingQuadPlugin(engine) {
|
|
3851
|
-
engine.checkVersion("4.1.
|
|
3851
|
+
engine.checkVersion("4.1.1");
|
|
3852
3852
|
await engine.pluginManager.register(e => {
|
|
3853
3853
|
for (const [easing, easingFn] of easingsFunctions) {
|
|
3854
3854
|
e.pluginManager.addEasing(easing, easingFn);
|
|
@@ -3956,7 +3956,7 @@
|
|
|
3956
3956
|
}
|
|
3957
3957
|
|
|
3958
3958
|
async function loadEmojiShape(engine) {
|
|
3959
|
-
engine.checkVersion("4.1.
|
|
3959
|
+
engine.checkVersion("4.1.1");
|
|
3960
3960
|
await engine.pluginManager.register(e => {
|
|
3961
3961
|
e.pluginManager.addShape(validTypes, () => Promise.resolve(new EmojiDrawer()));
|
|
3962
3962
|
});
|
|
@@ -4223,7 +4223,7 @@
|
|
|
4223
4223
|
}
|
|
4224
4224
|
|
|
4225
4225
|
async function loadInteractivityPlugin(engine) {
|
|
4226
|
-
engine.checkVersion("4.1.
|
|
4226
|
+
engine.checkVersion("4.1.1");
|
|
4227
4227
|
await engine.pluginManager.register(e => {
|
|
4228
4228
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
4229
4229
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -4500,7 +4500,7 @@
|
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
4502
|
async function loadExternalAttractInteraction(engine) {
|
|
4503
|
-
engine.checkVersion("4.1.
|
|
4503
|
+
engine.checkVersion("4.1.1");
|
|
4504
4504
|
await engine.pluginManager.register((e) => {
|
|
4505
4505
|
ensureInteractivityPluginLoaded(e);
|
|
4506
4506
|
e.pluginManager.addInteractor?.("externalAttract", container => {
|
|
@@ -4697,7 +4697,7 @@
|
|
|
4697
4697
|
}
|
|
4698
4698
|
|
|
4699
4699
|
async function loadExternalBounceInteraction(engine) {
|
|
4700
|
-
engine.checkVersion("4.1.
|
|
4700
|
+
engine.checkVersion("4.1.1");
|
|
4701
4701
|
await engine.pluginManager.register((e) => {
|
|
4702
4702
|
ensureInteractivityPluginLoaded(e);
|
|
4703
4703
|
e.pluginManager.addInteractor?.("externalBounce", container => {
|
|
@@ -5077,7 +5077,7 @@
|
|
|
5077
5077
|
}
|
|
5078
5078
|
|
|
5079
5079
|
async function loadExternalBubbleInteraction(engine) {
|
|
5080
|
-
engine.checkVersion("4.1.
|
|
5080
|
+
engine.checkVersion("4.1.1");
|
|
5081
5081
|
await engine.pluginManager.register((e) => {
|
|
5082
5082
|
ensureInteractivityPluginLoaded(e);
|
|
5083
5083
|
e.pluginManager.addInteractor?.("externalBubble", container => {
|
|
@@ -5222,7 +5222,7 @@
|
|
|
5222
5222
|
}
|
|
5223
5223
|
|
|
5224
5224
|
async function loadExternalConnectInteraction(engine) {
|
|
5225
|
-
engine.checkVersion("4.1.
|
|
5225
|
+
engine.checkVersion("4.1.1");
|
|
5226
5226
|
await engine.pluginManager.register((e) => {
|
|
5227
5227
|
ensureInteractivityPluginLoaded(e);
|
|
5228
5228
|
e.pluginManager.addInteractor?.("externalConnect", container => {
|
|
@@ -5334,7 +5334,7 @@
|
|
|
5334
5334
|
}
|
|
5335
5335
|
|
|
5336
5336
|
async function loadExternalDestroyInteraction(engine) {
|
|
5337
|
-
engine.checkVersion("4.1.
|
|
5337
|
+
engine.checkVersion("4.1.1");
|
|
5338
5338
|
await engine.pluginManager.register((e) => {
|
|
5339
5339
|
ensureInteractivityPluginLoaded(e);
|
|
5340
5340
|
e.pluginManager.addInteractor?.("externalDestroy", async (container) => {
|
|
@@ -5478,7 +5478,7 @@
|
|
|
5478
5478
|
}
|
|
5479
5479
|
|
|
5480
5480
|
async function loadExternalGrabInteraction(engine) {
|
|
5481
|
-
engine.checkVersion("4.1.
|
|
5481
|
+
engine.checkVersion("4.1.1");
|
|
5482
5482
|
await engine.pluginManager.register((e) => {
|
|
5483
5483
|
ensureInteractivityPluginLoaded(e);
|
|
5484
5484
|
e.pluginManager.addInteractor?.("externalGrab", container => {
|
|
@@ -5559,7 +5559,7 @@
|
|
|
5559
5559
|
}
|
|
5560
5560
|
|
|
5561
5561
|
async function loadExternalParallaxInteraction(engine) {
|
|
5562
|
-
engine.checkVersion("4.1.
|
|
5562
|
+
engine.checkVersion("4.1.1");
|
|
5563
5563
|
await engine.pluginManager.register((e) => {
|
|
5564
5564
|
ensureInteractivityPluginLoaded(e);
|
|
5565
5565
|
e.pluginManager.addInteractor?.("externalParallax", container => {
|
|
@@ -5602,7 +5602,7 @@
|
|
|
5602
5602
|
}
|
|
5603
5603
|
|
|
5604
5604
|
async function loadExternalPauseInteraction(engine) {
|
|
5605
|
-
engine.checkVersion("4.1.
|
|
5605
|
+
engine.checkVersion("4.1.1");
|
|
5606
5606
|
await engine.pluginManager.register((e) => {
|
|
5607
5607
|
ensureInteractivityPluginLoaded(e);
|
|
5608
5608
|
e.pluginManager.addInteractor?.("externalPause", container => {
|
|
@@ -5687,7 +5687,7 @@
|
|
|
5687
5687
|
}
|
|
5688
5688
|
|
|
5689
5689
|
async function loadExternalPushInteraction(engine) {
|
|
5690
|
-
engine.checkVersion("4.1.
|
|
5690
|
+
engine.checkVersion("4.1.1");
|
|
5691
5691
|
await engine.pluginManager.register((e) => {
|
|
5692
5692
|
ensureInteractivityPluginLoaded(e);
|
|
5693
5693
|
e.pluginManager.addInteractor?.("externalPush", container => {
|
|
@@ -5750,7 +5750,7 @@
|
|
|
5750
5750
|
}
|
|
5751
5751
|
|
|
5752
5752
|
async function loadExternalRemoveInteraction(engine) {
|
|
5753
|
-
engine.checkVersion("4.1.
|
|
5753
|
+
engine.checkVersion("4.1.1");
|
|
5754
5754
|
await engine.pluginManager.register((e) => {
|
|
5755
5755
|
ensureInteractivityPluginLoaded(e);
|
|
5756
5756
|
e.pluginManager.addInteractor?.("externalRemove", container => {
|
|
@@ -6083,7 +6083,7 @@
|
|
|
6083
6083
|
}
|
|
6084
6084
|
|
|
6085
6085
|
async function loadExternalRepulseInteraction(engine) {
|
|
6086
|
-
engine.checkVersion("4.1.
|
|
6086
|
+
engine.checkVersion("4.1.1");
|
|
6087
6087
|
await engine.pluginManager.register((e) => {
|
|
6088
6088
|
ensureInteractivityPluginLoaded(e);
|
|
6089
6089
|
const pluginManager = e.pluginManager;
|
|
@@ -6165,7 +6165,7 @@
|
|
|
6165
6165
|
}
|
|
6166
6166
|
|
|
6167
6167
|
async function loadExternalSlowInteraction(engine) {
|
|
6168
|
-
engine.checkVersion("4.1.
|
|
6168
|
+
engine.checkVersion("4.1.1");
|
|
6169
6169
|
await engine.pluginManager.register((e) => {
|
|
6170
6170
|
ensureInteractivityPluginLoaded(e);
|
|
6171
6171
|
e.pluginManager.addInteractor?.("externalSlow", container => {
|
|
@@ -6993,7 +6993,7 @@
|
|
|
6993
6993
|
};
|
|
6994
6994
|
}
|
|
6995
6995
|
async function loadImageShape(engine) {
|
|
6996
|
-
engine.checkVersion("4.1.
|
|
6996
|
+
engine.checkVersion("4.1.1");
|
|
6997
6997
|
await engine.pluginManager.register(e => {
|
|
6998
6998
|
addLoadImageToEngine(e);
|
|
6999
6999
|
e.pluginManager.addPlugin(new ImagePreloaderPlugin(e));
|
|
@@ -7160,7 +7160,7 @@
|
|
|
7160
7160
|
}
|
|
7161
7161
|
|
|
7162
7162
|
async function loadLifeUpdater(engine) {
|
|
7163
|
-
engine.checkVersion("4.1.
|
|
7163
|
+
engine.checkVersion("4.1.1");
|
|
7164
7164
|
await engine.pluginManager.register(e => {
|
|
7165
7165
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
7166
7166
|
return Promise.resolve(new LifeUpdater(container));
|
|
@@ -7186,7 +7186,7 @@
|
|
|
7186
7186
|
}
|
|
7187
7187
|
|
|
7188
7188
|
async function loadLineShape(engine) {
|
|
7189
|
-
engine.checkVersion("4.1.
|
|
7189
|
+
engine.checkVersion("4.1.1");
|
|
7190
7190
|
await engine.pluginManager.register(e => {
|
|
7191
7191
|
e.pluginManager.addShape(["line"], () => Promise.resolve(new LineDrawer()));
|
|
7192
7192
|
});
|
|
@@ -7279,7 +7279,7 @@
|
|
|
7279
7279
|
}
|
|
7280
7280
|
|
|
7281
7281
|
async function loadParticlesAttractInteraction(engine) {
|
|
7282
|
-
engine.checkVersion("4.1.
|
|
7282
|
+
engine.checkVersion("4.1.1");
|
|
7283
7283
|
await engine.pluginManager.register((e) => {
|
|
7284
7284
|
ensureInteractivityPluginLoaded(e);
|
|
7285
7285
|
e.pluginManager.addInteractor?.("particlesAttract", container => {
|
|
@@ -7519,7 +7519,7 @@
|
|
|
7519
7519
|
}
|
|
7520
7520
|
|
|
7521
7521
|
async function loadParticlesCollisionsInteraction(engine) {
|
|
7522
|
-
engine.checkVersion("4.1.
|
|
7522
|
+
engine.checkVersion("4.1.1");
|
|
7523
7523
|
await engine.pluginManager.register((e) => {
|
|
7524
7524
|
ensureInteractivityPluginLoaded(e);
|
|
7525
7525
|
e.pluginManager.addPlugin(new OverlapPlugin());
|
|
@@ -7822,7 +7822,7 @@
|
|
|
7822
7822
|
}
|
|
7823
7823
|
|
|
7824
7824
|
async function loadParticlesLinksInteraction(engine) {
|
|
7825
|
-
engine.checkVersion("4.1.
|
|
7825
|
+
engine.checkVersion("4.1.1");
|
|
7826
7826
|
await engine.pluginManager.register((e) => {
|
|
7827
7827
|
const pluginManager = e.pluginManager;
|
|
7828
7828
|
ensureInteractivityPluginLoaded(e);
|
|
@@ -7912,19 +7912,19 @@
|
|
|
7912
7912
|
}
|
|
7913
7913
|
|
|
7914
7914
|
async function loadGenericPolygonShape(engine) {
|
|
7915
|
-
engine.checkVersion("4.1.
|
|
7915
|
+
engine.checkVersion("4.1.1");
|
|
7916
7916
|
await engine.pluginManager.register(e => {
|
|
7917
7917
|
e.pluginManager.addShape(["polygon"], () => Promise.resolve(new PolygonDrawer()));
|
|
7918
7918
|
});
|
|
7919
7919
|
}
|
|
7920
7920
|
async function loadTriangleShape(engine) {
|
|
7921
|
-
engine.checkVersion("4.1.
|
|
7921
|
+
engine.checkVersion("4.1.1");
|
|
7922
7922
|
await engine.pluginManager.register(e => {
|
|
7923
7923
|
e.pluginManager.addShape(["triangle"], () => Promise.resolve(new TriangleDrawer()));
|
|
7924
7924
|
});
|
|
7925
7925
|
}
|
|
7926
7926
|
async function loadPolygonShape(engine) {
|
|
7927
|
-
engine.checkVersion("4.1.
|
|
7927
|
+
engine.checkVersion("4.1.1");
|
|
7928
7928
|
await Promise.all([
|
|
7929
7929
|
loadGenericPolygonShape(engine),
|
|
7930
7930
|
loadTriangleShape(engine),
|
|
@@ -8057,7 +8057,7 @@
|
|
|
8057
8057
|
}
|
|
8058
8058
|
|
|
8059
8059
|
async function loadRotateUpdater(engine) {
|
|
8060
|
-
engine.checkVersion("4.1.
|
|
8060
|
+
engine.checkVersion("4.1.1");
|
|
8061
8061
|
await engine.pluginManager.register(e => {
|
|
8062
8062
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
8063
8063
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -8081,7 +8081,7 @@
|
|
|
8081
8081
|
}
|
|
8082
8082
|
|
|
8083
8083
|
async function loadSquareShape(engine) {
|
|
8084
|
-
engine.checkVersion("4.1.
|
|
8084
|
+
engine.checkVersion("4.1.1");
|
|
8085
8085
|
await engine.pluginManager.register(e => {
|
|
8086
8086
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
8087
8087
|
});
|
|
@@ -8115,14 +8115,14 @@
|
|
|
8115
8115
|
}
|
|
8116
8116
|
|
|
8117
8117
|
async function loadStarShape(engine) {
|
|
8118
|
-
engine.checkVersion("4.1.
|
|
8118
|
+
engine.checkVersion("4.1.1");
|
|
8119
8119
|
await engine.pluginManager.register(e => {
|
|
8120
8120
|
e.pluginManager.addShape(["star"], () => Promise.resolve(new StarDrawer()));
|
|
8121
8121
|
});
|
|
8122
8122
|
}
|
|
8123
8123
|
|
|
8124
8124
|
async function loadSlim(engine) {
|
|
8125
|
-
engine.checkVersion("4.1.
|
|
8125
|
+
engine.checkVersion("4.1.1");
|
|
8126
8126
|
await engine.pluginManager.register(async (e) => {
|
|
8127
8127
|
const loadInteractivityForSlim = async (e) => {
|
|
8128
8128
|
await loadInteractivityPlugin(e);
|