@tsparticles/preset-hyperspace 3.0.2 → 3.2.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.
@@ -4,47 +4,97 @@
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.2
7
+ * v3.2.0
8
+ */
9
+ /*
10
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11
+ * This devtool is neither made for production nor for readable output files.
12
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
13
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14
+ * or disable the default devtool with "devtool: false".
15
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
16
  */
9
17
  (function webpackUniversalModuleDefinition(root, factory) {
10
18
  if(typeof exports === 'object' && typeof module === 'object')
11
- module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/updater-life"));
19
+ module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/updater-life"), require("@tsparticles/engine"));
12
20
  else if(typeof define === 'function' && define.amd)
13
- define(["@tsparticles/basic", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/updater-life"], factory);
21
+ define(["@tsparticles/basic", "@tsparticles/plugin-emitters", "@tsparticles/plugin-emitters-shape-square", "@tsparticles/updater-life", "@tsparticles/engine"], factory);
14
22
  else {
15
- var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/updater-life")) : factory(root["window"], root["window"], root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/plugin-emitters"), require("@tsparticles/plugin-emitters-shape-square"), require("@tsparticles/updater-life"), require("@tsparticles/engine")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"]);
16
24
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
17
25
  }
18
- })(this, (__WEBPACK_EXTERNAL_MODULE__574__, __WEBPACK_EXTERNAL_MODULE__68__, __WEBPACK_EXTERNAL_MODULE__787__, __WEBPACK_EXTERNAL_MODULE__84__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__, __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__) => {
19
27
  return /******/ (() => { // webpackBootstrap
20
28
  /******/ "use strict";
21
29
  /******/ var __webpack_modules__ = ({
22
30
 
23
- /***/ 574:
31
+ /***/ "./dist/browser/index.js":
32
+ /*!*******************************!*\
33
+ !*** ./dist/browser/index.js ***!
34
+ \*******************************/
35
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
36
+
37
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadHyperspacePreset: () => (/* binding */ loadHyperspacePreset)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/basic */ \"@tsparticles/basic\");\n/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\");\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/plugin-emitters-shape-square */ \"@tsparticles/plugin-emitters-shape-square\");\n/* harmony import */ var _tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tsparticles/updater-life */ \"@tsparticles/updater-life\");\n/* harmony import */ var _tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _options_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./options.js */ \"./dist/browser/options.js\");\n\n\n\n\n\nasync function loadHyperspacePreset(engine, refresh = true) {\n await (0,_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__.loadBasic)(engine, false);\n await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_1__.loadEmittersPlugin)(engine, false);\n await (0,_tsparticles_plugin_emitters_shape_square__WEBPACK_IMPORTED_MODULE_2__.loadEmittersShapeSquare)(engine, false);\n await (0,_tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_3__.loadLifeUpdater)(engine, false);\n await engine.addPreset(\"hyperspace\", _options_js__WEBPACK_IMPORTED_MODULE_4__.options, false);\n await engine.refresh(refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/./dist/browser/index.js?");
38
+
39
+ /***/ }),
40
+
41
+ /***/ "./dist/browser/options.js":
42
+ /*!*********************************!*\
43
+ !*** ./dist/browser/options.js ***!
44
+ \*********************************/
45
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
46
+
47
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"@tsparticles/engine\");\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__);\n\nconst options = {\n background: {\n color: \"#000000\"\n },\n particles: {\n number: {\n value: 100\n },\n color: {\n value: \"#ffffff\"\n },\n life: {\n count: 1,\n duration: {\n value: 5\n }\n },\n shape: {\n type: \"circle\"\n },\n opacity: {\n value: 1\n },\n size: {\n value: 3\n },\n move: {\n enable: true,\n speed: 10,\n decay: 0.005,\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.outside,\n straight: true,\n outModes: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.destroy,\n trail: {\n enable: true,\n length: 15,\n fill: {\n color: \"#000000\"\n }\n }\n }\n },\n emitters: {\n position: {\n x: 50,\n y: 50\n },\n size: {\n width: 100,\n height: 100\n },\n rate: {\n quantity: 10,\n delay: 0.1\n }\n }\n};\n\n//# sourceURL=webpack://@tsparticles/preset-hyperspace/./dist/browser/options.js?");
48
+
49
+ /***/ }),
50
+
51
+ /***/ "@tsparticles/basic":
52
+ /*!******************************************************************************************************************************!*\
53
+ !*** external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"} ***!
54
+ \******************************************************************************************************************************/
24
55
  /***/ ((module) => {
25
56
 
26
- module.exports = __WEBPACK_EXTERNAL_MODULE__574__;
57
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_basic__;
27
58
 
28
59
  /***/ }),
29
60
 
30
- /***/ 68:
61
+ /***/ "@tsparticles/engine":
62
+ /*!*********************************************************************************************************************************!*\
63
+ !*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
64
+ \*********************************************************************************************************************************/
31
65
  /***/ ((module) => {
32
66
 
33
- module.exports = __WEBPACK_EXTERNAL_MODULE__68__;
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
34
68
 
35
69
  /***/ }),
36
70
 
37
- /***/ 787:
71
+ /***/ "@tsparticles/plugin-emitters":
72
+ /*!************************************************************************************************************************************************************!*\
73
+ !*** external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"} ***!
74
+ \************************************************************************************************************************************************************/
38
75
  /***/ ((module) => {
39
76
 
40
- module.exports = __WEBPACK_EXTERNAL_MODULE__787__;
77
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__;
41
78
 
42
79
  /***/ }),
43
80
 
44
- /***/ 84:
81
+ /***/ "@tsparticles/plugin-emitters-shape-square":
82
+ /*!***************************************************************************************************************************************************************************************************!*\
83
+ !*** external {"commonjs":"@tsparticles/plugin-emitters-shape-square","commonjs2":"@tsparticles/plugin-emitters-shape-square","amd":"@tsparticles/plugin-emitters-shape-square","root":"window"} ***!
84
+ \***************************************************************************************************************************************************************************************************/
45
85
  /***/ ((module) => {
46
86
 
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__84__;
87
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters_shape_square__;
88
+
89
+ /***/ }),
90
+
91
+ /***/ "@tsparticles/updater-life":
92
+ /*!***************************************************************************************************************************************************!*\
93
+ !*** external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"} ***!
94
+ \***************************************************************************************************************************************************/
95
+ /***/ ((module) => {
96
+
97
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_life__;
48
98
 
49
99
  /***/ })
50
100
 
@@ -75,6 +125,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__84__;
75
125
  /******/ }
76
126
  /******/
77
127
  /************************************************************************/
128
+ /******/ /* webpack/runtime/compat get default export */
129
+ /******/ (() => {
130
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
131
+ /******/ __webpack_require__.n = (module) => {
132
+ /******/ var getter = module && module.__esModule ?
133
+ /******/ () => (module['default']) :
134
+ /******/ () => (module);
135
+ /******/ __webpack_require__.d(getter, { a: getter });
136
+ /******/ return getter;
137
+ /******/ };
138
+ /******/ })();
139
+ /******/
78
140
  /******/ /* webpack/runtime/define property getters */
79
141
  /******/ (() => {
80
142
  /******/ // define getter functions for harmony exports
@@ -104,98 +166,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__84__;
104
166
  /******/ })();
105
167
  /******/
106
168
  /************************************************************************/
107
- var __webpack_exports__ = {};
108
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
109
- (() => {
110
- // ESM COMPAT FLAG
111
- __webpack_require__.r(__webpack_exports__);
112
-
113
- // EXPORTS
114
- __webpack_require__.d(__webpack_exports__, {
115
- loadHyperspacePreset: () => (/* binding */ loadHyperspacePreset)
116
- });
117
-
118
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"}
119
- var basic_root_window_ = __webpack_require__(574);
120
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"}
121
- var plugin_emitters_root_window_ = __webpack_require__(68);
122
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-emitters-shape-square","commonjs2":"@tsparticles/plugin-emitters-shape-square","amd":"@tsparticles/plugin-emitters-shape-square","root":"window"}
123
- var plugin_emitters_shape_square_root_window_ = __webpack_require__(787);
124
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/updater-life","commonjs2":"@tsparticles/updater-life","amd":"@tsparticles/updater-life","root":"window"}
125
- var updater_life_root_window_ = __webpack_require__(84);
126
- ;// CONCATENATED MODULE: ./dist/browser/options.js
127
- const options = {
128
- background: {
129
- color: "#000000"
130
- },
131
- particles: {
132
- number: {
133
- value: 100
134
- },
135
- color: {
136
- value: "#ffffff"
137
- },
138
- life: {
139
- count: 1,
140
- duration: {
141
- value: 5
142
- }
143
- },
144
- shape: {
145
- type: "circle"
146
- },
147
- opacity: {
148
- value: 1
149
- },
150
- size: {
151
- value: 3
152
- },
153
- move: {
154
- enable: true,
155
- speed: 10,
156
- decay: 0.005,
157
- direction: "outside",
158
- straight: true,
159
- outModes: "destroy",
160
- trail: {
161
- enable: true,
162
- length: 15,
163
- fill: {
164
- color: "#000000"
165
- }
166
- }
167
- }
168
- },
169
- emitters: {
170
- position: {
171
- x: 50,
172
- y: 50
173
- },
174
- size: {
175
- width: 100,
176
- height: 100
177
- },
178
- rate: {
179
- quantity: 10,
180
- delay: 0.1
181
- }
182
- }
183
- };
184
- ;// CONCATENATED MODULE: ./dist/browser/index.js
185
-
186
-
187
-
188
-
189
-
190
- async function loadHyperspacePreset(engine, refresh = true) {
191
- await (0,basic_root_window_.loadBasic)(engine, false);
192
- await (0,plugin_emitters_shape_square_root_window_.loadEmittersShapeSquare)(engine, false);
193
- await (0,plugin_emitters_root_window_.loadEmittersPlugin)(engine, false);
194
- await (0,updater_life_root_window_.loadLifeUpdater)(engine, false);
195
- await engine.addPreset("hyperspace", options, refresh);
196
- }
197
- })();
198
-
169
+ /******/
170
+ /******/ // startup
171
+ /******/ // Load entry module and return exports
172
+ /******/ // This entry module can't be inlined because the eval devtool is used.
173
+ /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
174
+ /******/
199
175
  /******/ return __webpack_exports__;
200
176
  /******/ })()
201
177
  ;
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.preset.hyperspace.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/updater-life"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/plugin-emitters","@tsparticles/plugin-emitters-shape-square","@tsparticles/updater-life"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/updater-life")):t(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)=>(()=>{"use strict";var a={574:t=>{t.exports=e},68:e=>{e.exports=t},787:e=>{e.exports=r},84:e=>{e.exports=i}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return a[e](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{o.r(p),o.d(p,{loadHyperspacePreset:()=>s});var e=o(574),t=o(68),r=o(787),i=o(84);const a={background:{color:"#000000"},particles:{number:{value:100},color:{value:"#ffffff"},life:{count:1,duration:{value:5}},shape:{type:"circle"},opacity:{value:1},size:{value:3},move:{enable:!0,speed:10,decay:.005,direction:"outside",straight:!0,outModes:"destroy",trail:{enable:!0,length:15,fill:{color:"#000000"}}}},emitters:{position:{x:50,y:50},size:{width:100,height:100},rate:{quantity:10,delay:.1}}};async function s(s,o=!0){await(0,e.loadBasic)(s,!1),await(0,r.loadEmittersShapeSquare)(s,!1),await(0,t.loadEmittersPlugin)(s,!1),await(0,i.loadLifeUpdater)(s,!1),await s.addPreset("hyperspace",a,o)}})(),p})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/updater-life"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/plugin-emitters","@tsparticles/plugin-emitters-shape-square","@tsparticles/updater-life","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/updater-life"),require("@tsparticles/engine")):t(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)=>(()=>{var s={145:t=>{t.exports=e},303:e=>{e.exports=a},526:e=>{e.exports=t},140:e=>{e.exports=r},75:e=>{e.exports=i}},o={};function p(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return s[e](r,r.exports,p),r.exports}p.d=(e,t)=>{for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{p.r(l),p.d(l,{loadHyperspacePreset:()=>o});var e=p(145),t=p(526),r=p(140),i=p(75),a=p(303);const s={background:{color:"#000000"},particles:{number:{value:100},color:{value:"#ffffff"},life:{count:1,duration:{value:5}},shape:{type:"circle"},opacity:{value:1},size:{value:3},move:{enable:!0,speed:10,decay:.005,direction:a.MoveDirection.outside,straight:!0,outModes:a.OutMode.destroy,trail:{enable:!0,length:15,fill:{color:"#000000"}}}},emitters:{position:{x:50,y:50},size:{width:100,height:100},rate:{quantity:10,delay:.1}}};async function o(a,o=!0){await(0,e.loadBasic)(a,!1),await(0,t.loadEmittersPlugin)(a,!1),await(0,r.loadEmittersShapeSquare)(a,!1),await(0,i.loadLifeUpdater)(a,!1),await a.addPreset("hyperspace",s,!1),await a.refresh(o)}})(),l})()));
@@ -1 +1 @@
1
- /*! tsParticles Hyperspace Preset v3.0.2 by Matteo Bruni */
1
+ /*! tsParticles Hyperspace Preset v3.2.0 by Matteo Bruni */
package/umd/bundle.js CHANGED
@@ -14,5 +14,4 @@
14
14
  Object.defineProperty(exports, "loadHyperspacePreset", { enumerable: true, get: function () { return index_js_1.loadHyperspacePreset; } });
15
15
  const engine_1 = require("@tsparticles/engine");
16
16
  Object.defineProperty(exports, "tsParticles", { enumerable: true, get: function () { return engine_1.tsParticles; } });
17
- void (0, index_js_1.loadHyperspacePreset)(engine_1.tsParticles);
18
17
  });
package/umd/index.js CHANGED
@@ -17,10 +17,11 @@
17
17
  const options_js_1 = require("./options.js");
18
18
  async function loadHyperspacePreset(engine, refresh = true) {
19
19
  await (0, basic_1.loadBasic)(engine, false);
20
- await (0, plugin_emitters_shape_square_1.loadEmittersShapeSquare)(engine, false);
21
20
  await (0, plugin_emitters_1.loadEmittersPlugin)(engine, false);
21
+ await (0, plugin_emitters_shape_square_1.loadEmittersShapeSquare)(engine, false);
22
22
  await (0, updater_life_1.loadLifeUpdater)(engine, false);
23
- await engine.addPreset("hyperspace", options_js_1.options, refresh);
23
+ await engine.addPreset("hyperspace", options_js_1.options, false);
24
+ await engine.refresh(refresh);
24
25
  }
25
26
  exports.loadHyperspacePreset = loadHyperspacePreset;
26
27
  });
package/umd/options.js CHANGED
@@ -4,12 +4,13 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "@tsparticles/engine"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.options = void 0;
13
+ const engine_1 = require("@tsparticles/engine");
13
14
  exports.options = {
14
15
  background: {
15
16
  color: "#000000",
@@ -40,9 +41,9 @@
40
41
  enable: true,
41
42
  speed: 10,
42
43
  decay: 0.005,
43
- direction: "outside",
44
+ direction: engine_1.MoveDirection.outside,
44
45
  straight: true,
45
- outModes: "destroy",
46
+ outModes: engine_1.OutMode.destroy,
46
47
  trail: {
47
48
  enable: true,
48
49
  length: 15,