@tsparticles/preset-fountain 3.0.1 → 3.1.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,40 +4,87 @@
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.1
7
+ * v3.1.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/updater-destroy"), require("@tsparticles/plugin-emitters"));
19
+ module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/engine"));
12
20
  else if(typeof define === 'function' && define.amd)
13
- define(["@tsparticles/basic", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters"], factory);
21
+ define(["@tsparticles/basic", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/engine"], factory);
14
22
  else {
15
- var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters")) : factory(root["window"], root["window"], root["window"]);
23
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/engine")) : factory(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__344__, __WEBPACK_EXTERNAL_MODULE__68__) => {
26
+ })(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_basic__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__, __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 */ loadFountainPreset: () => (/* binding */ loadFountainPreset)\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_updater_destroy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/updater-destroy */ \"@tsparticles/updater-destroy\");\n/* harmony import */ var _tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/plugin-emitters */ \"@tsparticles/plugin-emitters\");\n/* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _options_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./options.js */ \"./dist/browser/options.js\");\n\n\n\n\nasync function loadFountainPreset(engine, refresh = true) {\n await (0,_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__.loadBasic)(engine, false);\n await (0,_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine, false);\n await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine, false);\n await engine.addPreset(\"fountain\", _options_js__WEBPACK_IMPORTED_MODULE_3__.options, false);\n await engine.refresh(refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/preset-fountain/./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 fpsLimit: 120,\n particles: {\n bounce: {\n vertical: {\n value: {\n min: 0.75,\n max: 0.85\n }\n }\n },\n color: {\n value: [\"#3998D0\", \"#2EB6AF\", \"#A9BD33\", \"#FEC73B\", \"#F89930\", \"#F45623\", \"#D62E32\", \"#EB586E\", \"#9952CF\"]\n },\n number: {\n value: 0\n },\n destroy: {\n mode: \"split\",\n split: {\n count: 2,\n factor: {\n value: {\n min: 1.1,\n max: 2\n }\n },\n rate: {\n value: {\n min: 2,\n max: 3\n }\n }\n }\n },\n opacity: {\n value: 0.5\n },\n size: {\n value: {\n min: 10,\n max: 20\n }\n },\n move: {\n enable: true,\n gravity: {\n enable: true,\n maxSpeed: 50\n },\n speed: {\n min: 10,\n max: 20\n },\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.none,\n random: false,\n straight: false,\n outModes: {\n bottom: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.split,\n default: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.bounce,\n top: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OutMode.none\n },\n trail: {\n enable: true,\n fill: {\n color: \"#fff\"\n },\n length: 3\n }\n }\n },\n detectRetina: true,\n background: {\n color: \"#fff\"\n },\n emitters: {\n direction: _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.MoveDirection.top,\n life: {\n count: 0,\n duration: 0.15,\n delay: 3\n },\n rate: {\n delay: 0.1,\n quantity: 5\n },\n size: {\n width: 0,\n height: 0\n }\n }\n};\n\n//# sourceURL=webpack://@tsparticles/preset-fountain/./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
- /***/ 344:
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__344__;
77
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_emitters__;
78
+
79
+ /***/ }),
80
+
81
+ /***/ "@tsparticles/updater-destroy":
82
+ /*!************************************************************************************************************************************************************!*\
83
+ !*** external {"commonjs":"@tsparticles/updater-destroy","commonjs2":"@tsparticles/updater-destroy","amd":"@tsparticles/updater-destroy","root":"window"} ***!
84
+ \************************************************************************************************************************************************************/
85
+ /***/ ((module) => {
86
+
87
+ module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_destroy__;
41
88
 
42
89
  /***/ })
43
90
 
@@ -68,6 +115,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__344__;
68
115
  /******/ }
69
116
  /******/
70
117
  /************************************************************************/
118
+ /******/ /* webpack/runtime/compat get default export */
119
+ /******/ (() => {
120
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
121
+ /******/ __webpack_require__.n = (module) => {
122
+ /******/ var getter = module && module.__esModule ?
123
+ /******/ () => (module['default']) :
124
+ /******/ () => (module);
125
+ /******/ __webpack_require__.d(getter, { a: getter });
126
+ /******/ return getter;
127
+ /******/ };
128
+ /******/ })();
129
+ /******/
71
130
  /******/ /* webpack/runtime/define property getters */
72
131
  /******/ (() => {
73
132
  /******/ // define getter functions for harmony exports
@@ -97,129 +156,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__344__;
97
156
  /******/ })();
98
157
  /******/
99
158
  /************************************************************************/
100
- var __webpack_exports__ = {};
101
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
102
- (() => {
103
- // ESM COMPAT FLAG
104
- __webpack_require__.r(__webpack_exports__);
105
-
106
- // EXPORTS
107
- __webpack_require__.d(__webpack_exports__, {
108
- loadFountainPreset: () => (/* binding */ loadFountainPreset)
109
- });
110
-
111
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/basic","commonjs2":"@tsparticles/basic","amd":"@tsparticles/basic","root":"window"}
112
- var basic_root_window_ = __webpack_require__(574);
113
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/updater-destroy","commonjs2":"@tsparticles/updater-destroy","amd":"@tsparticles/updater-destroy","root":"window"}
114
- var updater_destroy_root_window_ = __webpack_require__(344);
115
- // EXTERNAL MODULE: external {"commonjs":"@tsparticles/plugin-emitters","commonjs2":"@tsparticles/plugin-emitters","amd":"@tsparticles/plugin-emitters","root":"window"}
116
- var plugin_emitters_root_window_ = __webpack_require__(68);
117
- ;// CONCATENATED MODULE: ./dist/browser/options.js
118
- const options = {
119
- fpsLimit: 120,
120
- particles: {
121
- bounce: {
122
- vertical: {
123
- value: {
124
- min: 0.75,
125
- max: 0.85
126
- }
127
- }
128
- },
129
- color: {
130
- value: ["#3998D0", "#2EB6AF", "#A9BD33", "#FEC73B", "#F89930", "#F45623", "#D62E32", "#EB586E", "#9952CF"]
131
- },
132
- number: {
133
- value: 0
134
- },
135
- destroy: {
136
- mode: "split",
137
- split: {
138
- count: 2,
139
- factor: {
140
- value: {
141
- min: 1.1,
142
- max: 2
143
- }
144
- },
145
- rate: {
146
- value: {
147
- min: 2,
148
- max: 3
149
- }
150
- }
151
- }
152
- },
153
- opacity: {
154
- value: 0.5
155
- },
156
- size: {
157
- value: {
158
- min: 10,
159
- max: 20
160
- }
161
- },
162
- move: {
163
- enable: true,
164
- gravity: {
165
- enable: true,
166
- maxSpeed: 50
167
- },
168
- speed: {
169
- min: 10,
170
- max: 20
171
- },
172
- direction: "none",
173
- random: false,
174
- straight: false,
175
- outModes: {
176
- bottom: "split",
177
- default: "bounce",
178
- top: "none"
179
- },
180
- trail: {
181
- enable: true,
182
- fill: {
183
- color: "#fff"
184
- },
185
- length: 3
186
- }
187
- }
188
- },
189
- detectRetina: true,
190
- background: {
191
- color: "#fff"
192
- },
193
- emitters: {
194
- direction: "top",
195
- life: {
196
- count: 0,
197
- duration: 0.15,
198
- delay: 3
199
- },
200
- rate: {
201
- delay: 0.1,
202
- quantity: 5
203
- },
204
- size: {
205
- width: 0,
206
- height: 0
207
- }
208
- }
209
- };
210
- ;// CONCATENATED MODULE: ./dist/browser/index.js
211
-
212
-
213
-
214
-
215
- async function loadFountainPreset(engine, refresh = true) {
216
- await (0,basic_root_window_.loadBasic)(engine, false);
217
- await (0,updater_destroy_root_window_.loadDestroyUpdater)(engine, false);
218
- await (0,plugin_emitters_root_window_.loadEmittersPlugin)(engine, false);
219
- await engine.addPreset("fountain", options, refresh);
220
- }
221
- })();
222
-
159
+ /******/
160
+ /******/ // startup
161
+ /******/ // Load entry module and return exports
162
+ /******/ // This entry module can't be inlined because the eval devtool is used.
163
+ /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
164
+ /******/
223
165
  /******/ return __webpack_exports__;
224
166
  /******/ })()
225
167
  ;
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.preset.fountain.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/updater-destroy","@tsparticles/plugin-emitters"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters")):t(e.window,e.window,e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,((e,t,r)=>(()=>{"use strict";var o={574:t=>{t.exports=e},68:e=>{e.exports=r},344:e=>{e.exports=t}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,a),r.exports}a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{a.r(s),a.d(s,{loadFountainPreset:()=>i});var e=a(574),t=a(344),r=a(68);const o={fpsLimit:120,particles:{bounce:{vertical:{value:{min:.75,max:.85}}},color:{value:["#3998D0","#2EB6AF","#A9BD33","#FEC73B","#F89930","#F45623","#D62E32","#EB586E","#9952CF"]},number:{value:0},destroy:{mode:"split",split:{count:2,factor:{value:{min:1.1,max:2}},rate:{value:{min:2,max:3}}}},opacity:{value:.5},size:{value:{min:10,max:20}},move:{enable:!0,gravity:{enable:!0,maxSpeed:50},speed:{min:10,max:20},direction:"none",random:!1,straight:!1,outModes:{bottom:"split",default:"bounce",top:"none"},trail:{enable:!0,fill:{color:"#fff"},length:3}}},detectRetina:!0,background:{color:"#fff"},emitters:{direction:"top",life:{count:0,duration:.15,delay:3},rate:{delay:.1,quantity:5},size:{width:0,height:0}}};async function i(i,a=!0){await(0,e.loadBasic)(i,!1),await(0,t.loadDestroyUpdater)(i,!1),await(0,r.loadEmittersPlugin)(i,!1),await i.addPreset("fountain",o,a)}})(),s})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/engine"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/updater-destroy","@tsparticles/plugin-emitters","@tsparticles/engine"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/engine")):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)=>(()=>{var o={145:t=>{t.exports=e},303:e=>{e.exports=i},526:e=>{e.exports=r},173:e=>{e.exports=t}},a={};function n(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{n.r(s),n.d(s,{loadFountainPreset:()=>a});var e=n(145),t=n(173),r=n(526),i=n(303);const o={fpsLimit:120,particles:{bounce:{vertical:{value:{min:.75,max:.85}}},color:{value:["#3998D0","#2EB6AF","#A9BD33","#FEC73B","#F89930","#F45623","#D62E32","#EB586E","#9952CF"]},number:{value:0},destroy:{mode:"split",split:{count:2,factor:{value:{min:1.1,max:2}},rate:{value:{min:2,max:3}}}},opacity:{value:.5},size:{value:{min:10,max:20}},move:{enable:!0,gravity:{enable:!0,maxSpeed:50},speed:{min:10,max:20},direction:i.MoveDirection.none,random:!1,straight:!1,outModes:{bottom:i.OutMode.split,default:i.OutMode.bounce,top:i.OutMode.none},trail:{enable:!0,fill:{color:"#fff"},length:3}}},detectRetina:!0,background:{color:"#fff"},emitters:{direction:i.MoveDirection.top,life:{count:0,duration:.15,delay:3},rate:{delay:.1,quantity:5},size:{width:0,height:0}}};async function a(i,a=!0){await(0,e.loadBasic)(i,!1),await(0,t.loadDestroyUpdater)(i,!1),await(0,r.loadEmittersPlugin)(i,!1),await i.addPreset("fountain",o,!1),await i.refresh(a)}})(),s})()));
@@ -1 +1 @@
1
- /*! tsParticles Fountain Preset v3.0.1 by Matteo Bruni */
1
+ /*! tsParticles Fountain Preset v3.1.0 by Matteo Bruni */
package/umd/bundle.js CHANGED
@@ -14,5 +14,4 @@
14
14
  Object.defineProperty(exports, "loadFountainPreset", { enumerable: true, get: function () { return index_js_1.loadFountainPreset; } });
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.loadFountainPreset)(engine_1.tsParticles);
18
17
  });
package/umd/index.js CHANGED
@@ -18,7 +18,8 @@
18
18
  await (0, basic_1.loadBasic)(engine, false);
19
19
  await (0, updater_destroy_1.loadDestroyUpdater)(engine, false);
20
20
  await (0, plugin_emitters_1.loadEmittersPlugin)(engine, false);
21
- await engine.addPreset("fountain", options_js_1.options, refresh);
21
+ await engine.addPreset("fountain", options_js_1.options, false);
22
+ await engine.refresh(refresh);
22
23
  }
23
24
  exports.loadFountainPreset = loadFountainPreset;
24
25
  });
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
  fpsLimit: 120,
15
16
  particles: {
@@ -64,13 +65,13 @@
64
65
  min: 10,
65
66
  max: 20,
66
67
  },
67
- direction: "none",
68
+ direction: engine_1.MoveDirection.none,
68
69
  random: false,
69
70
  straight: false,
70
71
  outModes: {
71
- bottom: "split",
72
- default: "bounce",
73
- top: "none",
72
+ bottom: engine_1.OutMode.split,
73
+ default: engine_1.OutMode.bounce,
74
+ top: engine_1.OutMode.none,
74
75
  },
75
76
  trail: {
76
77
  enable: true,
@@ -86,7 +87,7 @@
86
87
  color: "#fff",
87
88
  },
88
89
  emitters: {
89
- direction: "top",
90
+ direction: engine_1.MoveDirection.top,
90
91
  life: {
91
92
  count: 0,
92
93
  duration: 0.15,