tsparticles 3.0.0-beta.4 → 3.0.0
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 +1 -0
- package/browser/index.js +2 -0
- package/cjs/index.js +2 -0
- package/esm/index.js +2 -0
- package/package.json +14 -13
- package/report.html +3 -3
- package/tsparticles.bundle.js +218 -255
- package/tsparticles.bundle.min.js +1 -1
- package/tsparticles.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.js +25 -14
- package/tsparticles.min.js +1 -1
- package/tsparticles.min.js.LICENSE.txt +1 -1
- package/umd/index.js +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles v3.0.0
|
|
1
|
+
/*! tsParticles v3.0.0 by Matteo Bruni */
|
package/tsparticles.js
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v3.0.0
|
|
7
|
+
* v3.0.0
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble"));
|
|
11
|
+
module.exports = factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/shape-text"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define(["@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-circle", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
|
|
13
|
+
define(["@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-circle", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/shape-text", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
|
|
14
14
|
else {
|
|
15
|
-
var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
|
|
15
|
+
var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-circle"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/shape-text"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
|
|
16
16
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
17
17
|
}
|
|
18
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__94__, __WEBPACK_EXTERNAL_MODULE__344__, __WEBPACK_EXTERNAL_MODULE__68__, __WEBPACK_EXTERNAL_MODULE__953__, __WEBPACK_EXTERNAL_MODULE__787__, __WEBPACK_EXTERNAL_MODULE__889__, __WEBPACK_EXTERNAL_MODULE__734__, __WEBPACK_EXTERNAL_MODULE__830__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__83__) => {
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__94__, __WEBPACK_EXTERNAL_MODULE__344__, __WEBPACK_EXTERNAL_MODULE__68__, __WEBPACK_EXTERNAL_MODULE__953__, __WEBPACK_EXTERNAL_MODULE__787__, __WEBPACK_EXTERNAL_MODULE__889__, __WEBPACK_EXTERNAL_MODULE__734__, __WEBPACK_EXTERNAL_MODULE__830__, __WEBPACK_EXTERNAL_MODULE__727__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__83__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
@@ -55,6 +55,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__787__;
|
|
|
55
55
|
|
|
56
56
|
/***/ }),
|
|
57
57
|
|
|
58
|
+
/***/ 727:
|
|
59
|
+
/***/ ((module) => {
|
|
60
|
+
|
|
61
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__727__;
|
|
62
|
+
|
|
63
|
+
/***/ }),
|
|
64
|
+
|
|
58
65
|
/***/ 830:
|
|
59
66
|
/***/ ((module) => {
|
|
60
67
|
|
|
@@ -188,12 +195,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
188
195
|
/* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6__);
|
|
189
196
|
/* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(830);
|
|
190
197
|
/* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_slim__WEBPACK_IMPORTED_MODULE_7__);
|
|
191
|
-
/* harmony import */ var
|
|
192
|
-
/* harmony import */ var
|
|
193
|
-
/* harmony import */ var
|
|
194
|
-
/* harmony import */ var
|
|
195
|
-
/* harmony import */ var
|
|
196
|
-
/* harmony import */ var
|
|
198
|
+
/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(727);
|
|
199
|
+
/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__);
|
|
200
|
+
/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(448);
|
|
201
|
+
/* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__);
|
|
202
|
+
/* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4);
|
|
203
|
+
/* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__);
|
|
204
|
+
/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(83);
|
|
205
|
+
/* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__);
|
|
206
|
+
|
|
197
207
|
|
|
198
208
|
|
|
199
209
|
|
|
@@ -208,9 +218,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
208
218
|
async function loadFull(engine, refresh = true) {
|
|
209
219
|
await (0,_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine, false);
|
|
210
220
|
await (0,_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_6__.loadRollUpdater)(engine, false);
|
|
211
|
-
await (0,
|
|
212
|
-
await (0,
|
|
213
|
-
await (0,
|
|
221
|
+
await (0,_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_9__.loadTiltUpdater)(engine, false);
|
|
222
|
+
await (0,_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_10__.loadTwinkleUpdater)(engine, false);
|
|
223
|
+
await (0,_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_11__.loadWobbleUpdater)(engine, false);
|
|
224
|
+
await (0,_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_8__.loadTextShape)(engine, false);
|
|
214
225
|
await (0,_tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_5__.loadExternalTrailInteraction)(engine, false);
|
|
215
226
|
await (0,_tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__.loadAbsorbersPlugin)(engine, false);
|
|
216
227
|
await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine, false);
|
package/tsparticles.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-circle"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-absorbers","@tsparticles/updater-destroy","@tsparticles/plugin-emitters","@tsparticles/plugin-emitters-shape-circle","@tsparticles/plugin-emitters-shape-square","@tsparticles/interaction-external-trail","@tsparticles/updater-roll","@tsparticles/slim","@tsparticles/updater-tilt","@tsparticles/updater-twinkle","@tsparticles/updater-wobble"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-circle"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,((e,t,r,i,a,s,l,p,o,u,n)=>(()=>{"use strict";var
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-circle"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/shape-text"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-absorbers","@tsparticles/updater-destroy","@tsparticles/plugin-emitters","@tsparticles/plugin-emitters-shape-circle","@tsparticles/plugin-emitters-shape-square","@tsparticles/interaction-external-trail","@tsparticles/updater-roll","@tsparticles/slim","@tsparticles/shape-text","@tsparticles/updater-tilt","@tsparticles/updater-twinkle","@tsparticles/updater-wobble"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-circle"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/shape-text"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,((e,t,r,i,a,s,l,p,o,u,n,d)=>(()=>{"use strict";var c={889:e=>{e.exports=s},94:t=>{t.exports=e},68:e=>{e.exports=r},953:e=>{e.exports=i},787:e=>{e.exports=a},727:e=>{e.exports=o},830:e=>{e.exports=p},344:e=>{e.exports=t},734:e=>{e.exports=l},448:e=>{e.exports=u},4:e=>{e.exports=n},83:e=>{e.exports=d}},w={};function x(e){var t=w[e];if(void 0!==t)return t.exports;var r=w[e]={exports:{}};return c[e](r,r.exports,x),r.exports}x.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return x.d(t,{a:t}),t},x.d=(e,t)=>{for(var r in t)x.o(t,r)&&!x.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},x.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),x.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var b={};return(()=>{x.r(b),x.d(b,{loadFull:()=>c});var e=x(94),t=x(344),r=x(68),i=x(953),a=x(787),s=x(889),l=x(734),p=x(830),o=x(727),u=x(448),n=x(4),d=x(83);async function c(c,w=!0){await(0,t.loadDestroyUpdater)(c,!1),await(0,l.loadRollUpdater)(c,!1),await(0,u.loadTiltUpdater)(c,!1),await(0,n.loadTwinkleUpdater)(c,!1),await(0,d.loadWobbleUpdater)(c,!1),await(0,o.loadTextShape)(c,!1),await(0,s.loadExternalTrailInteraction)(c,!1),await(0,e.loadAbsorbersPlugin)(c,!1),await(0,r.loadEmittersPlugin)(c,!1),await(0,i.loadEmittersShapeCircle)(c,!1),await(0,a.loadEmittersShapeSquare)(c,!1),await(0,p.loadSlim)(c,w)}})(),b})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles v3.0.0
|
|
1
|
+
/*! tsParticles v3.0.0 by Matteo Bruni */
|
package/umd/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
if (v !== undefined) module.exports = v;
|
|
5
5
|
}
|
|
6
6
|
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports", "@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-circle", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
|
|
7
|
+
define(["require", "exports", "@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-circle", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/shape-text", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
|
|
8
8
|
}
|
|
9
9
|
})(function (require, exports) {
|
|
10
10
|
"use strict";
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
const interaction_external_trail_1 = require("@tsparticles/interaction-external-trail");
|
|
19
19
|
const updater_roll_1 = require("@tsparticles/updater-roll");
|
|
20
20
|
const slim_1 = require("@tsparticles/slim");
|
|
21
|
+
const shape_text_1 = require("@tsparticles/shape-text");
|
|
21
22
|
const updater_tilt_1 = require("@tsparticles/updater-tilt");
|
|
22
23
|
const updater_twinkle_1 = require("@tsparticles/updater-twinkle");
|
|
23
24
|
const updater_wobble_1 = require("@tsparticles/updater-wobble");
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
await (0, updater_tilt_1.loadTiltUpdater)(engine, false);
|
|
28
29
|
await (0, updater_twinkle_1.loadTwinkleUpdater)(engine, false);
|
|
29
30
|
await (0, updater_wobble_1.loadWobbleUpdater)(engine, false);
|
|
31
|
+
await (0, shape_text_1.loadTextShape)(engine, false);
|
|
30
32
|
await (0, interaction_external_trail_1.loadExternalTrailInteraction)(engine, false);
|
|
31
33
|
await (0, plugin_absorbers_1.loadAbsorbersPlugin)(engine, false);
|
|
32
34
|
await (0, plugin_emitters_1.loadEmittersPlugin)(engine, false);
|