tsparticles 3.9.1 → 4.0.0-alpha.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.
Files changed (315) hide show
  1. package/1392.min.js +2 -0
  2. package/1392.min.js.LICENSE.txt +1 -0
  3. package/1406.min.js +2 -0
  4. package/1406.min.js.LICENSE.txt +1 -0
  5. package/1761.min.js +2 -0
  6. package/1761.min.js.LICENSE.txt +1 -0
  7. package/1878.min.js +2 -0
  8. package/1878.min.js.LICENSE.txt +1 -0
  9. package/198.min.js +2 -0
  10. package/198.min.js.LICENSE.txt +1 -0
  11. package/2058.min.js +2 -0
  12. package/2058.min.js.LICENSE.txt +1 -0
  13. package/2124.min.js +2 -0
  14. package/2124.min.js.LICENSE.txt +1 -0
  15. package/2142.min.js +2 -0
  16. package/2142.min.js.LICENSE.txt +1 -0
  17. package/2243.min.js +2 -0
  18. package/2243.min.js.LICENSE.txt +1 -0
  19. package/2422.min.js +2 -0
  20. package/2422.min.js.LICENSE.txt +1 -0
  21. package/2636.min.js +2 -0
  22. package/2636.min.js.LICENSE.txt +1 -0
  23. package/2739.min.js +2 -0
  24. package/2739.min.js.LICENSE.txt +1 -0
  25. package/2885.min.js +2 -0
  26. package/2885.min.js.LICENSE.txt +1 -0
  27. package/29.min.js +2 -0
  28. package/29.min.js.LICENSE.txt +1 -0
  29. package/2953.min.js +2 -0
  30. package/2953.min.js.LICENSE.txt +1 -0
  31. package/303.min.js +2 -0
  32. package/303.min.js.LICENSE.txt +1 -0
  33. package/3101.min.js +2 -0
  34. package/3101.min.js.LICENSE.txt +1 -0
  35. package/3206.min.js +2 -0
  36. package/3206.min.js.LICENSE.txt +1 -0
  37. package/3241.min.js +2 -0
  38. package/3241.min.js.LICENSE.txt +1 -0
  39. package/3309.min.js +2 -0
  40. package/3309.min.js.LICENSE.txt +1 -0
  41. package/3435.min.js +2 -0
  42. package/3435.min.js.LICENSE.txt +1 -0
  43. package/3493.min.js +2 -0
  44. package/3493.min.js.LICENSE.txt +1 -0
  45. package/350.min.js +2 -0
  46. package/350.min.js.LICENSE.txt +1 -0
  47. package/3522.min.js +2 -0
  48. package/3522.min.js.LICENSE.txt +1 -0
  49. package/3561.min.js +2 -0
  50. package/3561.min.js.LICENSE.txt +1 -0
  51. package/3636.min.js +2 -0
  52. package/3636.min.js.LICENSE.txt +1 -0
  53. package/3710.min.js +2 -0
  54. package/3710.min.js.LICENSE.txt +1 -0
  55. package/3753.min.js +2 -0
  56. package/3753.min.js.LICENSE.txt +1 -0
  57. package/3853.min.js +2 -0
  58. package/3853.min.js.LICENSE.txt +1 -0
  59. package/3872.min.js +2 -0
  60. package/3872.min.js.LICENSE.txt +1 -0
  61. package/3897.min.js +2 -0
  62. package/3897.min.js.LICENSE.txt +1 -0
  63. package/3922.min.js +2 -0
  64. package/3922.min.js.LICENSE.txt +1 -0
  65. package/404.min.js +2 -0
  66. package/404.min.js.LICENSE.txt +1 -0
  67. package/4204.min.js +2 -0
  68. package/4204.min.js.LICENSE.txt +1 -0
  69. package/4231.min.js +2 -0
  70. package/4231.min.js.LICENSE.txt +1 -0
  71. package/4242.min.js +2 -0
  72. package/4242.min.js.LICENSE.txt +1 -0
  73. package/4339.min.js +2 -0
  74. package/4339.min.js.LICENSE.txt +1 -0
  75. package/4398.min.js +2 -0
  76. package/4398.min.js.LICENSE.txt +1 -0
  77. package/4493.min.js +2 -0
  78. package/4493.min.js.LICENSE.txt +1 -0
  79. package/4510.min.js +2 -0
  80. package/4510.min.js.LICENSE.txt +1 -0
  81. package/4565.min.js +2 -0
  82. package/4565.min.js.LICENSE.txt +1 -0
  83. package/4606.min.js +2 -0
  84. package/4606.min.js.LICENSE.txt +1 -0
  85. package/4620.min.js +2 -0
  86. package/4620.min.js.LICENSE.txt +1 -0
  87. package/4743.min.js +2 -0
  88. package/4743.min.js.LICENSE.txt +1 -0
  89. package/491.min.js +2 -0
  90. package/491.min.js.LICENSE.txt +1 -0
  91. package/508.min.js +2 -0
  92. package/508.min.js.LICENSE.txt +1 -0
  93. package/5082.min.js +2 -0
  94. package/5082.min.js.LICENSE.txt +1 -0
  95. package/5243.min.js +2 -0
  96. package/5243.min.js.LICENSE.txt +1 -0
  97. package/5322.min.js +2 -0
  98. package/5322.min.js.LICENSE.txt +1 -0
  99. package/5433.min.js +2 -0
  100. package/5433.min.js.LICENSE.txt +1 -0
  101. package/5504.min.js +2 -0
  102. package/5504.min.js.LICENSE.txt +1 -0
  103. package/5563.min.js +2 -0
  104. package/5563.min.js.LICENSE.txt +1 -0
  105. package/5635.min.js +2 -0
  106. package/5635.min.js.LICENSE.txt +1 -0
  107. package/5689.min.js +2 -0
  108. package/5689.min.js.LICENSE.txt +1 -0
  109. package/5693.min.js +2 -0
  110. package/5693.min.js.LICENSE.txt +1 -0
  111. package/5728.min.js +2 -0
  112. package/5728.min.js.LICENSE.txt +1 -0
  113. package/5749.min.js +2 -0
  114. package/5749.min.js.LICENSE.txt +1 -0
  115. package/5770.min.js +2 -0
  116. package/5770.min.js.LICENSE.txt +1 -0
  117. package/582.min.js +2 -0
  118. package/582.min.js.LICENSE.txt +1 -0
  119. package/5885.min.js +2 -0
  120. package/5885.min.js.LICENSE.txt +1 -0
  121. package/590.min.js +2 -0
  122. package/590.min.js.LICENSE.txt +1 -0
  123. package/5917.min.js +2 -0
  124. package/5917.min.js.LICENSE.txt +1 -0
  125. package/6024.min.js +2 -0
  126. package/6024.min.js.LICENSE.txt +1 -0
  127. package/6137.min.js +2 -0
  128. package/6137.min.js.LICENSE.txt +1 -0
  129. package/617.min.js +2 -0
  130. package/617.min.js.LICENSE.txt +1 -0
  131. package/6416.min.js +2 -0
  132. package/6416.min.js.LICENSE.txt +1 -0
  133. package/6560.min.js +2 -0
  134. package/6560.min.js.LICENSE.txt +1 -0
  135. package/6674.min.js +2 -0
  136. package/6674.min.js.LICENSE.txt +1 -0
  137. package/6866.min.js +2 -0
  138. package/6866.min.js.LICENSE.txt +1 -0
  139. package/704.min.js +2 -0
  140. package/704.min.js.LICENSE.txt +1 -0
  141. package/731.min.js +2 -0
  142. package/731.min.js.LICENSE.txt +1 -0
  143. package/7321.min.js +2 -0
  144. package/7321.min.js.LICENSE.txt +1 -0
  145. package/7489.min.js +2 -0
  146. package/7489.min.js.LICENSE.txt +1 -0
  147. package/7571.min.js +2 -0
  148. package/7571.min.js.LICENSE.txt +1 -0
  149. package/7753.min.js +2 -0
  150. package/7753.min.js.LICENSE.txt +1 -0
  151. package/8127.min.js +2 -0
  152. package/8127.min.js.LICENSE.txt +1 -0
  153. package/8182.min.js +2 -0
  154. package/8182.min.js.LICENSE.txt +1 -0
  155. package/8191.min.js +2 -0
  156. package/8191.min.js.LICENSE.txt +1 -0
  157. package/8230.min.js +2 -0
  158. package/8230.min.js.LICENSE.txt +1 -0
  159. package/8245.min.js +2 -0
  160. package/8245.min.js.LICENSE.txt +1 -0
  161. package/8365.min.js +2 -0
  162. package/8365.min.js.LICENSE.txt +1 -0
  163. package/8420.min.js +2 -0
  164. package/8420.min.js.LICENSE.txt +1 -0
  165. package/8440.min.js +2 -0
  166. package/8440.min.js.LICENSE.txt +1 -0
  167. package/8470.min.js +2 -0
  168. package/8470.min.js.LICENSE.txt +1 -0
  169. package/8484.min.js +2 -0
  170. package/8484.min.js.LICENSE.txt +1 -0
  171. package/869.min.js +2 -0
  172. package/869.min.js.LICENSE.txt +1 -0
  173. package/8770.min.js +2 -0
  174. package/8770.min.js.LICENSE.txt +1 -0
  175. package/8848.min.js +2 -0
  176. package/8848.min.js.LICENSE.txt +1 -0
  177. package/8930.min.js +2 -0
  178. package/8930.min.js.LICENSE.txt +1 -0
  179. package/9149.min.js +2 -0
  180. package/9149.min.js.LICENSE.txt +1 -0
  181. package/917.min.js +2 -0
  182. package/917.min.js.LICENSE.txt +1 -0
  183. package/9287.min.js +2 -0
  184. package/9287.min.js.LICENSE.txt +1 -0
  185. package/9754.min.js +2 -0
  186. package/9754.min.js.LICENSE.txt +1 -0
  187. package/9825.min.js +2 -0
  188. package/9825.min.js.LICENSE.txt +1 -0
  189. package/9907.min.js +2 -0
  190. package/9907.min.js.LICENSE.txt +1 -0
  191. package/9915.min.js +2 -0
  192. package/9915.min.js.LICENSE.txt +1 -0
  193. package/9944.min.js +2 -0
  194. package/9944.min.js.LICENSE.txt +1 -0
  195. package/9950.min.js +2 -0
  196. package/9950.min.js.LICENSE.txt +1 -0
  197. package/9965.min.js +2 -0
  198. package/9965.min.js.LICENSE.txt +1 -0
  199. package/basic_dist_browser_index_js.js +30 -0
  200. package/browser/bundle.js +1 -1
  201. package/browser/index.js +17 -26
  202. package/cjs/bundle.js +3 -20
  203. package/cjs/index.js +17 -29
  204. package/engine_dist_browser_Core_Container_js.js +100 -0
  205. package/esm/bundle.js +1 -1
  206. package/esm/index.js +17 -26
  207. package/interactions_external_attract_dist_browser_Attractor_js.js +40 -0
  208. package/interactions_external_attract_dist_browser_index_js.js +40 -0
  209. package/interactions_external_bounce_dist_browser_Bouncer_js.js +40 -0
  210. package/interactions_external_bounce_dist_browser_index_js.js +40 -0
  211. package/interactions_external_bubble_dist_browser_Bubbler_js.js +50 -0
  212. package/interactions_external_bubble_dist_browser_index_js.js +60 -0
  213. package/interactions_external_connect_dist_browser_Connector_js.js +40 -0
  214. package/interactions_external_connect_dist_browser_index_js.js +50 -0
  215. package/interactions_external_grab_dist_browser_Grabber_js.js +40 -0
  216. package/interactions_external_grab_dist_browser_index_js.js +50 -0
  217. package/interactions_external_pause_dist_browser_Pauser_js.js +30 -0
  218. package/interactions_external_pause_dist_browser_index_js.js +30 -0
  219. package/interactions_external_push_dist_browser_Pusher_js.js +30 -0
  220. package/interactions_external_push_dist_browser_index_js.js +40 -0
  221. package/interactions_external_remove_dist_browser_Remover_js.js +30 -0
  222. package/interactions_external_remove_dist_browser_index_js.js +40 -0
  223. package/interactions_external_repulse_dist_browser_Repulser_js.js +30 -0
  224. package/interactions_external_repulse_dist_browser_index_js.js +60 -0
  225. package/interactions_external_slow_dist_browser_Slower_js.js +30 -0
  226. package/interactions_external_slow_dist_browser_index_js.js +40 -0
  227. package/interactions_external_trail_dist_browser_TrailMaker_js.js +30 -0
  228. package/interactions_external_trail_dist_browser_index_js.js +40 -0
  229. package/interactions_particles_attract_dist_browser_Attractor_js.js +30 -0
  230. package/interactions_particles_attract_dist_browser_index_js.js +30 -0
  231. package/interactions_particles_collisions_dist_browser_Collider_js.js +110 -0
  232. package/interactions_particles_collisions_dist_browser_OverlapPlugin_js.js +40 -0
  233. package/interactions_particles_collisions_dist_browser_index_js.js +30 -0
  234. package/interactions_particles_links_dist_browser_Linker_js.js +40 -0
  235. package/interactions_particles_links_dist_browser_LinksPlugin_js.js +50 -0
  236. package/interactions_particles_links_dist_browser_index_js.js +60 -0
  237. package/interactions_particles_links_dist_browser_interaction_js.js +30 -0
  238. package/interactions_particles_links_dist_browser_plugin_js.js +30 -0
  239. package/move_base_dist_browser_BaseMover_js.js +40 -0
  240. package/move_base_dist_browser_index_js.js +30 -0
  241. package/move_parallax_dist_browser_ParallaxMover_js.js +30 -0
  242. package/move_parallax_dist_browser_index_js.js +30 -0
  243. package/package.json +16 -15
  244. package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +80 -0
  245. package/plugins_absorbers_dist_browser_index_js.js +40 -0
  246. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +30 -0
  247. package/plugins_colors_hex_dist_browser_index_js.js +30 -0
  248. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +30 -0
  249. package/plugins_colors_hsl_dist_browser_index_js.js +30 -0
  250. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +30 -0
  251. package/plugins_colors_rgb_dist_browser_index_js.js +30 -0
  252. package/plugins_easings_quad_dist_browser_index_js.js +30 -0
  253. package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +70 -0
  254. package/plugins_emittersShapes_circle_dist_browser_index_js.js +30 -0
  255. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +70 -0
  256. package/plugins_emittersShapes_square_dist_browser_index_js.js +30 -0
  257. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +110 -0
  258. package/plugins_emitters_dist_browser_ShapeManager_js.js +30 -0
  259. package/plugins_emitters_dist_browser_index_js.js +50 -0
  260. package/report.html +5 -4
  261. package/shapes_circle_dist_browser_CircleDrawer_js.js +40 -0
  262. package/shapes_circle_dist_browser_index_js.js +30 -0
  263. package/shapes_emoji_dist_browser_EmojiDrawer_js.js +40 -0
  264. package/shapes_emoji_dist_browser_index_js.js +30 -0
  265. package/shapes_image_dist_browser_GifUtils_Utils_js.js +80 -0
  266. package/shapes_image_dist_browser_ImageDrawer_js.js +30 -0
  267. package/shapes_image_dist_browser_ImagePreloader_js.js +40 -0
  268. package/shapes_image_dist_browser_Utils_js.js +30 -0
  269. package/shapes_image_dist_browser_index_js.js +30 -0
  270. package/shapes_line_dist_browser_LineDrawer_js.js +40 -0
  271. package/shapes_line_dist_browser_index_js.js +30 -0
  272. package/shapes_polygon_dist_browser_PolygonDrawer_js.js +50 -0
  273. package/shapes_polygon_dist_browser_TriangleDrawer_js.js +50 -0
  274. package/shapes_polygon_dist_browser_index_js.js +30 -0
  275. package/shapes_square_dist_browser_SquareDrawer_js.js +40 -0
  276. package/shapes_square_dist_browser_index_js.js +30 -0
  277. package/shapes_star_dist_browser_StarDrawer_js.js +40 -0
  278. package/shapes_star_dist_browser_index_js.js +30 -0
  279. package/shapes_text_dist_browser_TextDrawer_js.js +40 -0
  280. package/shapes_text_dist_browser_index_js.js +30 -0
  281. package/slim_dist_browser_index_js.js +30 -0
  282. package/tsparticles.bundle.js +543 -3662
  283. package/tsparticles.bundle.min.js +1 -1
  284. package/tsparticles.bundle.min.js.LICENSE.txt +1 -1
  285. package/tsparticles.js +77 -53
  286. package/tsparticles.min.js +1 -1
  287. package/tsparticles.min.js.LICENSE.txt +1 -1
  288. package/types/bundle.d.ts +1 -1
  289. package/types/index.d.ts +1 -1
  290. package/umd/bundle.js +3 -3
  291. package/umd/index.js +52 -27
  292. package/updaters_color_dist_browser_ColorUpdater_js.js +30 -0
  293. package/updaters_color_dist_browser_index_js.js +30 -0
  294. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +100 -0
  295. package/updaters_destroy_dist_browser_index_js.js +30 -0
  296. package/updaters_life_dist_browser_LifeUpdater_js.js +70 -0
  297. package/updaters_life_dist_browser_index_js.js +30 -0
  298. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +30 -0
  299. package/updaters_opacity_dist_browser_index_js.js +30 -0
  300. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +80 -0
  301. package/updaters_outModes_dist_browser_index_js.js +30 -0
  302. package/updaters_roll_dist_browser_RollUpdater_js.js +70 -0
  303. package/updaters_roll_dist_browser_index_js.js +30 -0
  304. package/updaters_rotate_dist_browser_RotateUpdater_js.js +50 -0
  305. package/updaters_rotate_dist_browser_index_js.js +30 -0
  306. package/updaters_size_dist_browser_SizeUpdater_js.js +30 -0
  307. package/updaters_size_dist_browser_index_js.js +30 -0
  308. package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +30 -0
  309. package/updaters_strokeColor_dist_browser_index_js.js +30 -0
  310. package/updaters_tilt_dist_browser_TiltUpdater_js.js +60 -0
  311. package/updaters_tilt_dist_browser_index_js.js +30 -0
  312. package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +50 -0
  313. package/updaters_twinkle_dist_browser_index_js.js +30 -0
  314. package/updaters_wobble_dist_browser_WobbleUpdater_js.js +60 -0
  315. package/updaters_wobble_dist_browser_index_js.js +30 -0
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_polygon_dist_browser_TriangleDrawer_js"],{
19
+
20
+ /***/ "../../shapes/polygon/dist/browser/PolygonDrawerBase.js"
21
+ /*!**************************************************************!*\
22
+ !*** ../../shapes/polygon/dist/browser/PolygonDrawerBase.js ***!
23
+ \**************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PolygonDrawerBase: () => (/* binding */ PolygonDrawerBase)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/polygon/dist/browser/Utils.js\");\n\n\nconst defaultSides = 5;\nclass PolygonDrawerBase {\n draw(data) {\n const {\n particle,\n radius\n } = data,\n start = this.getCenter(particle, radius),\n side = this.getSidesData(particle, radius);\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawPolygon)(data, start, side);\n }\n getSidesCount(particle) {\n const polygon = particle.shapeData;\n return Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(polygon?.sides ?? defaultSides));\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/polygon/dist/browser/PolygonDrawerBase.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../shapes/polygon/dist/browser/TriangleDrawer.js"
31
+ /*!***********************************************************!*\
32
+ !*** ../../shapes/polygon/dist/browser/TriangleDrawer.js ***!
33
+ \***********************************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TriangleDrawer: () => (/* binding */ TriangleDrawer)\n/* harmony export */ });\n/* harmony import */ var _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PolygonDrawerBase.js */ \"../../shapes/polygon/dist/browser/PolygonDrawerBase.js\");\n\nconst yFactor = 1.66,\n sides = 3,\n double = 2;\nclass TriangleDrawer extends _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__.PolygonDrawerBase {\n constructor() {\n super(...arguments);\n this.validTypes = [\"triangle\"];\n }\n getCenter(_particle, radius) {\n return {\n x: -radius,\n y: radius / yFactor\n };\n }\n getSidesCount() {\n return sides;\n }\n getSidesData(_particle, radius) {\n const diameter = radius * double;\n return {\n count: {\n denominator: 2,\n numerator: 3\n },\n length: diameter\n };\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/polygon/dist/browser/TriangleDrawer.js?\n}");
37
+
38
+ /***/ },
39
+
40
+ /***/ "../../shapes/polygon/dist/browser/Utils.js"
41
+ /*!**************************************************!*\
42
+ !*** ../../shapes/polygon/dist/browser/Utils.js ***!
43
+ \**************************************************/
44
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
45
+
46
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drawPolygon: () => (/* binding */ drawPolygon)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst piDeg = 180,\n origin = {\n x: 0,\n y: 0\n },\n sidesOffset = 2;\nfunction drawPolygon(data, start, side) {\n const {\n context\n } = data,\n sideCount = side.count.numerator * side.count.denominator,\n decimalSides = side.count.numerator / side.count.denominator,\n interiorAngleDegrees = piDeg * (decimalSides - sidesOffset) / decimalSides,\n interiorAngle = Math.PI - (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(interiorAngleDegrees);\n context.beginPath();\n context.translate(start.x, start.y);\n context.moveTo(origin.x, origin.y);\n for (let i = 0; i < sideCount; i++) {\n context.lineTo(side.length, origin.y);\n context.translate(side.length, origin.y);\n context.rotate(interiorAngle);\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/polygon/dist/browser/Utils.js?\n}");
47
+
48
+ /***/ }
49
+
50
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_polygon_dist_browser_index_js"],{
19
+
20
+ /***/ "../../shapes/polygon/dist/browser/index.js"
21
+ /*!**************************************************!*\
22
+ !*** ../../shapes/polygon/dist/browser/index.js ***!
23
+ \**************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadGenericPolygonShape: () => (/* binding */ loadGenericPolygonShape),\n/* harmony export */ loadPolygonShape: () => (/* binding */ loadPolygonShape),\n/* harmony export */ loadTriangleShape: () => (/* binding */ loadTriangleShape)\n/* harmony export */ });\nfunction loadGenericPolygonShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n PolygonDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_polygon_dist_browser_PolygonDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PolygonDrawer.js */ \"../../shapes/polygon/dist/browser/PolygonDrawer.js\"));\n e.addShape(new PolygonDrawer());\n });\n}\nfunction loadTriangleShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n TriangleDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_polygon_dist_browser_TriangleDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./TriangleDrawer.js */ \"../../shapes/polygon/dist/browser/TriangleDrawer.js\"));\n e.addShape(new TriangleDrawer());\n });\n}\nfunction loadPolygonShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(e => {\n loadGenericPolygonShape(e);\n loadTriangleShape(e);\n });\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/polygon/dist/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_square_dist_browser_SquareDrawer_js"],{
19
+
20
+ /***/ "../../shapes/square/dist/browser/SquareDrawer.js"
21
+ /*!********************************************************!*\
22
+ !*** ../../shapes/square/dist/browser/SquareDrawer.js ***!
23
+ \********************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SquareDrawer: () => (/* binding */ SquareDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/square/dist/browser/Utils.js\");\n\nconst sides = 4;\nclass SquareDrawer {\n constructor() {\n this.validTypes = [\"edge\", \"square\"];\n }\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawSquare)(data);\n }\n getSidesCount() {\n return sides;\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/square/dist/browser/SquareDrawer.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../shapes/square/dist/browser/Utils.js"
31
+ /*!*************************************************!*\
32
+ !*** ../../shapes/square/dist/browser/Utils.js ***!
33
+ \*************************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drawSquare: () => (/* binding */ drawSquare)\n/* harmony export */ });\nconst fixFactorSquared = 2,\n fixFactor = Math.sqrt(fixFactorSquared),\n double = 2;\nfunction drawSquare(data) {\n const {\n context,\n radius\n } = data,\n fixedRadius = radius / fixFactor,\n fixedDiameter = fixedRadius * double;\n context.rect(-fixedRadius, -fixedRadius, fixedDiameter, fixedDiameter);\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/square/dist/browser/Utils.js?\n}");
37
+
38
+ /***/ }
39
+
40
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_square_dist_browser_index_js"],{
19
+
20
+ /***/ "../../shapes/square/dist/browser/index.js"
21
+ /*!*************************************************!*\
22
+ !*** ../../shapes/square/dist/browser/index.js ***!
23
+ \*************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSquareShape: () => (/* binding */ loadSquareShape)\n/* harmony export */ });\nfunction loadSquareShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n SquareDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_square_dist_browser_SquareDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./SquareDrawer.js */ \"../../shapes/square/dist/browser/SquareDrawer.js\"));\n e.addShape(new SquareDrawer());\n });\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/square/dist/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_star_dist_browser_StarDrawer_js"],{
19
+
20
+ /***/ "../../shapes/star/dist/browser/StarDrawer.js"
21
+ /*!****************************************************!*\
22
+ !*** ../../shapes/star/dist/browser/StarDrawer.js ***!
23
+ \****************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StarDrawer: () => (/* binding */ StarDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/star/dist/browser/Utils.js\");\n\n\nconst defaultInset = 2,\n defaultSides = 5;\nclass StarDrawer {\n constructor() {\n this.validTypes = [\"star\"];\n }\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawStar)(data);\n }\n getSidesCount(particle) {\n const star = particle.shapeData;\n return Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(star?.sides ?? defaultSides));\n }\n particleInit(_container, particle) {\n const star = particle.shapeData;\n particle.starInset = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(star?.inset ?? defaultInset);\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/star/dist/browser/StarDrawer.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../shapes/star/dist/browser/Utils.js"
31
+ /*!***********************************************!*\
32
+ !*** ../../shapes/star/dist/browser/Utils.js ***!
33
+ \***********************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drawStar: () => (/* binding */ drawStar)\n/* harmony export */ });\nconst defaultInset = 2,\n origin = {\n x: 0,\n y: 0\n };\nfunction drawStar(data) {\n const {\n context,\n particle,\n radius\n } = data,\n sides = particle.sides,\n inset = particle.starInset ?? defaultInset;\n context.moveTo(origin.x, origin.y - radius);\n for (let i = 0; i < sides; i++) {\n context.rotate(Math.PI / sides);\n context.lineTo(origin.x, origin.y - radius * inset);\n context.rotate(Math.PI / sides);\n context.lineTo(origin.x, origin.y - radius);\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/star/dist/browser/Utils.js?\n}");
37
+
38
+ /***/ }
39
+
40
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_star_dist_browser_index_js"],{
19
+
20
+ /***/ "../../shapes/star/dist/browser/index.js"
21
+ /*!***********************************************!*\
22
+ !*** ../../shapes/star/dist/browser/index.js ***!
23
+ \***********************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadStarShape: () => (/* binding */ loadStarShape)\n/* harmony export */ });\nfunction loadStarShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n StarDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_star_dist_browser_StarDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./StarDrawer.js */ \"../../shapes/star/dist/browser/StarDrawer.js\"));\n e.addShape(new StarDrawer());\n });\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/star/dist/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_text_dist_browser_TextDrawer_js"],{
19
+
20
+ /***/ "../../shapes/text/dist/browser/TextDrawer.js"
21
+ /*!****************************************************!*\
22
+ !*** ../../shapes/text/dist/browser/TextDrawer.js ***!
23
+ \****************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TextDrawer: () => (/* binding */ TextDrawer)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/text/dist/browser/Utils.js\");\n\n\nconst firstItem = 0;\nclass TextDrawer {\n constructor() {\n this.validTypes = [\"text\", \"character\", \"char\", \"multiline-text\"];\n }\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawText)(data);\n }\n async init(container) {\n const options = container.actualOptions,\n {\n validTypes\n } = this;\n if (validTypes.find(t => (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(t, options.particles.shape.type))) {\n const shapeOptions = validTypes.map(t => options.particles.shape.options[t])[firstItem],\n promises = [];\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(shapeOptions, shape => {\n promises.push((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.loadFont)(shape.font, shape.weight));\n });\n await Promise.all(promises);\n }\n }\n particleInit(_container, particle) {\n if (!particle.shape || !this.validTypes.includes(particle.shape)) {\n return;\n }\n const character = particle.shapeData;\n if (character === undefined) {\n return;\n }\n const textData = character.value;\n particle.text = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(textData, particle.randomIndexData);\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/text/dist/browser/TextDrawer.js?\n}");
27
+
28
+ /***/ },
29
+
30
+ /***/ "../../shapes/text/dist/browser/Utils.js"
31
+ /*!***********************************************!*\
32
+ !*** ../../shapes/text/dist/browser/Utils.js ***!
33
+ \***********************************************/
34
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
35
+
36
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drawText: () => (/* binding */ drawText)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst double = 2,\n half = 0.5;\nfunction drawText(data) {\n const {\n context,\n particle,\n fill,\n stroke,\n radius,\n opacity\n } = data,\n character = particle.shapeData;\n if (!character) {\n return;\n }\n const textData = character.value;\n particle.text ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(textData, particle.randomIndexData);\n const text = particle.text,\n style = character.style,\n weight = character.weight,\n size = Math.round(radius) * double,\n font = character.font;\n const lines = text?.split(\"\\n\") ?? [];\n context.font = `${style} ${weight} ${size.toString()}px \"${font}\"`;\n context.globalAlpha = opacity;\n for (let i = 0; i < lines.length; i++) {\n const currentLine = lines[i];\n if (!currentLine) {\n continue;\n }\n drawLine(context, currentLine, radius, opacity, i, fill, stroke);\n }\n context.globalAlpha = 1;\n}\nfunction drawLine(context, line, radius, _opacity, index, fill, stroke) {\n const offsetX = line.length * radius * half,\n pos = {\n x: -offsetX,\n y: radius * half\n },\n diameter = radius * double;\n if (fill) {\n context.fillText(line, pos.x, pos.y + diameter * index);\n }\n if (stroke) {\n context.strokeText(line, pos.x, pos.y + diameter * index);\n }\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/text/dist/browser/Utils.js?\n}");
37
+
38
+ /***/ }
39
+
40
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["shapes_text_dist_browser_index_js"],{
19
+
20
+ /***/ "../../shapes/text/dist/browser/index.js"
21
+ /*!***********************************************!*\
22
+ !*** ../../shapes/text/dist/browser/index.js ***!
23
+ \***********************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadTextShape: () => (/* binding */ loadTextShape)\n/* harmony export */ });\nfunction loadTextShape(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n TextDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_text_dist_browser_TextDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./TextDrawer.js */ \"../../shapes/text/dist/browser/TextDrawer.js\"));\n e.addShape(new TextDrawer());\n });\n}\n\n//# sourceURL=webpack://tsparticles/../../shapes/text/dist/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.0
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunktsparticles"] = this["webpackChunktsparticles"] || []).push([["slim_dist_browser_index_js"],{
19
+
20
+ /***/ "../slim/dist/browser/index.js"
21
+ /*!*************************************!*\
22
+ !*** ../slim/dist/browser/index.js ***!
23
+ \*************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadSlim: () => (/* binding */ loadSlim)\n/* harmony export */ });\nfunction loadSlim(engine) {\n engine.checkVersion(\"4.0.0-alpha.0\");\n engine.register(async e => {\n const {\n loadParallaxMover\n } = await __webpack_require__.e(/*! import() */ \"move_parallax_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/move-parallax */ \"../../move/parallax/dist/browser/index.js\")),\n {\n loadExternalAttractInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_attract_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-attract */ \"../../interactions/external/attract/dist/browser/index.js\")),\n {\n loadExternalBounceInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_bounce_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-bounce */ \"../../interactions/external/bounce/dist/browser/index.js\")),\n {\n loadExternalBubbleInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_bubble_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-bubble */ \"../../interactions/external/bubble/dist/browser/index.js\")),\n {\n loadExternalConnectInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_connect_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-connect */ \"../../interactions/external/connect/dist/browser/index.js\")),\n {\n loadExternalGrabInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_grab_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-grab */ \"../../interactions/external/grab/dist/browser/index.js\")),\n {\n loadExternalPauseInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_pause_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-pause */ \"../../interactions/external/pause/dist/browser/index.js\")),\n {\n loadExternalPushInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_push_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-push */ \"../../interactions/external/push/dist/browser/index.js\")),\n {\n loadExternalRemoveInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_remove_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-remove */ \"../../interactions/external/remove/dist/browser/index.js\")),\n {\n loadExternalRepulseInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_repulse_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-repulse */ \"../../interactions/external/repulse/dist/browser/index.js\")),\n {\n loadExternalSlowInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_external_slow_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-external-slow */ \"../../interactions/external/slow/dist/browser/index.js\")),\n {\n loadParticlesAttractInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_attract_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-particles-attract */ \"../../interactions/particles/attract/dist/browser/index.js\")),\n {\n loadParticlesCollisionsInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_collisions_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-particles-collisions */ \"../../interactions/particles/collisions/dist/browser/index.js\")),\n {\n loadParticlesLinksInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/interaction-particles-links */ \"../../interactions/particles/links/dist/browser/index.js\")),\n {\n loadEasingQuadPlugin\n } = await __webpack_require__.e(/*! import() */ \"plugins_easings_quad_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/plugin-easing-quad */ \"../../plugins/easings/quad/dist/browser/index.js\")),\n {\n loadEmojiShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_emoji_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-emoji */ \"../../shapes/emoji/dist/browser/index.js\")),\n {\n loadImageShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_image_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-image */ \"../../shapes/image/dist/browser/index.js\")),\n {\n loadLineShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_line_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-line */ \"../../shapes/line/dist/browser/index.js\")),\n {\n loadPolygonShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_polygon_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-polygon */ \"../../shapes/polygon/dist/browser/index.js\")),\n {\n loadSquareShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_square_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-square */ \"../../shapes/square/dist/browser/index.js\")),\n {\n loadStarShape\n } = await __webpack_require__.e(/*! import() */ \"shapes_star_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/shape-star */ \"../../shapes/star/dist/browser/index.js\")),\n {\n loadLifeUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_life_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-life */ \"../../updaters/life/dist/browser/index.js\")),\n {\n loadRotateUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_rotate_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-rotate */ \"../../updaters/rotate/dist/browser/index.js\")),\n {\n loadStrokeColorUpdater\n } = await __webpack_require__.e(/*! import() */ \"updaters_strokeColor_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/updater-stroke-color */ \"../../updaters/strokeColor/dist/browser/index.js\")),\n {\n loadBasic\n } = await __webpack_require__.e(/*! import() */ \"basic_dist_browser_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! @tsparticles/basic */ \"../basic/dist/browser/index.js\"));\n loadParallaxMover(e);\n loadExternalAttractInteraction(e);\n loadExternalBounceInteraction(e);\n loadExternalBubbleInteraction(e);\n loadExternalConnectInteraction(e);\n loadExternalGrabInteraction(e);\n loadExternalPauseInteraction(e);\n loadExternalPushInteraction(e);\n loadExternalRemoveInteraction(e);\n loadExternalRepulseInteraction(e);\n loadExternalSlowInteraction(e);\n loadParticlesAttractInteraction(e);\n loadParticlesCollisionsInteraction(e);\n loadParticlesLinksInteraction(e);\n loadEasingQuadPlugin(e);\n loadEmojiShape(e);\n loadImageShape(e);\n loadLineShape(e);\n loadPolygonShape(e);\n loadSquareShape(e);\n loadStarShape(e);\n loadLifeUpdater(e);\n loadRotateUpdater(e);\n loadStrokeColorUpdater(e);\n loadBasic(engine);\n });\n}\n\n//# sourceURL=webpack://tsparticles/../slim/dist/browser/index.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);