tsparticles 1.38.0 → 1.39.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 (1004) hide show
  1. package/Core/Canvas.js +28 -28
  2. package/Core/Container.d.ts +2 -3
  3. package/Core/Container.js +7 -8
  4. package/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  5. package/Core/Interfaces/IMovePathGenerator.d.ts +1 -1
  6. package/Core/Interfaces/IParticle.d.ts +1 -1
  7. package/Core/Interfaces/index.d.ts +3 -1
  8. package/Core/Interfaces/index.js +3 -1
  9. package/Core/Loader.js +4 -3
  10. package/Core/Particle.d.ts +2 -5
  11. package/Core/Particle.js +16 -18
  12. package/Core/Particles.d.ts +1 -1
  13. package/Core/Particles.js +13 -19
  14. package/{Utils → Core/Utils}/Circle.d.ts +1 -1
  15. package/{Utils → Core/Utils}/Circle.js +2 -2
  16. package/{esm → Core}/Utils/CircleWarp.d.ts +1 -2
  17. package/{Utils → Core/Utils}/CircleWarp.js +0 -0
  18. package/{Utils → Core/Utils}/Constants.d.ts +0 -0
  19. package/{Utils → Core/Utils}/Constants.js +0 -0
  20. package/{Utils → Core/Utils}/EventListeners.d.ts +1 -1
  21. package/{Utils → Core/Utils}/EventListeners.js +10 -11
  22. package/Core/{ExternalInteractorBase.d.ts → Utils/ExternalInteractorBase.d.ts} +4 -4
  23. package/Core/{ExternalInteractorBase.js → Utils/ExternalInteractorBase.js} +1 -2
  24. package/{esm/Core → Core/Utils}/FrameManager.d.ts +1 -1
  25. package/Core/{FrameManager.js → Utils/FrameManager.js} +0 -0
  26. package/{esm/Core → Core/Utils}/InteractionManager.d.ts +3 -3
  27. package/Core/{InteractionManager.js → Utils/InteractionManager.js} +2 -3
  28. package/{esm/Core → Core/Utils}/ParticlesInteractorBase.d.ts +4 -4
  29. package/Core/{ParticlesInteractorBase.js → Utils/ParticlesInteractorBase.js} +1 -2
  30. package/{esm/Core/Particle/Mover.d.ts → Core/Utils/ParticlesMover.d.ts} +1 -1
  31. package/Core/{Particle/Mover.js → Utils/ParticlesMover.js} +6 -7
  32. package/{esm → Core}/Utils/Plugins.d.ts +5 -5
  33. package/{Utils → Core/Utils}/Plugins.js +0 -0
  34. package/{Utils → Core/Utils}/Point.d.ts +2 -2
  35. package/{Utils → Core/Utils}/Point.js +0 -0
  36. package/{Utils → Core/Utils}/QuadTree.d.ts +3 -3
  37. package/{Utils → Core/Utils}/QuadTree.js +2 -2
  38. package/{esm → Core}/Utils/Range.d.ts +1 -1
  39. package/{Utils → Core/Utils}/Range.js +0 -0
  40. package/{esm → Core}/Utils/Rectangle.d.ts +1 -2
  41. package/{Utils → Core/Utils}/Rectangle.js +0 -0
  42. package/Core/{Particle → Utils}/Vector.d.ts +0 -0
  43. package/Core/{Particle → Utils}/Vector.js +0 -0
  44. package/Core/{Particle → Utils}/Vector3d.d.ts +0 -0
  45. package/Core/{Particle → Utils}/Vector3d.js +0 -0
  46. package/Core/Utils/index.d.ts +16 -0
  47. package/Core/Utils/index.js +28 -0
  48. package/Core/index.d.ts +8 -0
  49. package/Core/index.js +20 -0
  50. package/Enums/AnimationStatus.d.ts +1 -1
  51. package/Enums/AnimationStatus.js +0 -6
  52. package/Enums/Directions/MoveDirection.d.ts +1 -1
  53. package/Enums/Directions/MoveDirection.js +0 -13
  54. package/Enums/Directions/OutModeDirection.d.ts +1 -1
  55. package/Enums/Directions/OutModeDirection.js +0 -8
  56. package/Enums/Directions/RotateDirection.d.ts +1 -1
  57. package/Enums/Directions/RotateDirection.js +0 -7
  58. package/Enums/Directions/TiltDirection.d.ts +1 -1
  59. package/Enums/Directions/TiltDirection.js +0 -7
  60. package/Enums/InteractivityDetect.d.ts +1 -1
  61. package/Enums/InteractivityDetect.js +0 -7
  62. package/Enums/Modes/ClickMode.d.ts +1 -1
  63. package/Enums/Modes/ClickMode.js +0 -11
  64. package/Enums/Modes/CollisionMode.d.ts +1 -1
  65. package/Enums/Modes/CollisionMode.js +0 -7
  66. package/Enums/Modes/DestroyMode.d.ts +1 -1
  67. package/Enums/Modes/DestroyMode.js +0 -6
  68. package/Enums/Modes/DivMode.d.ts +1 -1
  69. package/Enums/Modes/DivMode.js +0 -7
  70. package/Enums/Modes/HoverMode.d.ts +1 -1
  71. package/Enums/Modes/HoverMode.js +0 -13
  72. package/Enums/Modes/OutMode.d.ts +1 -1
  73. package/Enums/Modes/OutMode.js +0 -11
  74. package/Enums/Modes/ResponsiveMode.d.ts +1 -1
  75. package/Enums/Modes/ResponsiveMode.js +0 -6
  76. package/Enums/Modes/RollMode.d.ts +1 -1
  77. package/Enums/Modes/RollMode.js +0 -7
  78. package/Enums/Modes/SizeMode.d.ts +1 -1
  79. package/Enums/Modes/SizeMode.js +0 -6
  80. package/Enums/Modes/ThemeMode.d.ts +1 -1
  81. package/Enums/Modes/ThemeMode.js +0 -7
  82. package/Enums/Types/AlterType.d.ts +1 -1
  83. package/Enums/Types/AlterType.js +0 -6
  84. package/Enums/Types/DestroyType.d.ts +1 -1
  85. package/Enums/Types/DestroyType.js +0 -7
  86. package/Enums/Types/DivType.d.ts +1 -1
  87. package/Enums/Types/DivType.js +0 -6
  88. package/Enums/Types/EasingType.d.ts +1 -1
  89. package/Enums/Types/EasingType.js +0 -12
  90. package/Enums/Types/GradientType.d.ts +1 -1
  91. package/Enums/Types/GradientType.js +0 -7
  92. package/Enums/Types/InteractorType.d.ts +1 -1
  93. package/Enums/Types/InteractorType.js +0 -6
  94. package/Enums/Types/OrbitType.d.ts +1 -1
  95. package/Enums/Types/OrbitType.js +0 -6
  96. package/Enums/Types/ShapeType.d.ts +1 -1
  97. package/Enums/Types/ShapeType.js +0 -15
  98. package/Enums/Types/StartValueType.d.ts +1 -1
  99. package/Enums/Types/StartValueType.js +0 -7
  100. package/Interactions/External/Attract/Attractor.d.ts +2 -2
  101. package/Interactions/External/Attract/Attractor.js +9 -11
  102. package/Interactions/External/Attract/index.d.ts +2 -2
  103. package/Interactions/External/Bounce/Bouncer.d.ts +2 -2
  104. package/Interactions/External/Bounce/Bouncer.js +15 -17
  105. package/Interactions/External/Bounce/index.d.ts +2 -2
  106. package/Interactions/External/Bubble/Bubbler.d.ts +3 -3
  107. package/Interactions/External/Bubble/Bubbler.js +20 -22
  108. package/Interactions/External/Bubble/ProcessBubbleType.d.ts +1 -1
  109. package/Interactions/External/Bubble/ProcessBubbleType.js +0 -7
  110. package/Interactions/External/Bubble/index.d.ts +2 -2
  111. package/Interactions/External/Connect/Connector.d.ts +2 -2
  112. package/Interactions/External/Connect/Connector.js +3 -4
  113. package/Interactions/External/Connect/index.d.ts +2 -2
  114. package/Interactions/External/Grab/Grabber.d.ts +2 -2
  115. package/Interactions/External/Grab/Grabber.js +4 -5
  116. package/Interactions/External/Grab/index.d.ts +2 -2
  117. package/Interactions/External/Repulse/Repulser.d.ts +2 -2
  118. package/Interactions/External/Repulse/Repulser.js +15 -17
  119. package/Interactions/External/Repulse/index.d.ts +2 -2
  120. package/Interactions/External/Trail/TrailMaker.d.ts +2 -3
  121. package/Interactions/External/Trail/TrailMaker.js +4 -5
  122. package/Interactions/External/Trail/index.d.ts +2 -2
  123. package/Interactions/Particles/Attract/Attractor.d.ts +2 -4
  124. package/Interactions/Particles/Attract/Attractor.js +2 -2
  125. package/Interactions/Particles/Attract/index.d.ts +2 -2
  126. package/Interactions/Particles/Collisions/Collider.d.ts +2 -3
  127. package/Interactions/Particles/Collisions/Collider.js +5 -6
  128. package/Interactions/Particles/Collisions/index.d.ts +2 -2
  129. package/Interactions/Particles/Links/LinkInstance.d.ts +1 -3
  130. package/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  131. package/Interactions/Particles/Links/Linker.d.ts +3 -4
  132. package/Interactions/Particles/Links/Linker.js +4 -4
  133. package/Interactions/Particles/Links/index.d.ts +2 -3
  134. package/Interactions/Particles/Links/index.js +3 -7
  135. package/Interactions/Particles/Links/interaction.d.ts +2 -0
  136. package/Interactions/Particles/Links/interaction.js +8 -0
  137. package/Interactions/Particles/Links/plugin.d.ts +2 -2
  138. package/Interactions/Particles/Links/plugin.js +2 -2
  139. package/Options/Classes/AnimatableGradient.js +3 -4
  140. package/Options/Classes/Interactivity/Events/DivEvent.js +1 -2
  141. package/Options/Classes/Interactivity/Interactivity.js +5 -6
  142. package/Options/Classes/Interactivity/Modes/Attract.js +1 -2
  143. package/Options/Classes/Interactivity/Modes/RepulseBase.js +1 -2
  144. package/Options/Classes/Options.js +8 -8
  145. package/Options/Classes/Particles/Collisions/Collisions.js +1 -2
  146. package/Options/Classes/Particles/Destroy/Destroy.js +1 -2
  147. package/Options/Classes/Particles/Move/Move.js +1 -2
  148. package/Options/Classes/Particles/Move/OutModes.js +1 -2
  149. package/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -3
  150. package/Options/Classes/Particles/Roll/Roll.js +1 -2
  151. package/Options/Classes/Particles/Rotate/Rotate.js +1 -2
  152. package/Options/Classes/Particles/Shape/Shape.js +13 -14
  153. package/Options/Classes/Particles/Size/SizeAnimation.js +2 -3
  154. package/Options/Classes/Particles/Tilt/Tilt.js +1 -2
  155. package/Options/Classes/Responsive.js +4 -5
  156. package/Options/Classes/Theme/ThemeDefault.js +1 -2
  157. package/Plugins/Absorbers/AbsorberContainer.d.ts +1 -1
  158. package/Plugins/Absorbers/AbsorberInstance.d.ts +2 -4
  159. package/Plugins/Absorbers/AbsorberInstance.js +9 -10
  160. package/Plugins/Absorbers/Absorbers.d.ts +1 -4
  161. package/Plugins/Absorbers/Absorbers.js +1 -2
  162. package/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +1 -1
  163. package/Plugins/Absorbers/Enums/AbsorberClickMode.js +0 -5
  164. package/Plugins/Absorbers/index.d.ts +2 -0
  165. package/Plugins/Absorbers/{plugin.js → index.js} +3 -4
  166. package/Plugins/Emitters/EmitterContainer.d.ts +1 -1
  167. package/Plugins/Emitters/EmitterInstance.d.ts +1 -2
  168. package/Plugins/Emitters/EmitterInstance.js +3 -4
  169. package/Plugins/Emitters/Emitters.d.ts +1 -2
  170. package/Plugins/Emitters/Emitters.js +1 -2
  171. package/Plugins/Emitters/EmittersMain.d.ts +2 -2
  172. package/Plugins/Emitters/Enums/EmitterClickMode.d.ts +1 -1
  173. package/Plugins/Emitters/Enums/EmitterClickMode.js +0 -5
  174. package/Plugins/Emitters/Enums/EmitterShapeType.d.ts +1 -1
  175. package/Plugins/Emitters/Enums/EmitterShapeType.js +0 -6
  176. package/Plugins/Emitters/IEmitterShape.d.ts +1 -1
  177. package/Plugins/Emitters/Options/Classes/Emitter.js +1 -2
  178. package/Plugins/Emitters/Options/Classes/EmitterSize.js +1 -2
  179. package/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +1 -1
  180. package/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +1 -1
  181. package/Plugins/Emitters/{plugin.d.ts → index.d.ts} +0 -0
  182. package/Plugins/Emitters/{plugin.js → index.js} +3 -4
  183. package/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +8 -0
  184. package/Plugins/PolygonMask/{Options/Interfaces/IDraw.js → Enums/PolygonMaskInlineArrangement.js} +0 -0
  185. package/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +4 -0
  186. package/Plugins/PolygonMask/{Options/Interfaces/IDrawStroke.js → Enums/PolygonMaskMoveType.js} +0 -0
  187. package/{esm/Plugins/PolygonMask/Enums/Type.d.ts → Plugins/PolygonMask/Enums/PolygonMaskType.d.ts} +1 -1
  188. package/Plugins/PolygonMask/{Options/Interfaces/IInline.js → Enums/PolygonMaskType.js} +0 -0
  189. package/Plugins/PolygonMask/Enums/index.d.ts +3 -3
  190. package/Plugins/PolygonMask/Enums/index.js +3 -3
  191. package/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +13 -13
  192. package/Plugins/PolygonMask/Options/Classes/PolygonMask.js +42 -42
  193. package/Plugins/PolygonMask/Options/Classes/{Draw.d.ts → PolygonMaskDraw.d.ts} +5 -5
  194. package/Plugins/PolygonMask/Options/Classes/{Draw.js → PolygonMaskDraw.js} +15 -14
  195. package/Plugins/PolygonMask/Options/Classes/{DrawStroke.d.ts → PolygonMaskDrawStroke.d.ts} +3 -3
  196. package/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +29 -0
  197. package/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +9 -0
  198. package/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.js +17 -0
  199. package/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +11 -0
  200. package/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +29 -0
  201. package/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +10 -0
  202. package/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.js +21 -0
  203. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +12 -13
  204. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +8 -0
  205. package/Plugins/PolygonMask/Options/Interfaces/{ILocalSvg.js → IPolygonMaskDraw.js} +0 -0
  206. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +6 -0
  207. package/Plugins/PolygonMask/Options/Interfaces/{IMove.js → IPolygonMaskDrawStroke.js} +0 -0
  208. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +4 -0
  209. package/Plugins/PolygonMask/{types.js → Options/Interfaces/IPolygonMaskInline.js} +0 -0
  210. package/Plugins/PolygonMask/Options/Interfaces/{ILocalSvg.d.ts → IPolygonMaskLocalSvg.d.ts} +2 -2
  211. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js +2 -0
  212. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +5 -0
  213. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.js +2 -0
  214. package/Plugins/PolygonMask/PolygonMaskInstance.d.ts +2 -4
  215. package/Plugins/PolygonMask/PolygonMaskInstance.js +33 -30
  216. package/Plugins/PolygonMask/{types.d.ts → Types.d.ts} +0 -0
  217. package/Plugins/PolygonMask/Types.js +2 -0
  218. package/{esm/Plugins/PolygonMask/utils.d.ts → Plugins/PolygonMask/Utils.d.ts} +5 -5
  219. package/Plugins/PolygonMask/{utils.js → Utils.js} +15 -12
  220. package/Plugins/PolygonMask/index.d.ts +2 -0
  221. package/Plugins/PolygonMask/{plugin.js → index.js} +4 -5
  222. package/Plugins/PolygonMask/pathseg.js +54 -43
  223. package/Shapes/Circle/CircleDrawer.d.ts +1 -1
  224. package/Shapes/Circle/index.d.ts +2 -2
  225. package/Shapes/Image/ImageDrawer.d.ts +3 -7
  226. package/Shapes/Image/ImageDrawer.js +29 -109
  227. package/Shapes/Image/Utils.d.ts +8 -5
  228. package/Shapes/Image/Utils.js +69 -38
  229. package/Shapes/Image/index.d.ts +2 -2
  230. package/Shapes/Line/LineDrawer.d.ts +1 -1
  231. package/Shapes/Line/index.d.ts +2 -2
  232. package/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  233. package/Shapes/Polygon/PolygonDrawerBase.d.ts +1 -1
  234. package/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  235. package/Shapes/Polygon/index.d.ts +4 -4
  236. package/Shapes/Square/SquareDrawer.d.ts +1 -1
  237. package/Shapes/Square/index.d.ts +2 -2
  238. package/Shapes/Star/StarDrawer.d.ts +1 -1
  239. package/Shapes/Star/index.d.ts +2 -2
  240. package/Shapes/Text/TextDrawer.d.ts +1 -2
  241. package/Shapes/Text/index.d.ts +2 -2
  242. package/Updaters/Angle/AngleUpdater.d.ts +1 -3
  243. package/Updaters/Angle/AngleUpdater.js +8 -9
  244. package/Updaters/Angle/index.d.ts +2 -2
  245. package/Updaters/Color/ColorUpdater.d.ts +1 -3
  246. package/Updaters/Color/ColorUpdater.js +3 -4
  247. package/Updaters/Color/index.d.ts +2 -2
  248. package/Updaters/Life/LifeUpdater.d.ts +1 -3
  249. package/Updaters/Life/index.d.ts +2 -2
  250. package/Updaters/Opacity/OpacityUpdater.d.ts +1 -3
  251. package/Updaters/Opacity/OpacityUpdater.js +13 -14
  252. package/Updaters/Opacity/index.d.ts +2 -2
  253. package/Updaters/OutModes/IBounceData.d.ts +1 -2
  254. package/Updaters/OutModes/OutOfCanvasUpdater.d.ts +1 -3
  255. package/Updaters/OutModes/OutOfCanvasUpdater.js +19 -20
  256. package/Updaters/OutModes/Utils.js +12 -13
  257. package/Updaters/OutModes/index.d.ts +2 -2
  258. package/Updaters/Roll/RollUpdater.d.ts +1 -2
  259. package/Updaters/Roll/RollUpdater.js +4 -5
  260. package/Updaters/Roll/index.d.ts +2 -2
  261. package/Updaters/Size/SizeUpdater.d.ts +1 -2
  262. package/Updaters/Size/SizeUpdater.js +6 -7
  263. package/Updaters/Size/index.d.ts +2 -2
  264. package/Updaters/StrokeColor/StrokeColorUpdater.d.ts +1 -3
  265. package/Updaters/StrokeColor/StrokeColorUpdater.js +3 -4
  266. package/Updaters/StrokeColor/index.d.ts +2 -2
  267. package/Updaters/Tilt/TiltUpdater.d.ts +1 -3
  268. package/Updaters/Tilt/TiltUpdater.js +8 -9
  269. package/Updaters/Tilt/index.d.ts +2 -2
  270. package/Updaters/Wobble/WobbleUpdater.d.ts +1 -3
  271. package/Updaters/Wobble/index.d.ts +2 -2
  272. package/Utils/CanvasUtils.d.ts +3 -3
  273. package/Utils/CanvasUtils.js +4 -5
  274. package/Utils/ColorUtils.d.ts +1 -1
  275. package/Utils/ColorUtils.js +7 -8
  276. package/Utils/NumberUtils.d.ts +2 -2
  277. package/Utils/NumberUtils.js +20 -21
  278. package/Utils/Utils.d.ts +1 -1
  279. package/Utils/Utils.js +6 -7
  280. package/Utils/index.d.ts +0 -9
  281. package/Utils/index.js +0 -9
  282. package/browser/Core/Canvas.js +9 -9
  283. package/browser/Core/Container.d.ts +2 -3
  284. package/browser/Core/Container.js +2 -3
  285. package/browser/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  286. package/browser/Core/Interfaces/IMovePathGenerator.d.ts +1 -1
  287. package/browser/Core/Interfaces/IParticle.d.ts +1 -1
  288. package/browser/Core/Interfaces/index.d.ts +3 -1
  289. package/browser/Core/Interfaces/index.js +3 -1
  290. package/browser/Core/Loader.js +2 -1
  291. package/browser/Core/Particle.d.ts +2 -5
  292. package/browser/Core/Particle.js +13 -15
  293. package/browser/Core/Particles.d.ts +1 -1
  294. package/browser/Core/Particles.js +8 -14
  295. package/browser/{Utils → Core/Utils}/Circle.d.ts +1 -1
  296. package/browser/{Utils → Core/Utils}/Circle.js +1 -1
  297. package/browser/{Utils → Core/Utils}/CircleWarp.d.ts +1 -2
  298. package/browser/{Utils → Core/Utils}/CircleWarp.js +0 -0
  299. package/browser/{Utils → Core/Utils}/Constants.d.ts +0 -0
  300. package/browser/{Utils → Core/Utils}/Constants.js +0 -0
  301. package/browser/{Utils → Core/Utils}/EventListeners.d.ts +1 -1
  302. package/browser/{Utils → Core/Utils}/EventListeners.js +10 -11
  303. package/{esm/Core → browser/Core/Utils}/ExternalInteractorBase.d.ts +4 -4
  304. package/browser/Core/{ExternalInteractorBase.js → Utils/ExternalInteractorBase.js} +1 -2
  305. package/browser/Core/{FrameManager.d.ts → Utils/FrameManager.d.ts} +1 -1
  306. package/browser/Core/{FrameManager.js → Utils/FrameManager.js} +0 -0
  307. package/browser/Core/{InteractionManager.d.ts → Utils/InteractionManager.d.ts} +3 -3
  308. package/browser/Core/{InteractionManager.js → Utils/InteractionManager.js} +2 -3
  309. package/{Core → browser/Core/Utils}/ParticlesInteractorBase.d.ts +4 -4
  310. package/{esm/Core → browser/Core/Utils}/ParticlesInteractorBase.js +1 -2
  311. package/browser/Core/{Particle/Mover.d.ts → Utils/ParticlesMover.d.ts} +1 -1
  312. package/browser/Core/{Particle/Mover.js → Utils/ParticlesMover.js} +4 -5
  313. package/browser/{Utils → Core/Utils}/Plugins.d.ts +5 -5
  314. package/browser/{Utils → Core/Utils}/Plugins.js +0 -0
  315. package/browser/{Utils → Core/Utils}/Point.d.ts +2 -2
  316. package/browser/{Utils → Core/Utils}/Point.js +0 -0
  317. package/browser/{Utils → Core/Utils}/QuadTree.d.ts +3 -3
  318. package/browser/{Utils → Core/Utils}/QuadTree.js +1 -1
  319. package/browser/{Utils → Core/Utils}/Range.d.ts +1 -1
  320. package/browser/{Utils → Core/Utils}/Range.js +0 -0
  321. package/browser/{Utils → Core/Utils}/Rectangle.d.ts +1 -2
  322. package/browser/{Utils → Core/Utils}/Rectangle.js +0 -0
  323. package/browser/Core/{Particle → Utils}/Vector.d.ts +0 -0
  324. package/browser/Core/{Particle → Utils}/Vector.js +0 -0
  325. package/browser/Core/{Particle → Utils}/Vector3d.d.ts +0 -0
  326. package/browser/Core/{Particle → Utils}/Vector3d.js +0 -0
  327. package/browser/Core/Utils/index.d.ts +16 -0
  328. package/browser/Core/Utils/index.js +16 -0
  329. package/browser/Core/index.d.ts +8 -0
  330. package/browser/Core/index.js +8 -0
  331. package/browser/Enums/AnimationStatus.d.ts +1 -1
  332. package/browser/Enums/AnimationStatus.js +1 -5
  333. package/browser/Enums/Directions/MoveDirection.d.ts +1 -1
  334. package/browser/Enums/Directions/MoveDirection.js +1 -15
  335. package/browser/Enums/Directions/OutModeDirection.d.ts +1 -1
  336. package/browser/Enums/Directions/OutModeDirection.js +1 -7
  337. package/browser/Enums/Directions/RotateDirection.d.ts +1 -1
  338. package/browser/Enums/Directions/RotateDirection.js +1 -9
  339. package/browser/Enums/Directions/TiltDirection.d.ts +1 -1
  340. package/browser/Enums/Directions/TiltDirection.js +1 -9
  341. package/browser/Enums/InteractivityDetect.d.ts +1 -1
  342. package/browser/Enums/InteractivityDetect.js +1 -9
  343. package/browser/Enums/Modes/ClickMode.d.ts +1 -1
  344. package/browser/Enums/Modes/ClickMode.js +1 -13
  345. package/browser/Enums/Modes/CollisionMode.d.ts +1 -1
  346. package/browser/Enums/Modes/CollisionMode.js +1 -9
  347. package/browser/Enums/Modes/DestroyMode.d.ts +1 -1
  348. package/browser/Enums/Modes/DestroyMode.js +1 -5
  349. package/browser/Enums/Modes/DivMode.d.ts +1 -1
  350. package/browser/Enums/Modes/DivMode.js +1 -9
  351. package/browser/Enums/Modes/HoverMode.d.ts +1 -1
  352. package/browser/Enums/Modes/HoverMode.js +1 -15
  353. package/browser/Enums/Modes/OutMode.d.ts +1 -1
  354. package/browser/Enums/Modes/OutMode.js +1 -13
  355. package/browser/Enums/Modes/ResponsiveMode.d.ts +1 -1
  356. package/browser/Enums/Modes/ResponsiveMode.js +1 -5
  357. package/browser/Enums/Modes/RollMode.d.ts +1 -1
  358. package/browser/Enums/Modes/RollMode.js +1 -6
  359. package/browser/Enums/Modes/SizeMode.d.ts +1 -1
  360. package/browser/Enums/Modes/SizeMode.js +1 -8
  361. package/browser/Enums/Modes/ThemeMode.d.ts +1 -1
  362. package/browser/Enums/Modes/ThemeMode.js +1 -6
  363. package/browser/Enums/Types/AlterType.d.ts +1 -1
  364. package/browser/Enums/Types/AlterType.js +1 -5
  365. package/browser/Enums/Types/DestroyType.d.ts +1 -1
  366. package/browser/Enums/Types/DestroyType.js +1 -9
  367. package/browser/Enums/Types/DivType.d.ts +1 -1
  368. package/browser/Enums/Types/DivType.js +1 -8
  369. package/browser/Enums/Types/EasingType.d.ts +1 -1
  370. package/browser/Enums/Types/EasingType.js +1 -11
  371. package/browser/Enums/Types/GradientType.d.ts +1 -1
  372. package/browser/Enums/Types/GradientType.js +1 -6
  373. package/browser/Enums/Types/InteractorType.d.ts +1 -1
  374. package/browser/Enums/Types/InteractorType.js +1 -5
  375. package/browser/Enums/Types/OrbitType.d.ts +1 -1
  376. package/browser/Enums/Types/OrbitType.js +1 -8
  377. package/browser/Enums/Types/ShapeType.d.ts +1 -1
  378. package/browser/Enums/Types/ShapeType.js +1 -17
  379. package/browser/Enums/Types/StartValueType.d.ts +1 -1
  380. package/browser/Enums/Types/StartValueType.js +1 -9
  381. package/browser/Interactions/External/Attract/Attractor.d.ts +2 -2
  382. package/browser/Interactions/External/Attract/Attractor.js +5 -7
  383. package/browser/Interactions/External/Attract/index.d.ts +2 -2
  384. package/browser/Interactions/External/Bounce/Bouncer.d.ts +2 -2
  385. package/browser/Interactions/External/Bounce/Bouncer.js +7 -9
  386. package/browser/Interactions/External/Bounce/index.d.ts +2 -2
  387. package/browser/Interactions/External/Bubble/Bubbler.d.ts +3 -3
  388. package/browser/Interactions/External/Bubble/Bubbler.js +16 -18
  389. package/browser/Interactions/External/Bubble/ProcessBubbleType.d.ts +1 -1
  390. package/browser/Interactions/External/Bubble/ProcessBubbleType.js +1 -9
  391. package/browser/Interactions/External/Bubble/index.d.ts +2 -2
  392. package/browser/Interactions/External/Connect/Connector.d.ts +2 -2
  393. package/browser/Interactions/External/Connect/Connector.js +2 -3
  394. package/browser/Interactions/External/Connect/index.d.ts +2 -2
  395. package/browser/Interactions/External/Grab/Grabber.d.ts +2 -2
  396. package/browser/Interactions/External/Grab/Grabber.js +3 -4
  397. package/browser/Interactions/External/Grab/index.d.ts +2 -2
  398. package/browser/Interactions/External/Repulse/Repulser.d.ts +2 -2
  399. package/browser/Interactions/External/Repulse/Repulser.js +8 -10
  400. package/browser/Interactions/External/Repulse/index.d.ts +2 -2
  401. package/browser/Interactions/External/Trail/TrailMaker.d.ts +2 -3
  402. package/browser/Interactions/External/Trail/TrailMaker.js +3 -4
  403. package/browser/Interactions/External/Trail/index.d.ts +2 -2
  404. package/browser/Interactions/Particles/Attract/Attractor.d.ts +2 -4
  405. package/browser/Interactions/Particles/Attract/Attractor.js +1 -1
  406. package/browser/Interactions/Particles/Attract/index.d.ts +2 -2
  407. package/browser/Interactions/Particles/Collisions/Collider.d.ts +2 -3
  408. package/browser/Interactions/Particles/Collisions/Collider.js +4 -5
  409. package/browser/Interactions/Particles/Collisions/index.d.ts +2 -2
  410. package/browser/Interactions/Particles/Links/LinkInstance.d.ts +1 -3
  411. package/browser/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  412. package/browser/Interactions/Particles/Links/Linker.d.ts +3 -4
  413. package/browser/Interactions/Particles/Links/Linker.js +2 -2
  414. package/browser/Interactions/Particles/Links/index.d.ts +2 -3
  415. package/browser/Interactions/Particles/Links/index.js +1 -4
  416. package/browser/Interactions/Particles/Links/interaction.d.ts +2 -0
  417. package/browser/Interactions/Particles/Links/interaction.js +4 -0
  418. package/browser/Interactions/Particles/Links/plugin.d.ts +2 -2
  419. package/browser/Interactions/Particles/Links/plugin.js +2 -2
  420. package/browser/Options/Classes/AnimatableGradient.js +3 -4
  421. package/browser/Options/Classes/Interactivity/Events/DivEvent.js +1 -2
  422. package/browser/Options/Classes/Interactivity/Interactivity.js +5 -6
  423. package/browser/Options/Classes/Interactivity/Modes/Attract.js +1 -2
  424. package/browser/Options/Classes/Interactivity/Modes/RepulseBase.js +1 -2
  425. package/browser/Options/Classes/Options.js +7 -7
  426. package/browser/Options/Classes/Particles/Collisions/Collisions.js +1 -2
  427. package/browser/Options/Classes/Particles/Destroy/Destroy.js +1 -2
  428. package/browser/Options/Classes/Particles/Move/Move.js +1 -2
  429. package/browser/Options/Classes/Particles/Move/OutModes.js +1 -2
  430. package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -3
  431. package/browser/Options/Classes/Particles/Roll/Roll.js +1 -2
  432. package/browser/Options/Classes/Particles/Rotate/Rotate.js +1 -2
  433. package/browser/Options/Classes/Particles/Shape/Shape.js +13 -14
  434. package/browser/Options/Classes/Particles/Size/SizeAnimation.js +2 -3
  435. package/browser/Options/Classes/Particles/Tilt/Tilt.js +1 -2
  436. package/browser/Options/Classes/Responsive.js +4 -5
  437. package/browser/Options/Classes/Theme/ThemeDefault.js +1 -2
  438. package/browser/Plugins/Absorbers/AbsorberContainer.d.ts +1 -1
  439. package/browser/Plugins/Absorbers/AbsorberInstance.d.ts +2 -4
  440. package/browser/Plugins/Absorbers/AbsorberInstance.js +4 -5
  441. package/browser/Plugins/Absorbers/Absorbers.d.ts +1 -4
  442. package/browser/Plugins/Absorbers/Absorbers.js +1 -2
  443. package/browser/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +1 -1
  444. package/browser/Plugins/Absorbers/Enums/AbsorberClickMode.js +1 -7
  445. package/browser/Plugins/Absorbers/index.d.ts +2 -0
  446. package/browser/Plugins/Absorbers/{plugin.js → index.js} +3 -4
  447. package/browser/Plugins/Emitters/EmitterContainer.d.ts +1 -1
  448. package/browser/Plugins/Emitters/EmitterInstance.d.ts +1 -2
  449. package/browser/Plugins/Emitters/EmitterInstance.js +3 -4
  450. package/browser/Plugins/Emitters/Emitters.d.ts +1 -2
  451. package/browser/Plugins/Emitters/Emitters.js +1 -2
  452. package/browser/Plugins/Emitters/EmittersMain.d.ts +2 -2
  453. package/browser/Plugins/Emitters/Enums/EmitterClickMode.d.ts +1 -1
  454. package/browser/Plugins/Emitters/Enums/EmitterClickMode.js +1 -7
  455. package/browser/Plugins/Emitters/Enums/EmitterShapeType.d.ts +1 -1
  456. package/browser/Plugins/Emitters/Enums/EmitterShapeType.js +1 -5
  457. package/browser/Plugins/Emitters/IEmitterShape.d.ts +1 -1
  458. package/browser/Plugins/Emitters/Options/Classes/Emitter.js +1 -2
  459. package/browser/Plugins/Emitters/Options/Classes/EmitterSize.js +1 -2
  460. package/browser/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +1 -1
  461. package/browser/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +1 -1
  462. package/browser/Plugins/Emitters/{plugin.d.ts → index.d.ts} +0 -0
  463. package/browser/Plugins/Emitters/{plugin.js → index.js} +3 -4
  464. package/browser/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +8 -0
  465. package/browser/Plugins/PolygonMask/{Options/Interfaces/IDraw.js → Enums/PolygonMaskInlineArrangement.js} +0 -0
  466. package/browser/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +4 -0
  467. package/browser/Plugins/PolygonMask/{Options/Interfaces/IDrawStroke.js → Enums/PolygonMaskMoveType.js} +0 -0
  468. package/{Plugins/PolygonMask/Enums/Type.d.ts → browser/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts} +1 -1
  469. package/browser/Plugins/PolygonMask/{Options/Interfaces/IInline.js → Enums/PolygonMaskType.js} +0 -0
  470. package/browser/Plugins/PolygonMask/Enums/index.d.ts +3 -3
  471. package/browser/Plugins/PolygonMask/Enums/index.js +3 -3
  472. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +13 -13
  473. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.js +42 -42
  474. package/browser/Plugins/PolygonMask/Options/Classes/{Draw.d.ts → PolygonMaskDraw.d.ts} +5 -5
  475. package/browser/Plugins/PolygonMask/Options/Classes/{Draw.js → PolygonMaskDraw.js} +13 -12
  476. package/browser/Plugins/PolygonMask/Options/Classes/{DrawStroke.d.ts → PolygonMaskDrawStroke.d.ts} +3 -3
  477. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +28 -0
  478. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +12 -0
  479. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.js +16 -0
  480. package/browser/Plugins/PolygonMask/Options/Classes/{LocalSvg.d.ts → PolygonMaskLocalSvg.d.ts} +4 -4
  481. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +28 -0
  482. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +13 -0
  483. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.js +20 -0
  484. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +12 -13
  485. package/browser/Plugins/PolygonMask/Options/Interfaces/{IDraw.d.ts → IPolygonMaskDraw.d.ts} +4 -4
  486. package/browser/Plugins/PolygonMask/Options/Interfaces/{ILocalSvg.js → IPolygonMaskDraw.js} +0 -0
  487. package/browser/Plugins/PolygonMask/Options/Interfaces/{IDrawStroke.d.ts → IPolygonMaskDrawStroke.d.ts} +2 -2
  488. package/browser/Plugins/PolygonMask/Options/Interfaces/{IMove.js → IPolygonMaskDrawStroke.js} +0 -0
  489. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +7 -0
  490. package/browser/Plugins/PolygonMask/{types.js → Options/Interfaces/IPolygonMaskInline.js} +0 -0
  491. package/browser/Plugins/PolygonMask/Options/Interfaces/{ILocalSvg.d.ts → IPolygonMaskLocalSvg.d.ts} +2 -2
  492. package/{esm/Plugins/PolygonMask/Options/Interfaces/IDraw.js → browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js} +0 -0
  493. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +8 -0
  494. package/{esm/Plugins/PolygonMask/Options/Interfaces/IDrawStroke.js → browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.js} +0 -0
  495. package/browser/Plugins/PolygonMask/PolygonMaskInstance.d.ts +2 -4
  496. package/browser/Plugins/PolygonMask/PolygonMaskInstance.js +24 -21
  497. package/browser/Plugins/PolygonMask/{types.d.ts → Types.d.ts} +0 -0
  498. package/{esm/Plugins/PolygonMask/Options/Interfaces/IInline.js → browser/Plugins/PolygonMask/Types.js} +0 -0
  499. package/{Plugins/PolygonMask/utils.d.ts → browser/Plugins/PolygonMask/Utils.d.ts} +5 -5
  500. package/browser/Plugins/PolygonMask/{utils.js → Utils.js} +15 -12
  501. package/browser/Plugins/PolygonMask/index.d.ts +2 -0
  502. package/browser/Plugins/PolygonMask/{plugin.js → index.js} +5 -6
  503. package/browser/Plugins/PolygonMask/pathseg.js +54 -44
  504. package/browser/Shapes/Circle/CircleDrawer.d.ts +1 -1
  505. package/browser/Shapes/Circle/index.d.ts +2 -2
  506. package/browser/Shapes/Image/ImageDrawer.d.ts +3 -7
  507. package/browser/Shapes/Image/ImageDrawer.js +28 -111
  508. package/browser/Shapes/Image/Utils.d.ts +8 -5
  509. package/browser/Shapes/Image/Utils.js +71 -37
  510. package/browser/Shapes/Image/index.d.ts +2 -2
  511. package/browser/Shapes/Line/LineDrawer.d.ts +1 -1
  512. package/browser/Shapes/Line/index.d.ts +2 -2
  513. package/browser/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  514. package/browser/Shapes/Polygon/PolygonDrawerBase.d.ts +1 -1
  515. package/browser/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  516. package/browser/Shapes/Polygon/index.d.ts +4 -4
  517. package/browser/Shapes/Square/SquareDrawer.d.ts +1 -1
  518. package/browser/Shapes/Square/index.d.ts +2 -2
  519. package/browser/Shapes/Star/StarDrawer.d.ts +1 -1
  520. package/browser/Shapes/Star/index.d.ts +2 -2
  521. package/browser/Shapes/Text/TextDrawer.d.ts +1 -2
  522. package/browser/Shapes/Text/index.d.ts +2 -2
  523. package/browser/Updaters/Angle/AngleUpdater.d.ts +1 -3
  524. package/browser/Updaters/Angle/AngleUpdater.js +8 -9
  525. package/browser/Updaters/Angle/index.d.ts +2 -2
  526. package/browser/Updaters/Color/ColorUpdater.d.ts +1 -3
  527. package/browser/Updaters/Color/ColorUpdater.js +3 -4
  528. package/browser/Updaters/Color/index.d.ts +2 -2
  529. package/browser/Updaters/Life/LifeUpdater.d.ts +1 -3
  530. package/browser/Updaters/Life/index.d.ts +2 -2
  531. package/browser/Updaters/Opacity/OpacityUpdater.d.ts +1 -3
  532. package/browser/Updaters/Opacity/OpacityUpdater.js +13 -14
  533. package/browser/Updaters/Opacity/index.d.ts +2 -2
  534. package/browser/Updaters/OutModes/IBounceData.d.ts +1 -2
  535. package/browser/Updaters/OutModes/OutOfCanvasUpdater.d.ts +1 -3
  536. package/browser/Updaters/OutModes/OutOfCanvasUpdater.js +19 -20
  537. package/browser/Updaters/OutModes/Utils.js +12 -13
  538. package/browser/Updaters/OutModes/index.d.ts +2 -2
  539. package/browser/Updaters/Roll/RollUpdater.d.ts +1 -2
  540. package/browser/Updaters/Roll/RollUpdater.js +4 -5
  541. package/browser/Updaters/Roll/index.d.ts +2 -2
  542. package/browser/Updaters/Size/SizeUpdater.d.ts +1 -2
  543. package/browser/Updaters/Size/SizeUpdater.js +6 -7
  544. package/browser/Updaters/Size/index.d.ts +2 -2
  545. package/browser/Updaters/StrokeColor/StrokeColorUpdater.d.ts +1 -3
  546. package/browser/Updaters/StrokeColor/StrokeColorUpdater.js +3 -4
  547. package/browser/Updaters/StrokeColor/index.d.ts +2 -2
  548. package/browser/Updaters/Tilt/TiltUpdater.d.ts +1 -3
  549. package/browser/Updaters/Tilt/TiltUpdater.js +8 -9
  550. package/browser/Updaters/Tilt/index.d.ts +2 -2
  551. package/browser/Updaters/Wobble/WobbleUpdater.d.ts +1 -3
  552. package/browser/Updaters/Wobble/index.d.ts +2 -2
  553. package/browser/Utils/CanvasUtils.d.ts +3 -3
  554. package/browser/Utils/CanvasUtils.js +4 -5
  555. package/browser/Utils/ColorUtils.d.ts +1 -1
  556. package/browser/Utils/ColorUtils.js +2 -3
  557. package/browser/Utils/NumberUtils.d.ts +2 -2
  558. package/browser/Utils/NumberUtils.js +18 -19
  559. package/browser/Utils/Utils.d.ts +1 -1
  560. package/browser/Utils/Utils.js +5 -6
  561. package/browser/Utils/index.d.ts +0 -9
  562. package/browser/Utils/index.js +0 -9
  563. package/browser/{main.d.ts → engine.d.ts} +4 -6
  564. package/browser/{main.js → engine.js} +10 -11
  565. package/browser/full.d.ts +2 -2
  566. package/browser/full.js +3 -3
  567. package/browser/index.d.ts +6 -16
  568. package/browser/index.engine.d.ts +13 -0
  569. package/browser/index.engine.js +12 -0
  570. package/browser/index.js +5 -13
  571. package/browser/index.slim.d.ts +6 -16
  572. package/browser/index.slim.js +5 -13
  573. package/browser/pjs.d.ts +3 -3
  574. package/browser/pjs.js +6 -5
  575. package/browser/slim.d.ts +2 -2
  576. package/{esm/main.d.ts → engine.d.ts} +2 -4
  577. package/{main.js → engine.js} +24 -25
  578. package/esm/Core/Canvas.js +9 -9
  579. package/esm/Core/Container.d.ts +2 -3
  580. package/esm/Core/Container.js +2 -3
  581. package/esm/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  582. package/esm/Core/Interfaces/IMovePathGenerator.d.ts +1 -1
  583. package/esm/Core/Interfaces/IParticle.d.ts +1 -1
  584. package/esm/Core/Interfaces/index.d.ts +3 -1
  585. package/esm/Core/Interfaces/index.js +3 -1
  586. package/esm/Core/Loader.js +2 -1
  587. package/esm/Core/Particle.d.ts +2 -5
  588. package/esm/Core/Particle.js +13 -15
  589. package/esm/Core/Particles.d.ts +1 -1
  590. package/esm/Core/Particles.js +8 -14
  591. package/esm/{Utils → Core/Utils}/Circle.d.ts +1 -1
  592. package/esm/{Utils → Core/Utils}/Circle.js +1 -1
  593. package/{Utils → esm/Core/Utils}/CircleWarp.d.ts +1 -2
  594. package/esm/{Utils → Core/Utils}/CircleWarp.js +0 -0
  595. package/esm/{Utils → Core/Utils}/Constants.d.ts +0 -0
  596. package/esm/{Utils → Core/Utils}/Constants.js +0 -0
  597. package/esm/{Utils → Core/Utils}/EventListeners.d.ts +1 -1
  598. package/esm/{Utils → Core/Utils}/EventListeners.js +10 -11
  599. package/{browser/Core → esm/Core/Utils}/ExternalInteractorBase.d.ts +4 -4
  600. package/esm/Core/{ExternalInteractorBase.js → Utils/ExternalInteractorBase.js} +1 -2
  601. package/{Core → esm/Core/Utils}/FrameManager.d.ts +1 -1
  602. package/esm/Core/{FrameManager.js → Utils/FrameManager.js} +0 -0
  603. package/{Core → esm/Core/Utils}/InteractionManager.d.ts +3 -3
  604. package/esm/Core/{InteractionManager.js → Utils/InteractionManager.js} +2 -3
  605. package/{browser/Core → esm/Core/Utils}/ParticlesInteractorBase.d.ts +4 -4
  606. package/{browser/Core → esm/Core/Utils}/ParticlesInteractorBase.js +1 -2
  607. package/{Core/Particle/Mover.d.ts → esm/Core/Utils/ParticlesMover.d.ts} +1 -1
  608. package/esm/Core/{Particle/Mover.js → Utils/ParticlesMover.js} +4 -5
  609. package/{Utils → esm/Core/Utils}/Plugins.d.ts +5 -5
  610. package/esm/{Utils → Core/Utils}/Plugins.js +0 -0
  611. package/esm/{Utils → Core/Utils}/Point.d.ts +2 -2
  612. package/esm/{Utils → Core/Utils}/Point.js +0 -0
  613. package/esm/{Utils → Core/Utils}/QuadTree.d.ts +3 -3
  614. package/esm/{Utils → Core/Utils}/QuadTree.js +1 -1
  615. package/{Utils → esm/Core/Utils}/Range.d.ts +1 -1
  616. package/esm/{Utils → Core/Utils}/Range.js +0 -0
  617. package/{Utils → esm/Core/Utils}/Rectangle.d.ts +1 -2
  618. package/esm/{Utils → Core/Utils}/Rectangle.js +0 -0
  619. package/esm/Core/{Particle → Utils}/Vector.d.ts +0 -0
  620. package/esm/Core/{Particle → Utils}/Vector.js +0 -0
  621. package/esm/Core/{Particle → Utils}/Vector3d.d.ts +0 -0
  622. package/esm/Core/{Particle → Utils}/Vector3d.js +0 -0
  623. package/esm/Core/Utils/index.d.ts +16 -0
  624. package/esm/Core/Utils/index.js +16 -0
  625. package/esm/Core/index.d.ts +8 -0
  626. package/esm/Core/index.js +8 -0
  627. package/esm/Enums/AnimationStatus.d.ts +1 -1
  628. package/esm/Enums/AnimationStatus.js +1 -5
  629. package/esm/Enums/Directions/MoveDirection.d.ts +1 -1
  630. package/esm/Enums/Directions/MoveDirection.js +1 -12
  631. package/esm/Enums/Directions/OutModeDirection.d.ts +1 -1
  632. package/esm/Enums/Directions/OutModeDirection.js +1 -7
  633. package/esm/Enums/Directions/RotateDirection.d.ts +1 -1
  634. package/esm/Enums/Directions/RotateDirection.js +1 -6
  635. package/esm/Enums/Directions/TiltDirection.d.ts +1 -1
  636. package/esm/Enums/Directions/TiltDirection.js +1 -6
  637. package/esm/Enums/InteractivityDetect.d.ts +1 -1
  638. package/esm/Enums/InteractivityDetect.js +1 -6
  639. package/esm/Enums/Modes/ClickMode.d.ts +1 -1
  640. package/esm/Enums/Modes/ClickMode.js +1 -10
  641. package/esm/Enums/Modes/CollisionMode.d.ts +1 -1
  642. package/esm/Enums/Modes/CollisionMode.js +1 -6
  643. package/esm/Enums/Modes/DestroyMode.d.ts +1 -1
  644. package/esm/Enums/Modes/DestroyMode.js +1 -5
  645. package/esm/Enums/Modes/DivMode.d.ts +1 -1
  646. package/esm/Enums/Modes/DivMode.js +1 -6
  647. package/esm/Enums/Modes/HoverMode.d.ts +1 -1
  648. package/esm/Enums/Modes/HoverMode.js +1 -12
  649. package/esm/Enums/Modes/OutMode.d.ts +1 -1
  650. package/esm/Enums/Modes/OutMode.js +1 -10
  651. package/esm/Enums/Modes/ResponsiveMode.d.ts +1 -1
  652. package/esm/Enums/Modes/ResponsiveMode.js +1 -5
  653. package/esm/Enums/Modes/RollMode.d.ts +1 -1
  654. package/esm/Enums/Modes/RollMode.js +1 -6
  655. package/esm/Enums/Modes/SizeMode.d.ts +1 -1
  656. package/esm/Enums/Modes/SizeMode.js +1 -5
  657. package/esm/Enums/Modes/ThemeMode.d.ts +1 -1
  658. package/esm/Enums/Modes/ThemeMode.js +1 -6
  659. package/esm/Enums/Types/AlterType.d.ts +1 -1
  660. package/esm/Enums/Types/AlterType.js +1 -5
  661. package/esm/Enums/Types/DestroyType.d.ts +1 -1
  662. package/esm/Enums/Types/DestroyType.js +1 -6
  663. package/esm/Enums/Types/DivType.d.ts +1 -1
  664. package/esm/Enums/Types/DivType.js +1 -5
  665. package/esm/Enums/Types/EasingType.d.ts +1 -1
  666. package/esm/Enums/Types/EasingType.js +1 -11
  667. package/esm/Enums/Types/GradientType.d.ts +1 -1
  668. package/esm/Enums/Types/GradientType.js +1 -6
  669. package/esm/Enums/Types/InteractorType.d.ts +1 -1
  670. package/esm/Enums/Types/InteractorType.js +1 -5
  671. package/esm/Enums/Types/OrbitType.d.ts +1 -1
  672. package/esm/Enums/Types/OrbitType.js +1 -5
  673. package/esm/Enums/Types/ShapeType.d.ts +1 -1
  674. package/esm/Enums/Types/ShapeType.js +1 -14
  675. package/esm/Enums/Types/StartValueType.d.ts +1 -1
  676. package/esm/Enums/Types/StartValueType.js +1 -6
  677. package/esm/Interactions/External/Attract/Attractor.d.ts +2 -2
  678. package/esm/Interactions/External/Attract/Attractor.js +5 -7
  679. package/esm/Interactions/External/Attract/index.d.ts +2 -2
  680. package/esm/Interactions/External/Bounce/Bouncer.d.ts +2 -2
  681. package/esm/Interactions/External/Bounce/Bouncer.js +7 -9
  682. package/esm/Interactions/External/Bounce/index.d.ts +2 -2
  683. package/esm/Interactions/External/Bubble/Bubbler.d.ts +3 -3
  684. package/esm/Interactions/External/Bubble/Bubbler.js +16 -18
  685. package/esm/Interactions/External/Bubble/ProcessBubbleType.d.ts +1 -1
  686. package/esm/Interactions/External/Bubble/ProcessBubbleType.js +1 -6
  687. package/esm/Interactions/External/Bubble/index.d.ts +2 -2
  688. package/esm/Interactions/External/Connect/Connector.d.ts +2 -2
  689. package/esm/Interactions/External/Connect/Connector.js +2 -3
  690. package/esm/Interactions/External/Connect/index.d.ts +2 -2
  691. package/esm/Interactions/External/Grab/Grabber.d.ts +2 -2
  692. package/esm/Interactions/External/Grab/Grabber.js +3 -4
  693. package/esm/Interactions/External/Grab/index.d.ts +2 -2
  694. package/esm/Interactions/External/Repulse/Repulser.d.ts +2 -2
  695. package/esm/Interactions/External/Repulse/Repulser.js +8 -10
  696. package/esm/Interactions/External/Repulse/index.d.ts +2 -2
  697. package/esm/Interactions/External/Trail/TrailMaker.d.ts +2 -3
  698. package/esm/Interactions/External/Trail/TrailMaker.js +3 -4
  699. package/esm/Interactions/External/Trail/index.d.ts +2 -2
  700. package/esm/Interactions/Particles/Attract/Attractor.d.ts +2 -4
  701. package/esm/Interactions/Particles/Attract/Attractor.js +1 -1
  702. package/esm/Interactions/Particles/Attract/index.d.ts +2 -2
  703. package/esm/Interactions/Particles/Collisions/Collider.d.ts +2 -3
  704. package/esm/Interactions/Particles/Collisions/Collider.js +4 -5
  705. package/esm/Interactions/Particles/Collisions/index.d.ts +2 -2
  706. package/esm/Interactions/Particles/Links/LinkInstance.d.ts +1 -3
  707. package/esm/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  708. package/esm/Interactions/Particles/Links/Linker.d.ts +3 -4
  709. package/esm/Interactions/Particles/Links/Linker.js +2 -2
  710. package/esm/Interactions/Particles/Links/index.d.ts +2 -3
  711. package/esm/Interactions/Particles/Links/index.js +1 -4
  712. package/esm/Interactions/Particles/Links/interaction.d.ts +2 -0
  713. package/esm/Interactions/Particles/Links/interaction.js +4 -0
  714. package/esm/Interactions/Particles/Links/plugin.d.ts +2 -2
  715. package/esm/Interactions/Particles/Links/plugin.js +2 -2
  716. package/esm/Options/Classes/AnimatableGradient.js +3 -4
  717. package/esm/Options/Classes/Interactivity/Events/DivEvent.js +1 -2
  718. package/esm/Options/Classes/Interactivity/Interactivity.js +5 -6
  719. package/esm/Options/Classes/Interactivity/Modes/Attract.js +1 -2
  720. package/esm/Options/Classes/Interactivity/Modes/RepulseBase.js +1 -2
  721. package/esm/Options/Classes/Options.js +7 -7
  722. package/esm/Options/Classes/Particles/Collisions/Collisions.js +1 -2
  723. package/esm/Options/Classes/Particles/Destroy/Destroy.js +1 -2
  724. package/esm/Options/Classes/Particles/Move/Move.js +1 -2
  725. package/esm/Options/Classes/Particles/Move/OutModes.js +1 -2
  726. package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -3
  727. package/esm/Options/Classes/Particles/Roll/Roll.js +1 -2
  728. package/esm/Options/Classes/Particles/Rotate/Rotate.js +1 -2
  729. package/esm/Options/Classes/Particles/Shape/Shape.js +13 -14
  730. package/esm/Options/Classes/Particles/Size/SizeAnimation.js +2 -3
  731. package/esm/Options/Classes/Particles/Tilt/Tilt.js +1 -2
  732. package/esm/Options/Classes/Responsive.js +4 -5
  733. package/esm/Options/Classes/Theme/ThemeDefault.js +1 -2
  734. package/esm/Plugins/Absorbers/AbsorberContainer.d.ts +1 -1
  735. package/esm/Plugins/Absorbers/AbsorberInstance.d.ts +2 -4
  736. package/esm/Plugins/Absorbers/AbsorberInstance.js +4 -5
  737. package/esm/Plugins/Absorbers/Absorbers.d.ts +1 -4
  738. package/esm/Plugins/Absorbers/Absorbers.js +1 -2
  739. package/esm/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +1 -1
  740. package/esm/Plugins/Absorbers/Enums/AbsorberClickMode.js +1 -4
  741. package/esm/Plugins/Absorbers/index.d.ts +2 -0
  742. package/esm/Plugins/Absorbers/{plugin.js → index.js} +3 -4
  743. package/esm/Plugins/Emitters/EmitterContainer.d.ts +1 -1
  744. package/esm/Plugins/Emitters/EmitterInstance.d.ts +1 -2
  745. package/esm/Plugins/Emitters/EmitterInstance.js +3 -4
  746. package/esm/Plugins/Emitters/Emitters.d.ts +1 -2
  747. package/esm/Plugins/Emitters/Emitters.js +1 -2
  748. package/esm/Plugins/Emitters/EmittersMain.d.ts +2 -2
  749. package/esm/Plugins/Emitters/Enums/EmitterClickMode.d.ts +1 -1
  750. package/esm/Plugins/Emitters/Enums/EmitterClickMode.js +1 -4
  751. package/esm/Plugins/Emitters/Enums/EmitterShapeType.d.ts +1 -1
  752. package/esm/Plugins/Emitters/Enums/EmitterShapeType.js +1 -5
  753. package/esm/Plugins/Emitters/IEmitterShape.d.ts +1 -1
  754. package/esm/Plugins/Emitters/Options/Classes/Emitter.js +1 -2
  755. package/esm/Plugins/Emitters/Options/Classes/EmitterSize.js +1 -2
  756. package/esm/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +1 -1
  757. package/esm/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +1 -1
  758. package/esm/Plugins/Emitters/{plugin.d.ts → index.d.ts} +0 -0
  759. package/esm/Plugins/Emitters/{plugin.js → index.js} +3 -4
  760. package/esm/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +8 -0
  761. package/esm/Plugins/PolygonMask/{Options/Interfaces/ILocalSvg.js → Enums/PolygonMaskInlineArrangement.js} +0 -0
  762. package/esm/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +4 -0
  763. package/esm/Plugins/PolygonMask/{Options/Interfaces/IMove.js → Enums/PolygonMaskMoveType.js} +0 -0
  764. package/{browser/Plugins/PolygonMask/Enums/Type.d.ts → esm/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts} +1 -1
  765. package/esm/Plugins/PolygonMask/{types.js → Enums/PolygonMaskType.js} +0 -0
  766. package/esm/Plugins/PolygonMask/Enums/index.d.ts +3 -3
  767. package/esm/Plugins/PolygonMask/Enums/index.js +3 -3
  768. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +13 -13
  769. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.js +42 -42
  770. package/esm/Plugins/PolygonMask/Options/Classes/{Draw.d.ts → PolygonMaskDraw.d.ts} +5 -5
  771. package/esm/Plugins/PolygonMask/Options/Classes/{Draw.js → PolygonMaskDraw.js} +13 -12
  772. package/esm/Plugins/PolygonMask/Options/Classes/{DrawStroke.d.ts → PolygonMaskDrawStroke.d.ts} +3 -3
  773. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +25 -0
  774. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +9 -0
  775. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.js +13 -0
  776. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +11 -0
  777. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +25 -0
  778. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +10 -0
  779. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.js +17 -0
  780. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +12 -13
  781. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +8 -0
  782. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.js +1 -0
  783. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +6 -0
  784. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.js +1 -0
  785. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +4 -0
  786. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.js +1 -0
  787. package/esm/Plugins/PolygonMask/Options/Interfaces/{ILocalSvg.d.ts → IPolygonMaskLocalSvg.d.ts} +2 -2
  788. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js +1 -0
  789. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +5 -0
  790. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.js +1 -0
  791. package/esm/Plugins/PolygonMask/PolygonMaskInstance.d.ts +2 -4
  792. package/esm/Plugins/PolygonMask/PolygonMaskInstance.js +24 -21
  793. package/esm/Plugins/PolygonMask/{types.d.ts → Types.d.ts} +0 -0
  794. package/esm/Plugins/PolygonMask/Types.js +1 -0
  795. package/{browser/Plugins/PolygonMask/utils.d.ts → esm/Plugins/PolygonMask/Utils.d.ts} +5 -5
  796. package/esm/Plugins/PolygonMask/{utils.js → Utils.js} +15 -12
  797. package/esm/Plugins/PolygonMask/index.d.ts +2 -0
  798. package/esm/Plugins/PolygonMask/{plugin.js → index.js} +4 -5
  799. package/esm/Plugins/PolygonMask/pathseg.js +54 -43
  800. package/esm/Shapes/Circle/CircleDrawer.d.ts +1 -1
  801. package/esm/Shapes/Circle/index.d.ts +2 -2
  802. package/esm/Shapes/Image/ImageDrawer.d.ts +3 -7
  803. package/esm/Shapes/Image/ImageDrawer.js +28 -108
  804. package/esm/Shapes/Image/Utils.d.ts +8 -5
  805. package/esm/Shapes/Image/Utils.js +67 -36
  806. package/esm/Shapes/Image/index.d.ts +2 -2
  807. package/esm/Shapes/Line/LineDrawer.d.ts +1 -1
  808. package/esm/Shapes/Line/index.d.ts +2 -2
  809. package/esm/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  810. package/esm/Shapes/Polygon/PolygonDrawerBase.d.ts +1 -1
  811. package/esm/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  812. package/esm/Shapes/Polygon/index.d.ts +4 -4
  813. package/esm/Shapes/Square/SquareDrawer.d.ts +1 -1
  814. package/esm/Shapes/Square/index.d.ts +2 -2
  815. package/esm/Shapes/Star/StarDrawer.d.ts +1 -1
  816. package/esm/Shapes/Star/index.d.ts +2 -2
  817. package/esm/Shapes/Text/TextDrawer.d.ts +1 -2
  818. package/esm/Shapes/Text/index.d.ts +2 -2
  819. package/esm/Updaters/Angle/AngleUpdater.d.ts +1 -3
  820. package/esm/Updaters/Angle/AngleUpdater.js +8 -9
  821. package/esm/Updaters/Angle/index.d.ts +2 -2
  822. package/esm/Updaters/Color/ColorUpdater.d.ts +1 -3
  823. package/esm/Updaters/Color/ColorUpdater.js +3 -4
  824. package/esm/Updaters/Color/index.d.ts +2 -2
  825. package/esm/Updaters/Life/LifeUpdater.d.ts +1 -3
  826. package/esm/Updaters/Life/index.d.ts +2 -2
  827. package/esm/Updaters/Opacity/OpacityUpdater.d.ts +1 -3
  828. package/esm/Updaters/Opacity/OpacityUpdater.js +13 -14
  829. package/esm/Updaters/Opacity/index.d.ts +2 -2
  830. package/esm/Updaters/OutModes/IBounceData.d.ts +1 -2
  831. package/esm/Updaters/OutModes/OutOfCanvasUpdater.d.ts +1 -3
  832. package/esm/Updaters/OutModes/OutOfCanvasUpdater.js +19 -20
  833. package/esm/Updaters/OutModes/Utils.js +12 -13
  834. package/esm/Updaters/OutModes/index.d.ts +2 -2
  835. package/esm/Updaters/Roll/RollUpdater.d.ts +1 -2
  836. package/esm/Updaters/Roll/RollUpdater.js +4 -5
  837. package/esm/Updaters/Roll/index.d.ts +2 -2
  838. package/esm/Updaters/Size/SizeUpdater.d.ts +1 -2
  839. package/esm/Updaters/Size/SizeUpdater.js +6 -7
  840. package/esm/Updaters/Size/index.d.ts +2 -2
  841. package/esm/Updaters/StrokeColor/StrokeColorUpdater.d.ts +1 -3
  842. package/esm/Updaters/StrokeColor/StrokeColorUpdater.js +3 -4
  843. package/esm/Updaters/StrokeColor/index.d.ts +2 -2
  844. package/esm/Updaters/Tilt/TiltUpdater.d.ts +1 -3
  845. package/esm/Updaters/Tilt/TiltUpdater.js +8 -9
  846. package/esm/Updaters/Tilt/index.d.ts +2 -2
  847. package/esm/Updaters/Wobble/WobbleUpdater.d.ts +1 -3
  848. package/esm/Updaters/Wobble/index.d.ts +2 -2
  849. package/esm/Utils/CanvasUtils.d.ts +3 -3
  850. package/esm/Utils/CanvasUtils.js +4 -5
  851. package/esm/Utils/ColorUtils.d.ts +1 -1
  852. package/esm/Utils/ColorUtils.js +2 -3
  853. package/esm/Utils/NumberUtils.d.ts +2 -2
  854. package/esm/Utils/NumberUtils.js +18 -19
  855. package/esm/Utils/Utils.d.ts +1 -1
  856. package/esm/Utils/Utils.js +5 -6
  857. package/esm/Utils/index.d.ts +0 -9
  858. package/esm/Utils/index.js +0 -9
  859. package/{main.d.ts → esm/engine.d.ts} +2 -4
  860. package/esm/{main.js → engine.js} +8 -9
  861. package/esm/full.d.ts +2 -2
  862. package/esm/full.js +3 -3
  863. package/esm/index.d.ts +6 -16
  864. package/esm/index.engine.d.ts +13 -0
  865. package/esm/index.engine.js +11 -0
  866. package/esm/index.js +5 -13
  867. package/esm/index.slim.d.ts +6 -16
  868. package/esm/index.slim.js +5 -13
  869. package/esm/pjs.d.ts +3 -3
  870. package/esm/pjs.js +6 -5
  871. package/esm/slim.d.ts +2 -2
  872. package/full.d.ts +2 -2
  873. package/full.js +6 -6
  874. package/index.d.ts +6 -16
  875. package/index.engine.d.ts +13 -0
  876. package/index.engine.js +27 -0
  877. package/index.js +7 -19
  878. package/index.slim.d.ts +6 -16
  879. package/index.slim.js +7 -19
  880. package/package.json +1 -1
  881. package/pjs.d.ts +3 -3
  882. package/pjs.js +6 -5
  883. package/report.html +2 -2
  884. package/report.slim.html +2 -2
  885. package/slim.d.ts +2 -2
  886. package/tsparticles.engine.js +6746 -0
  887. package/tsparticles.engine.min.js +2 -0
  888. package/tsparticles.interaction.external.attract.js +4976 -0
  889. package/tsparticles.interaction.external.attract.min.js +2 -0
  890. package/tsparticles.interaction.external.bounce.js +4997 -0
  891. package/tsparticles.interaction.external.bounce.min.js +2 -0
  892. package/tsparticles.interaction.external.bubble.js +5083 -0
  893. package/tsparticles.interaction.external.bubble.min.js +2 -0
  894. package/tsparticles.interaction.external.connect.js +4845 -0
  895. package/tsparticles.interaction.external.connect.min.js +2 -0
  896. package/tsparticles.interaction.external.grab.js +4851 -0
  897. package/tsparticles.interaction.external.grab.min.js +2 -0
  898. package/tsparticles.interaction.external.repulse.js +5028 -0
  899. package/tsparticles.interaction.external.repulse.min.js +2 -0
  900. package/tsparticles.interaction.external.trail.js +4853 -0
  901. package/tsparticles.interaction.external.trail.min.js +2 -0
  902. package/tsparticles.interaction.particles.attract.js +4834 -0
  903. package/tsparticles.interaction.particles.attract.min.js +2 -0
  904. package/tsparticles.interaction.particles.collisions.js +4999 -0
  905. package/tsparticles.interaction.particles.collisions.min.js +2 -0
  906. package/tsparticles.interaction.particles.links.js +5071 -0
  907. package/tsparticles.interaction.particles.links.min.js +2 -0
  908. package/tsparticles.js +1263 -1572
  909. package/tsparticles.min.js +2 -2
  910. package/tsparticles.pathseg.min.js +2 -0
  911. package/tsparticles.plugins.absorbers.js +5332 -0
  912. package/tsparticles.plugins.absorbers.min.js +2 -0
  913. package/tsparticles.plugins.emitters.js +5419 -0
  914. package/tsparticles.plugins.emitters.min.js +2 -0
  915. package/tsparticles.plugins.polygonMask.js +5862 -0
  916. package/tsparticles.plugins.polygonMask.min.js +2 -0
  917. package/tsparticles.shape.circle.js +59 -0
  918. package/tsparticles.shape.circle.min.js +2 -0
  919. package/tsparticles.shape.image.js +5021 -0
  920. package/tsparticles.shape.image.min.js +2 -0
  921. package/tsparticles.shape.line.js +60 -0
  922. package/tsparticles.shape.line.min.js +2 -0
  923. package/tsparticles.shape.polygon.js +131 -0
  924. package/tsparticles.shape.polygon.min.js +2 -0
  925. package/tsparticles.shape.square.js +62 -0
  926. package/tsparticles.shape.square.min.js +2 -0
  927. package/tsparticles.shape.star.js +71 -0
  928. package/tsparticles.shape.star.min.js +2 -0
  929. package/tsparticles.shape.text.js +4865 -0
  930. package/tsparticles.shape.text.min.js +2 -0
  931. package/tsparticles.slim.js +1052 -1314
  932. package/tsparticles.slim.min.js +2 -2
  933. package/tsparticles.updater.angle.js +4880 -0
  934. package/tsparticles.updater.angle.min.js +2 -0
  935. package/tsparticles.updater.color.js +4862 -0
  936. package/tsparticles.updater.color.min.js +2 -0
  937. package/tsparticles.updater.life.js +4864 -0
  938. package/tsparticles.updater.life.min.js +2 -0
  939. package/tsparticles.updater.opacity.js +4914 -0
  940. package/tsparticles.updater.opacity.min.js +2 -0
  941. package/tsparticles.updater.outModes.js +4998 -0
  942. package/tsparticles.updater.outModes.min.js +2 -0
  943. package/tsparticles.updater.roll.js +4862 -0
  944. package/tsparticles.updater.roll.min.js +2 -0
  945. package/tsparticles.updater.size.js +4870 -0
  946. package/tsparticles.updater.size.min.js +2 -0
  947. package/tsparticles.updater.strokeColor.js +4875 -0
  948. package/tsparticles.updater.strokeColor.min.js +2 -0
  949. package/tsparticles.updater.tilt.js +4881 -0
  950. package/tsparticles.updater.tilt.min.js +2 -0
  951. package/tsparticles.updater.wobble.js +4850 -0
  952. package/tsparticles.updater.wobble.min.js +2 -0
  953. package/Plugins/Absorbers/plugin.d.ts +0 -2
  954. package/Plugins/PolygonMask/Enums/InlineArrangement.d.ts +0 -8
  955. package/Plugins/PolygonMask/Enums/InlineArrangement.js +0 -11
  956. package/Plugins/PolygonMask/Enums/MoveType.d.ts +0 -4
  957. package/Plugins/PolygonMask/Enums/MoveType.js +0 -8
  958. package/Plugins/PolygonMask/Enums/Type.js +0 -10
  959. package/Plugins/PolygonMask/Options/Classes/DrawStroke.js +0 -28
  960. package/Plugins/PolygonMask/Options/Classes/Inline.d.ts +0 -9
  961. package/Plugins/PolygonMask/Options/Classes/Inline.js +0 -17
  962. package/Plugins/PolygonMask/Options/Classes/LocalSvg.d.ts +0 -11
  963. package/Plugins/PolygonMask/Options/Classes/LocalSvg.js +0 -28
  964. package/Plugins/PolygonMask/Options/Classes/Move.d.ts +0 -10
  965. package/Plugins/PolygonMask/Options/Classes/Move.js +0 -21
  966. package/Plugins/PolygonMask/Options/Interfaces/IDraw.d.ts +0 -8
  967. package/Plugins/PolygonMask/Options/Interfaces/IDrawStroke.d.ts +0 -6
  968. package/Plugins/PolygonMask/Options/Interfaces/IInline.d.ts +0 -4
  969. package/Plugins/PolygonMask/Options/Interfaces/IMove.d.ts +0 -5
  970. package/Plugins/PolygonMask/plugin.d.ts +0 -2
  971. package/browser/Plugins/Absorbers/plugin.d.ts +0 -2
  972. package/browser/Plugins/PolygonMask/Enums/InlineArrangement.d.ts +0 -8
  973. package/browser/Plugins/PolygonMask/Enums/InlineArrangement.js +0 -8
  974. package/browser/Plugins/PolygonMask/Enums/MoveType.d.ts +0 -4
  975. package/browser/Plugins/PolygonMask/Enums/MoveType.js +0 -5
  976. package/browser/Plugins/PolygonMask/Enums/Type.js +0 -7
  977. package/browser/Plugins/PolygonMask/Options/Classes/DrawStroke.js +0 -27
  978. package/browser/Plugins/PolygonMask/Options/Classes/Inline.d.ts +0 -12
  979. package/browser/Plugins/PolygonMask/Options/Classes/Inline.js +0 -16
  980. package/browser/Plugins/PolygonMask/Options/Classes/LocalSvg.js +0 -27
  981. package/browser/Plugins/PolygonMask/Options/Classes/Move.d.ts +0 -13
  982. package/browser/Plugins/PolygonMask/Options/Classes/Move.js +0 -20
  983. package/browser/Plugins/PolygonMask/Options/Interfaces/IInline.d.ts +0 -7
  984. package/browser/Plugins/PolygonMask/Options/Interfaces/IMove.d.ts +0 -8
  985. package/browser/Plugins/PolygonMask/plugin.d.ts +0 -2
  986. package/esm/Plugins/Absorbers/plugin.d.ts +0 -2
  987. package/esm/Plugins/PolygonMask/Enums/InlineArrangement.d.ts +0 -8
  988. package/esm/Plugins/PolygonMask/Enums/InlineArrangement.js +0 -8
  989. package/esm/Plugins/PolygonMask/Enums/MoveType.d.ts +0 -4
  990. package/esm/Plugins/PolygonMask/Enums/MoveType.js +0 -5
  991. package/esm/Plugins/PolygonMask/Enums/Type.js +0 -7
  992. package/esm/Plugins/PolygonMask/Options/Classes/DrawStroke.js +0 -24
  993. package/esm/Plugins/PolygonMask/Options/Classes/Inline.d.ts +0 -9
  994. package/esm/Plugins/PolygonMask/Options/Classes/Inline.js +0 -13
  995. package/esm/Plugins/PolygonMask/Options/Classes/LocalSvg.d.ts +0 -11
  996. package/esm/Plugins/PolygonMask/Options/Classes/LocalSvg.js +0 -24
  997. package/esm/Plugins/PolygonMask/Options/Classes/Move.d.ts +0 -10
  998. package/esm/Plugins/PolygonMask/Options/Classes/Move.js +0 -17
  999. package/esm/Plugins/PolygonMask/Options/Interfaces/IDraw.d.ts +0 -8
  1000. package/esm/Plugins/PolygonMask/Options/Interfaces/IDrawStroke.d.ts +0 -6
  1001. package/esm/Plugins/PolygonMask/Options/Interfaces/IInline.d.ts +0 -4
  1002. package/esm/Plugins/PolygonMask/Options/Interfaces/IMove.d.ts +0 -5
  1003. package/esm/Plugins/PolygonMask/plugin.d.ts +0 -2
  1004. package/tsparticles.pathseg.js +0 -1472
@@ -0,0 +1,2 @@
1
+ /*! tsParticles v1.39.0 by Matteo Bruni */
2
+ !function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(window,(function(){return function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{loadLifeUpdater:function(){return l}});class t{}t.generatedAttribute="generated",t.randomColorValue="random",t.midColorValue="mid",t.touchEndEvent="touchend",t.mouseDownEvent="mousedown",t.mouseUpEvent="mouseup",t.mouseMoveEvent="mousemove",t.touchStartEvent="touchstart",t.touchMoveEvent="touchmove",t.mouseLeaveEvent="mouseleave",t.mouseOutEvent="mouseout",t.touchCancelEvent="touchcancel",t.resizeEvent="resize",t.visibilityChangeEvent="visibilitychange",t.noPolygonDataLoaded="No polygon data loaded.",t.noPolygonFound="No polygon found, you need to specify SVG url in config.";new Map,new Map,new Map,new Map,new Map,new Map,new Map;new WeakSet;function o(e){const n=u(e);let t=r(e);return n===t&&(t=0),Math.random()*(n-t)+t}function i(e){return"number"==typeof e?e:o(e)}function r(e){return"number"==typeof e?e:e.min}function u(e){return"number"==typeof e?e:e.max}function a(e,n){if(e===n||void 0===n&&"number"==typeof e)return e;const t=r(e),o=u(e);return void 0!==n?{min:Math.min(t,n),max:Math.max(o,n)}:a(t,o)}class d{constructor(e){this.container=e}init(){}isEnabled(e){return!e.destroyed}update(e,n){if(!this.isEnabled(e))return;const t=e.life;let r=!1;if(e.spawning){if(t.delayTime+=n.value,!(t.delayTime>=e.life.delay))return;r=!0,e.spawning=!1,t.delayTime=0,t.time=0}if(-1===t.duration)return;if(e.spawning)return;if(r?t.time=0:t.time+=n.value,t.time<t.duration)return;if(t.time=0,e.life.count>0&&e.life.count--,0===e.life.count)return void e.destroy();const u=this.container.canvas.size,d=a(0,u.width),l=a(0,u.width);e.position.x=o(d),e.position.y=o(l),e.spawning=!0,t.delayTime=0,t.time=0,e.reset();const c=e.options.life;t.delay=1e3*i(c.delay.value),t.duration=1e3*i(c.duration.value)}}async function l(e){await e.addParticleUpdater("life",(e=>new d(e)))}return n}()}));