tsparticles 1.39.0 → 1.40.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 (983) hide show
  1. package/Core/Canvas.d.ts +1 -1
  2. package/Core/Canvas.js +27 -27
  3. package/Core/Container.d.ts +8 -6
  4. package/Core/Container.js +33 -18
  5. package/Core/Interfaces/Gradients.d.ts +2 -2
  6. package/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  7. package/Core/Interfaces/IContainerPlugin.d.ts +4 -4
  8. package/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  9. package/Core/Interfaces/IInteractor.d.ts +1 -1
  10. package/Core/Interfaces/IParticle.d.ts +8 -8
  11. package/Core/Interfaces/IParticleGradientAnimation.d.ts +1 -1
  12. package/Core/Interfaces/IParticleSpin.d.ts +1 -1
  13. package/Core/Interfaces/IParticlesInteractor.d.ts +2 -2
  14. package/Core/Interfaces/IPlugin.d.ts +1 -1
  15. package/Core/Loader.d.ts +13 -10
  16. package/Core/Loader.js +42 -26
  17. package/Core/Particle.d.ts +6 -4
  18. package/Core/Particle.js +47 -32
  19. package/Core/Particles.d.ts +6 -4
  20. package/Core/Particles.js +32 -17
  21. package/Core/Utils/Circle.d.ts +1 -1
  22. package/Core/Utils/CircleWarp.d.ts +1 -1
  23. package/Core/Utils/CircleWarp.js +1 -1
  24. package/Core/Utils/EventListeners.js +1 -1
  25. package/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  26. package/Core/Utils/InteractionManager.d.ts +6 -4
  27. package/Core/Utils/InteractionManager.js +19 -3
  28. package/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  29. package/Core/Utils/ParticlesMover.d.ts +1 -1
  30. package/Core/Utils/Plugins.d.ts +30 -16
  31. package/Core/Utils/Plugins.js +58 -46
  32. package/Core/Utils/QuadTree.d.ts +3 -3
  33. package/Core/Utils/QuadTree.js +1 -1
  34. package/Core/Utils/Rectangle.d.ts +1 -1
  35. package/Core/Utils/Vector3d.d.ts +1 -1
  36. package/Interactions/External/Attract/Attractor.d.ts +1 -1
  37. package/Interactions/External/Attract/Attractor.js +1 -1
  38. package/Interactions/External/Attract/index.d.ts +1 -1
  39. package/Interactions/External/Attract/index.js +2 -2
  40. package/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  41. package/Interactions/External/Bounce/Bouncer.js +1 -1
  42. package/Interactions/External/Bounce/index.d.ts +1 -1
  43. package/Interactions/External/Bounce/index.js +2 -2
  44. package/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  45. package/Interactions/External/Bubble/Bubbler.js +1 -1
  46. package/Interactions/External/Bubble/index.d.ts +1 -1
  47. package/Interactions/External/Bubble/index.js +2 -2
  48. package/Interactions/External/Connect/Connector.js +1 -1
  49. package/Interactions/External/Connect/index.d.ts +1 -1
  50. package/Interactions/External/Connect/index.js +2 -2
  51. package/Interactions/External/Grab/Grabber.d.ts +1 -1
  52. package/Interactions/External/Grab/Grabber.js +1 -1
  53. package/Interactions/External/Grab/index.d.ts +1 -1
  54. package/Interactions/External/Grab/index.js +2 -2
  55. package/Interactions/External/Repulse/Repulser.d.ts +1 -1
  56. package/Interactions/External/Repulse/Repulser.js +1 -1
  57. package/Interactions/External/Repulse/index.d.ts +1 -1
  58. package/Interactions/External/Repulse/index.js +2 -2
  59. package/Interactions/External/Trail/TrailMaker.js +1 -1
  60. package/Interactions/External/Trail/index.d.ts +1 -1
  61. package/Interactions/External/Trail/index.js +2 -2
  62. package/Interactions/Particles/Attract/Attractor.js +1 -1
  63. package/Interactions/Particles/Attract/index.d.ts +1 -1
  64. package/Interactions/Particles/Attract/index.js +2 -2
  65. package/Interactions/Particles/Collisions/index.d.ts +1 -1
  66. package/Interactions/Particles/Collisions/index.js +2 -2
  67. package/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  68. package/Interactions/Particles/Links/Linker.d.ts +1 -1
  69. package/Interactions/Particles/Links/Linker.js +1 -1
  70. package/Interactions/Particles/Links/index.d.ts +1 -1
  71. package/Interactions/Particles/Links/index.js +4 -4
  72. package/Interactions/Particles/Links/interaction.d.ts +1 -1
  73. package/Interactions/Particles/Links/interaction.js +2 -2
  74. package/Interactions/Particles/Links/plugin.d.ts +1 -1
  75. package/Interactions/Particles/Links/plugin.js +2 -2
  76. package/Options/Classes/AnimatableColor.d.ts +3 -3
  77. package/Options/Classes/AnimatableColor.js +1 -1
  78. package/Options/Classes/AnimatableGradient.d.ts +6 -6
  79. package/Options/Classes/AnimationOptions.d.ts +2 -2
  80. package/Options/Classes/Background/Background.d.ts +2 -2
  81. package/Options/Classes/BackgroundMask/BackgroundMask.d.ts +2 -2
  82. package/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +2 -2
  83. package/Options/Classes/ColorAnimation.d.ts +1 -1
  84. package/Options/Classes/HslAnimation.d.ts +2 -2
  85. package/Options/Classes/Interactivity/Events/ClickEvent.d.ts +2 -2
  86. package/Options/Classes/Interactivity/Events/DivEvent.d.ts +1 -1
  87. package/Options/Classes/Interactivity/Events/Events.d.ts +2 -2
  88. package/Options/Classes/Interactivity/Events/HoverEvent.d.ts +3 -3
  89. package/Options/Classes/Interactivity/Events/Parallax.d.ts +1 -1
  90. package/Options/Classes/Interactivity/Interactivity.d.ts +2 -2
  91. package/Options/Classes/Interactivity/Modes/Attract.d.ts +2 -2
  92. package/Options/Classes/Interactivity/Modes/Bubble.d.ts +2 -2
  93. package/Options/Classes/Interactivity/Modes/Bubble.js +1 -1
  94. package/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +1 -1
  95. package/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +1 -1
  96. package/Options/Classes/Interactivity/Modes/Connect.d.ts +2 -2
  97. package/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +1 -1
  98. package/Options/Classes/Interactivity/Modes/Grab.d.ts +2 -2
  99. package/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +2 -2
  100. package/Options/Classes/Interactivity/Modes/Light.d.ts +1 -1
  101. package/Options/Classes/Interactivity/Modes/Modes.d.ts +7 -7
  102. package/Options/Classes/Interactivity/Modes/Modes.js +4 -4
  103. package/Options/Classes/Interactivity/Modes/Push.d.ts +1 -1
  104. package/Options/Classes/Interactivity/Modes/Remove.d.ts +1 -1
  105. package/Options/Classes/Interactivity/Modes/Repulse.d.ts +3 -3
  106. package/Options/Classes/Interactivity/Modes/Repulse.js +1 -1
  107. package/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +2 -2
  108. package/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +1 -1
  109. package/Options/Classes/Interactivity/Modes/Slow.d.ts +1 -1
  110. package/Options/Classes/Interactivity/Modes/Trail.d.ts +2 -2
  111. package/Options/Classes/ManualParticle.d.ts +2 -2
  112. package/Options/Classes/Motion/Motion.d.ts +1 -1
  113. package/Options/Classes/Options.d.ts +9 -8
  114. package/Options/Classes/Options.js +20 -13
  115. package/Options/Classes/OptionsColor.d.ts +2 -2
  116. package/Options/Classes/Particles/Bounce/Bounce.d.ts +1 -1
  117. package/Options/Classes/Particles/Collisions/Collisions.d.ts +4 -4
  118. package/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +2 -2
  119. package/Options/Classes/Particles/Destroy/Destroy.d.ts +1 -1
  120. package/Options/Classes/Particles/Destroy/Split.d.ts +3 -3
  121. package/Options/Classes/Particles/Life/Life.d.ts +1 -1
  122. package/Options/Classes/Particles/Links/Links.d.ts +2 -2
  123. package/Options/Classes/Particles/Links/LinksShadow.d.ts +2 -2
  124. package/Options/Classes/Particles/Links/LinksTriangle.d.ts +1 -1
  125. package/Options/Classes/Particles/Move/Attract.d.ts +2 -2
  126. package/Options/Classes/Particles/Move/Move.d.ts +5 -5
  127. package/Options/Classes/Particles/Move/Move.js +3 -3
  128. package/Options/Classes/Particles/Move/OutModes.d.ts +2 -2
  129. package/Options/Classes/Particles/Move/Path/Path.d.ts +3 -3
  130. package/Options/Classes/Particles/Move/Spin.d.ts +3 -3
  131. package/Options/Classes/Particles/Move/Trail.d.ts +2 -2
  132. package/Options/Classes/Particles/Number/Density.d.ts +1 -1
  133. package/Options/Classes/Particles/Number/ParticlesNumber.d.ts +2 -2
  134. package/Options/Classes/Particles/Opacity/Opacity.d.ts +1 -1
  135. package/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +3 -3
  136. package/Options/Classes/Particles/Orbit/Orbit.d.ts +5 -5
  137. package/Options/Classes/Particles/Orbit/Orbit.js +2 -2
  138. package/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +1 -1
  139. package/Options/Classes/Particles/ParticlesOptions.d.ts +16 -16
  140. package/Options/Classes/Particles/ParticlesOptions.js +13 -13
  141. package/Options/Classes/Particles/Repulse/Repulse.d.ts +1 -1
  142. package/Options/Classes/Particles/Roll/Roll.d.ts +2 -2
  143. package/Options/Classes/Particles/Roll/RollLight.d.ts +1 -1
  144. package/Options/Classes/Particles/Rotate/Rotate.d.ts +3 -3
  145. package/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +1 -1
  146. package/Options/Classes/Particles/Shadow.d.ts +3 -3
  147. package/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
  148. package/Options/Classes/Particles/Size/Size.d.ts +2 -2
  149. package/Options/Classes/Particles/Size/SizeAnimation.d.ts +3 -3
  150. package/Options/Classes/Particles/Stroke.d.ts +2 -2
  151. package/Options/Classes/Particles/Tilt/Tilt.d.ts +3 -3
  152. package/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +1 -1
  153. package/Options/Classes/Particles/Twinkle/Twinkle.d.ts +1 -1
  154. package/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +2 -2
  155. package/Options/Classes/Particles/Wobble/Wobble.d.ts +2 -2
  156. package/Options/Classes/Particles/ZIndex/ZIndex.d.ts +1 -1
  157. package/Options/Classes/Random.d.ts +1 -1
  158. package/Options/Classes/Responsive.d.ts +2 -2
  159. package/Options/Classes/Theme/Theme.d.ts +2 -2
  160. package/Options/Classes/Theme/Theme.js +1 -1
  161. package/Options/Classes/Theme/ThemeDefault.d.ts +2 -2
  162. package/Options/Classes/ValueWithRandom.d.ts +2 -2
  163. package/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +1 -1
  164. package/Options/Interfaces/IAnimatableColor.d.ts +1 -1
  165. package/Options/Interfaces/IAnimatableGradient.d.ts +1 -1
  166. package/Options/Interfaces/IColorAnimation.d.ts +1 -1
  167. package/Options/Interfaces/IManualParticle.d.ts +1 -1
  168. package/Options/Interfaces/IOptions.d.ts +6 -6
  169. package/Options/Interfaces/IOptionsGradient.d.ts +2 -2
  170. package/Options/Interfaces/IResponsive.d.ts +2 -2
  171. package/Options/Interfaces/IValueWithRandom.d.ts +1 -1
  172. package/Options/Interfaces/Interactivity/Events/IEvents.d.ts +1 -1
  173. package/Options/Interfaces/Interactivity/IInteractivity.d.ts +1 -1
  174. package/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +2 -2
  175. package/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +1 -1
  176. package/Options/Interfaces/Interactivity/Modes/IModes.d.ts +2 -2
  177. package/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +2 -2
  178. package/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +1 -1
  179. package/Options/Interfaces/Particles/Destroy/ISplit.d.ts +1 -1
  180. package/Options/Interfaces/Particles/IParticles.d.ts +14 -14
  181. package/Options/Interfaces/Particles/IShadow.d.ts +1 -1
  182. package/Options/Interfaces/Particles/IStroke.d.ts +1 -1
  183. package/Options/Interfaces/Particles/Links/ILinks.d.ts +1 -1
  184. package/Options/Interfaces/Particles/Move/IMove.d.ts +5 -5
  185. package/Options/Interfaces/Particles/Move/Path/{iPath.d.ts → IPath.d.ts} +0 -0
  186. package/Options/Interfaces/Particles/Move/Path/{iPath.js → IPath.js} +0 -0
  187. package/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +3 -3
  188. package/Options/Interfaces/Particles/Roll/IRoll.d.ts +1 -1
  189. package/Options/Interfaces/Particles/Rotate/IRotate.d.ts +1 -1
  190. package/Options/Interfaces/Particles/Shape/IShape.d.ts +3 -3
  191. package/Options/Interfaces/Particles/Tilt/ITilt.d.ts +1 -1
  192. package/Options/Interfaces/Theme/ITheme.d.ts +2 -2
  193. package/Plugins/Absorbers/AbsorberInstance.d.ts +5 -4
  194. package/Plugins/Absorbers/AbsorberInstance.js +18 -18
  195. package/Plugins/Absorbers/Absorbers.d.ts +3 -3
  196. package/Plugins/Absorbers/Absorbers.js +1 -1
  197. package/Plugins/Absorbers/Options/Classes/Absorber.d.ts +4 -4
  198. package/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +2 -2
  199. package/Plugins/Absorbers/Options/Classes/AbsorberSize.js +1 -1
  200. package/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +2 -2
  201. package/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +1 -2
  202. package/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +1 -1
  203. package/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +1 -1
  204. package/Plugins/Absorbers/index.d.ts +1 -1
  205. package/Plugins/Absorbers/index.js +3 -3
  206. package/Plugins/Emitters/EmitterContainer.d.ts +2 -1
  207. package/Plugins/Emitters/EmitterInstance.d.ts +10 -5
  208. package/Plugins/Emitters/EmitterInstance.js +78 -49
  209. package/Plugins/Emitters/Emitters.d.ts +6 -4
  210. package/Plugins/Emitters/Emitters.js +27 -4
  211. package/{browser/Plugins/Emitters/EmittersMain.d.ts → Plugins/Emitters/EmittersEngine.d.ts} +3 -1
  212. package/Plugins/Emitters/{EmittersMain.js → EmittersEngine.js} +0 -0
  213. package/Plugins/Emitters/IEmitterShape.d.ts +2 -2
  214. package/Plugins/Emitters/Options/Classes/Emitter.d.ts +8 -7
  215. package/Plugins/Emitters/Options/Classes/Emitter.js +4 -3
  216. package/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +1 -1
  217. package/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +1 -1
  218. package/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +1 -1
  219. package/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +7 -6
  220. package/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +1 -1
  221. package/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +1 -1
  222. package/Plugins/Emitters/ShapeManager.d.ts +6 -3
  223. package/Plugins/Emitters/ShapeManager.js +16 -4
  224. package/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +2 -2
  225. package/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -2
  226. package/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +2 -2
  227. package/Plugins/Emitters/Shapes/Square/SquareShape.js +4 -4
  228. package/Plugins/Emitters/index.d.ts +3 -3
  229. package/Plugins/Emitters/index.js +33 -14
  230. package/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +5 -5
  231. package/Plugins/PolygonMask/Options/Classes/PolygonMask.js +1 -1
  232. package/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +2 -2
  233. package/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.js +1 -1
  234. package/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +2 -2
  235. package/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +2 -2
  236. package/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +3 -3
  237. package/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +2 -2
  238. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +3 -3
  239. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +1 -1
  240. package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +1 -1
  241. package/Plugins/PolygonMask/PolygonMaskInstance.d.ts +3 -3
  242. package/Plugins/PolygonMask/PolygonMaskInstance.js +12 -12
  243. package/Plugins/PolygonMask/Types.d.ts +1 -1
  244. package/Plugins/PolygonMask/index.d.ts +1 -1
  245. package/Plugins/PolygonMask/index.js +3 -3
  246. package/README.md +162 -18
  247. package/Shapes/Circle/index.d.ts +1 -1
  248. package/Shapes/Circle/index.js +2 -2
  249. package/Shapes/Image/index.d.ts +1 -1
  250. package/Shapes/Image/index.js +3 -3
  251. package/Shapes/Line/index.d.ts +1 -1
  252. package/Shapes/Line/index.js +2 -2
  253. package/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  254. package/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  255. package/Shapes/Polygon/index.d.ts +3 -3
  256. package/Shapes/Polygon/index.js +7 -7
  257. package/Shapes/Square/index.d.ts +1 -1
  258. package/Shapes/Square/index.js +3 -3
  259. package/Shapes/Star/index.d.ts +1 -1
  260. package/Shapes/Star/index.js +2 -2
  261. package/Shapes/Text/index.d.ts +1 -1
  262. package/Shapes/Text/index.js +2 -2
  263. package/Types/ShapeData.d.ts +1 -1
  264. package/Types/ShapeDrawerFunctions.d.ts +1 -1
  265. package/Updaters/Angle/index.d.ts +1 -1
  266. package/Updaters/Angle/index.js +2 -2
  267. package/Updaters/Color/index.d.ts +1 -1
  268. package/Updaters/Color/index.js +2 -2
  269. package/Updaters/Life/index.d.ts +1 -1
  270. package/Updaters/Life/index.js +2 -2
  271. package/Updaters/Opacity/index.d.ts +1 -1
  272. package/Updaters/Opacity/index.js +2 -2
  273. package/Updaters/OutModes/IBounceData.d.ts +1 -1
  274. package/Updaters/OutModes/OutOfCanvasUpdater.js +9 -9
  275. package/Updaters/OutModes/index.d.ts +1 -1
  276. package/Updaters/OutModes/index.js +2 -2
  277. package/Updaters/Roll/index.d.ts +1 -1
  278. package/Updaters/Roll/index.js +2 -2
  279. package/Updaters/Size/index.d.ts +1 -1
  280. package/Updaters/Size/index.js +2 -2
  281. package/Updaters/StrokeColor/index.d.ts +1 -1
  282. package/Updaters/StrokeColor/index.js +2 -2
  283. package/Updaters/Tilt/index.d.ts +1 -1
  284. package/Updaters/Tilt/index.js +2 -2
  285. package/Updaters/Wobble/index.d.ts +1 -1
  286. package/Updaters/Wobble/index.js +2 -2
  287. package/Utils/CanvasUtils.d.ts +2 -3
  288. package/Utils/CanvasUtils.js +1 -1
  289. package/Utils/ColorUtils.js +1 -1
  290. package/Utils/NumberUtils.d.ts +2 -2
  291. package/Utils/Utils.d.ts +3 -3
  292. package/browser/Core/Canvas.d.ts +1 -1
  293. package/browser/Core/Canvas.js +1 -1
  294. package/browser/Core/Container.d.ts +9 -6
  295. package/browser/Core/Container.js +34 -18
  296. package/browser/Core/Interfaces/Gradients.d.ts +2 -2
  297. package/browser/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  298. package/browser/Core/Interfaces/IContainerPlugin.d.ts +4 -4
  299. package/browser/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  300. package/browser/Core/Interfaces/IInteractor.d.ts +1 -1
  301. package/browser/Core/Interfaces/IParticle.d.ts +8 -8
  302. package/browser/Core/Interfaces/IParticleGradientAnimation.d.ts +1 -1
  303. package/browser/Core/Interfaces/IParticleSpin.d.ts +1 -1
  304. package/browser/Core/Interfaces/IParticlesInteractor.d.ts +2 -2
  305. package/browser/Core/Interfaces/IPlugin.d.ts +1 -1
  306. package/browser/Core/Loader.d.ts +13 -10
  307. package/browser/Core/Loader.js +36 -20
  308. package/browser/Core/Particle.d.ts +6 -4
  309. package/browser/Core/Particle.js +19 -4
  310. package/browser/Core/Particles.d.ts +6 -4
  311. package/browser/Core/Particles.js +22 -7
  312. package/browser/Core/Utils/Circle.d.ts +1 -1
  313. package/browser/Core/Utils/CircleWarp.d.ts +1 -1
  314. package/browser/Core/Utils/CircleWarp.js +1 -1
  315. package/browser/Core/Utils/EventListeners.js +1 -1
  316. package/browser/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  317. package/browser/Core/Utils/InteractionManager.d.ts +6 -4
  318. package/browser/Core/Utils/InteractionManager.js +19 -3
  319. package/browser/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  320. package/browser/Core/Utils/ParticlesMover.d.ts +1 -1
  321. package/browser/Core/Utils/Plugins.d.ts +30 -16
  322. package/browser/Core/Utils/Plugins.js +58 -46
  323. package/browser/Core/Utils/QuadTree.d.ts +3 -3
  324. package/browser/Core/Utils/QuadTree.js +1 -1
  325. package/browser/Core/Utils/Rectangle.d.ts +1 -1
  326. package/browser/Core/Utils/Vector3d.d.ts +1 -1
  327. package/browser/Interactions/External/Attract/Attractor.d.ts +1 -1
  328. package/browser/Interactions/External/Attract/Attractor.js +1 -1
  329. package/browser/Interactions/External/Attract/index.d.ts +1 -1
  330. package/browser/Interactions/External/Attract/index.js +2 -2
  331. package/browser/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  332. package/browser/Interactions/External/Bounce/Bouncer.js +1 -1
  333. package/browser/Interactions/External/Bounce/index.d.ts +1 -1
  334. package/browser/Interactions/External/Bounce/index.js +2 -2
  335. package/browser/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  336. package/browser/Interactions/External/Bubble/Bubbler.js +1 -1
  337. package/browser/Interactions/External/Bubble/index.d.ts +1 -1
  338. package/browser/Interactions/External/Bubble/index.js +2 -2
  339. package/browser/Interactions/External/Connect/Connector.js +1 -1
  340. package/browser/Interactions/External/Connect/index.d.ts +1 -1
  341. package/browser/Interactions/External/Connect/index.js +2 -2
  342. package/browser/Interactions/External/Grab/Grabber.d.ts +1 -1
  343. package/browser/Interactions/External/Grab/Grabber.js +1 -1
  344. package/browser/Interactions/External/Grab/index.d.ts +1 -1
  345. package/browser/Interactions/External/Grab/index.js +2 -2
  346. package/browser/Interactions/External/Repulse/Repulser.d.ts +1 -1
  347. package/browser/Interactions/External/Repulse/Repulser.js +1 -1
  348. package/browser/Interactions/External/Repulse/index.d.ts +1 -1
  349. package/browser/Interactions/External/Repulse/index.js +2 -2
  350. package/browser/Interactions/External/Trail/TrailMaker.js +1 -1
  351. package/browser/Interactions/External/Trail/index.d.ts +1 -1
  352. package/browser/Interactions/External/Trail/index.js +2 -2
  353. package/browser/Interactions/Particles/Attract/Attractor.js +1 -1
  354. package/browser/Interactions/Particles/Attract/index.d.ts +1 -1
  355. package/browser/Interactions/Particles/Attract/index.js +2 -2
  356. package/browser/Interactions/Particles/Collisions/index.d.ts +1 -1
  357. package/browser/Interactions/Particles/Collisions/index.js +2 -2
  358. package/browser/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  359. package/browser/Interactions/Particles/Links/Linker.d.ts +1 -1
  360. package/browser/Interactions/Particles/Links/Linker.js +1 -1
  361. package/browser/Interactions/Particles/Links/index.d.ts +1 -1
  362. package/browser/Interactions/Particles/Links/index.js +4 -4
  363. package/browser/Interactions/Particles/Links/interaction.d.ts +1 -1
  364. package/browser/Interactions/Particles/Links/interaction.js +2 -2
  365. package/browser/Interactions/Particles/Links/plugin.d.ts +1 -1
  366. package/browser/Interactions/Particles/Links/plugin.js +2 -2
  367. package/browser/Options/Classes/AnimatableColor.d.ts +3 -3
  368. package/browser/Options/Classes/AnimatableColor.js +1 -1
  369. package/browser/Options/Classes/AnimatableGradient.d.ts +6 -6
  370. package/browser/Options/Classes/AnimationOptions.d.ts +2 -2
  371. package/browser/Options/Classes/Background/Background.d.ts +2 -2
  372. package/browser/Options/Classes/BackgroundMask/BackgroundMask.d.ts +2 -2
  373. package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +2 -2
  374. package/browser/Options/Classes/ColorAnimation.d.ts +1 -1
  375. package/browser/Options/Classes/HslAnimation.d.ts +2 -2
  376. package/browser/Options/Classes/Interactivity/Events/ClickEvent.d.ts +2 -2
  377. package/browser/Options/Classes/Interactivity/Events/DivEvent.d.ts +1 -1
  378. package/browser/Options/Classes/Interactivity/Events/Events.d.ts +2 -2
  379. package/browser/Options/Classes/Interactivity/Events/HoverEvent.d.ts +3 -3
  380. package/browser/Options/Classes/Interactivity/Events/Parallax.d.ts +1 -1
  381. package/browser/Options/Classes/Interactivity/Interactivity.d.ts +2 -2
  382. package/browser/Options/Classes/Interactivity/Modes/Attract.d.ts +2 -2
  383. package/browser/Options/Classes/Interactivity/Modes/Bubble.d.ts +2 -2
  384. package/browser/Options/Classes/Interactivity/Modes/Bubble.js +1 -1
  385. package/browser/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +1 -1
  386. package/browser/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +1 -1
  387. package/browser/Options/Classes/Interactivity/Modes/Connect.d.ts +2 -2
  388. package/browser/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +1 -1
  389. package/browser/Options/Classes/Interactivity/Modes/Grab.d.ts +2 -2
  390. package/browser/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +2 -2
  391. package/browser/Options/Classes/Interactivity/Modes/Light.d.ts +1 -1
  392. package/browser/Options/Classes/Interactivity/Modes/Modes.d.ts +7 -7
  393. package/browser/Options/Classes/Interactivity/Modes/Modes.js +4 -4
  394. package/browser/Options/Classes/Interactivity/Modes/Push.d.ts +1 -1
  395. package/browser/Options/Classes/Interactivity/Modes/Remove.d.ts +1 -1
  396. package/browser/Options/Classes/Interactivity/Modes/Repulse.d.ts +3 -3
  397. package/browser/Options/Classes/Interactivity/Modes/Repulse.js +1 -1
  398. package/browser/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +2 -2
  399. package/browser/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +1 -1
  400. package/browser/Options/Classes/Interactivity/Modes/Slow.d.ts +1 -1
  401. package/browser/Options/Classes/Interactivity/Modes/Trail.d.ts +2 -2
  402. package/browser/Options/Classes/ManualParticle.d.ts +2 -2
  403. package/browser/Options/Classes/Motion/Motion.d.ts +1 -1
  404. package/browser/Options/Classes/Options.d.ts +9 -8
  405. package/browser/Options/Classes/Options.js +20 -13
  406. package/browser/Options/Classes/OptionsColor.d.ts +2 -2
  407. package/browser/Options/Classes/Particles/Bounce/Bounce.d.ts +1 -1
  408. package/browser/Options/Classes/Particles/Collisions/Collisions.d.ts +4 -4
  409. package/browser/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +2 -2
  410. package/browser/Options/Classes/Particles/Destroy/Destroy.d.ts +1 -1
  411. package/browser/Options/Classes/Particles/Destroy/Split.d.ts +3 -3
  412. package/browser/Options/Classes/Particles/Life/Life.d.ts +1 -1
  413. package/browser/Options/Classes/Particles/Links/Links.d.ts +2 -2
  414. package/browser/Options/Classes/Particles/Links/LinksShadow.d.ts +2 -2
  415. package/browser/Options/Classes/Particles/Links/LinksTriangle.d.ts +1 -1
  416. package/browser/Options/Classes/Particles/Move/Attract.d.ts +2 -2
  417. package/browser/Options/Classes/Particles/Move/Move.d.ts +5 -5
  418. package/browser/Options/Classes/Particles/Move/Move.js +3 -3
  419. package/browser/Options/Classes/Particles/Move/OutModes.d.ts +2 -2
  420. package/browser/Options/Classes/Particles/Move/Path/Path.d.ts +3 -3
  421. package/browser/Options/Classes/Particles/Move/Spin.d.ts +3 -3
  422. package/browser/Options/Classes/Particles/Move/Trail.d.ts +2 -2
  423. package/browser/Options/Classes/Particles/Number/Density.d.ts +1 -1
  424. package/browser/Options/Classes/Particles/Number/ParticlesNumber.d.ts +2 -2
  425. package/browser/Options/Classes/Particles/Opacity/Opacity.d.ts +1 -1
  426. package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +3 -3
  427. package/browser/Options/Classes/Particles/Orbit/Orbit.d.ts +5 -5
  428. package/browser/Options/Classes/Particles/Orbit/Orbit.js +2 -2
  429. package/browser/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +1 -1
  430. package/browser/Options/Classes/Particles/ParticlesOptions.d.ts +16 -16
  431. package/browser/Options/Classes/Particles/ParticlesOptions.js +13 -13
  432. package/browser/Options/Classes/Particles/Repulse/Repulse.d.ts +1 -1
  433. package/browser/Options/Classes/Particles/Roll/Roll.d.ts +2 -2
  434. package/browser/Options/Classes/Particles/Roll/RollLight.d.ts +1 -1
  435. package/browser/Options/Classes/Particles/Rotate/Rotate.d.ts +3 -3
  436. package/browser/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +1 -1
  437. package/browser/Options/Classes/Particles/Shadow.d.ts +3 -3
  438. package/browser/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
  439. package/browser/Options/Classes/Particles/Size/Size.d.ts +2 -2
  440. package/browser/Options/Classes/Particles/Size/SizeAnimation.d.ts +3 -3
  441. package/browser/Options/Classes/Particles/Stroke.d.ts +2 -2
  442. package/browser/Options/Classes/Particles/Tilt/Tilt.d.ts +3 -3
  443. package/browser/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +1 -1
  444. package/browser/Options/Classes/Particles/Twinkle/Twinkle.d.ts +1 -1
  445. package/browser/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +2 -2
  446. package/browser/Options/Classes/Particles/Wobble/Wobble.d.ts +2 -2
  447. package/browser/Options/Classes/Particles/ZIndex/ZIndex.d.ts +1 -1
  448. package/browser/Options/Classes/Random.d.ts +1 -1
  449. package/browser/Options/Classes/Responsive.d.ts +2 -2
  450. package/browser/Options/Classes/Theme/Theme.d.ts +2 -2
  451. package/browser/Options/Classes/Theme/Theme.js +1 -1
  452. package/browser/Options/Classes/Theme/ThemeDefault.d.ts +2 -2
  453. package/browser/Options/Classes/ValueWithRandom.d.ts +2 -2
  454. package/browser/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +1 -1
  455. package/browser/Options/Interfaces/IAnimatableColor.d.ts +1 -1
  456. package/browser/Options/Interfaces/IAnimatableGradient.d.ts +1 -1
  457. package/browser/Options/Interfaces/IColorAnimation.d.ts +1 -1
  458. package/browser/Options/Interfaces/IColorAnimation.js +0 -4
  459. package/browser/Options/Interfaces/IManualParticle.d.ts +1 -1
  460. package/browser/Options/Interfaces/IOptions.d.ts +6 -6
  461. package/browser/Options/Interfaces/IOptionsGradient.d.ts +2 -2
  462. package/browser/Options/Interfaces/IResponsive.d.ts +2 -2
  463. package/browser/Options/Interfaces/IValueWithRandom.d.ts +1 -1
  464. package/browser/Options/Interfaces/Interactivity/Events/IEvents.d.ts +1 -1
  465. package/browser/Options/Interfaces/Interactivity/IInteractivity.d.ts +1 -1
  466. package/browser/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +2 -2
  467. package/browser/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +1 -1
  468. package/browser/Options/Interfaces/Interactivity/Modes/IModes.d.ts +2 -2
  469. package/browser/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +2 -2
  470. package/browser/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +1 -1
  471. package/browser/Options/Interfaces/Particles/Destroy/ISplit.d.ts +1 -1
  472. package/browser/Options/Interfaces/Particles/IParticles.d.ts +14 -14
  473. package/browser/Options/Interfaces/Particles/IShadow.d.ts +1 -1
  474. package/browser/Options/Interfaces/Particles/IStroke.d.ts +1 -1
  475. package/browser/Options/Interfaces/Particles/Links/ILinks.d.ts +1 -1
  476. package/browser/Options/Interfaces/Particles/Move/IMove.d.ts +5 -5
  477. package/browser/Options/Interfaces/Particles/Move/Path/{iPath.d.ts → IPath.d.ts} +0 -0
  478. package/browser/Options/Interfaces/Particles/Move/Path/{iPath.js → IPath.js} +0 -0
  479. package/browser/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +3 -3
  480. package/browser/Options/Interfaces/Particles/Roll/IRoll.d.ts +1 -1
  481. package/browser/Options/Interfaces/Particles/Rotate/IRotate.d.ts +1 -1
  482. package/browser/Options/Interfaces/Particles/Shape/IShape.d.ts +3 -3
  483. package/browser/Options/Interfaces/Particles/Tilt/ITilt.d.ts +1 -1
  484. package/browser/Options/Interfaces/Theme/ITheme.d.ts +2 -2
  485. package/browser/Plugins/Absorbers/AbsorberInstance.d.ts +5 -4
  486. package/browser/Plugins/Absorbers/AbsorberInstance.js +18 -18
  487. package/browser/Plugins/Absorbers/Absorbers.d.ts +3 -3
  488. package/browser/Plugins/Absorbers/Absorbers.js +1 -1
  489. package/browser/Plugins/Absorbers/Options/Classes/Absorber.d.ts +4 -4
  490. package/browser/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +2 -2
  491. package/browser/Plugins/Absorbers/Options/Classes/AbsorberSize.js +1 -1
  492. package/browser/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +2 -2
  493. package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +1 -2
  494. package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +1 -1
  495. package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +1 -1
  496. package/browser/Plugins/Absorbers/index.d.ts +1 -1
  497. package/browser/Plugins/Absorbers/index.js +3 -3
  498. package/browser/Plugins/Emitters/EmitterContainer.d.ts +2 -1
  499. package/browser/Plugins/Emitters/EmitterInstance.d.ts +10 -5
  500. package/browser/Plugins/Emitters/EmitterInstance.js +78 -49
  501. package/browser/Plugins/Emitters/Emitters.d.ts +6 -4
  502. package/browser/Plugins/Emitters/Emitters.js +27 -4
  503. package/{esm/Plugins/Emitters/EmittersMain.d.ts → browser/Plugins/Emitters/EmittersEngine.d.ts} +3 -1
  504. package/browser/Plugins/Emitters/{EmittersMain.js → EmittersEngine.js} +0 -0
  505. package/browser/Plugins/Emitters/IEmitterShape.d.ts +2 -2
  506. package/browser/Plugins/Emitters/Options/Classes/Emitter.d.ts +8 -7
  507. package/browser/Plugins/Emitters/Options/Classes/Emitter.js +4 -3
  508. package/browser/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +1 -1
  509. package/browser/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +1 -1
  510. package/browser/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +1 -1
  511. package/browser/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +10 -6
  512. package/browser/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +1 -1
  513. package/browser/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +1 -1
  514. package/browser/Plugins/Emitters/ShapeManager.d.ts +6 -3
  515. package/browser/Plugins/Emitters/ShapeManager.js +16 -4
  516. package/browser/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +2 -2
  517. package/browser/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -2
  518. package/browser/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +2 -2
  519. package/browser/Plugins/Emitters/Shapes/Square/SquareShape.js +4 -4
  520. package/browser/Plugins/Emitters/index.d.ts +3 -3
  521. package/browser/Plugins/Emitters/index.js +33 -14
  522. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +5 -5
  523. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.js +1 -1
  524. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +2 -2
  525. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.js +1 -1
  526. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +2 -2
  527. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +2 -2
  528. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +3 -3
  529. package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +2 -2
  530. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +3 -3
  531. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +1 -1
  532. package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +1 -1
  533. package/browser/Plugins/PolygonMask/PolygonMaskInstance.d.ts +3 -3
  534. package/browser/Plugins/PolygonMask/PolygonMaskInstance.js +2 -2
  535. package/browser/Plugins/PolygonMask/Types.d.ts +1 -1
  536. package/browser/Plugins/PolygonMask/index.d.ts +1 -1
  537. package/browser/Plugins/PolygonMask/index.js +3 -3
  538. package/browser/Shapes/Circle/index.d.ts +1 -1
  539. package/browser/Shapes/Circle/index.js +2 -2
  540. package/browser/Shapes/Image/index.d.ts +1 -1
  541. package/browser/Shapes/Image/index.js +3 -3
  542. package/browser/Shapes/Line/index.d.ts +1 -1
  543. package/browser/Shapes/Line/index.js +2 -2
  544. package/browser/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  545. package/browser/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  546. package/browser/Shapes/Polygon/index.d.ts +3 -3
  547. package/browser/Shapes/Polygon/index.js +7 -7
  548. package/browser/Shapes/Square/index.d.ts +1 -1
  549. package/browser/Shapes/Square/index.js +3 -3
  550. package/browser/Shapes/Star/index.d.ts +1 -1
  551. package/browser/Shapes/Star/index.js +2 -2
  552. package/browser/Shapes/Text/index.d.ts +1 -1
  553. package/browser/Shapes/Text/index.js +3 -3
  554. package/browser/Types/ShapeData.d.ts +1 -1
  555. package/browser/Types/ShapeDrawerFunctions.d.ts +1 -1
  556. package/browser/Updaters/Angle/index.d.ts +1 -1
  557. package/browser/Updaters/Angle/index.js +2 -2
  558. package/browser/Updaters/Color/index.d.ts +1 -1
  559. package/browser/Updaters/Color/index.js +2 -2
  560. package/browser/Updaters/Life/index.d.ts +1 -1
  561. package/browser/Updaters/Life/index.js +2 -2
  562. package/browser/Updaters/Opacity/index.d.ts +1 -1
  563. package/browser/Updaters/Opacity/index.js +2 -2
  564. package/browser/Updaters/OutModes/IBounceData.d.ts +1 -1
  565. package/browser/Updaters/OutModes/OutOfCanvasUpdater.js +1 -1
  566. package/browser/Updaters/OutModes/index.d.ts +1 -1
  567. package/browser/Updaters/OutModes/index.js +2 -2
  568. package/browser/Updaters/Roll/index.d.ts +1 -1
  569. package/browser/Updaters/Roll/index.js +2 -2
  570. package/browser/Updaters/Size/index.d.ts +1 -1
  571. package/browser/Updaters/Size/index.js +2 -2
  572. package/browser/Updaters/StrokeColor/index.d.ts +1 -1
  573. package/browser/Updaters/StrokeColor/index.js +2 -2
  574. package/browser/Updaters/Tilt/index.d.ts +1 -1
  575. package/browser/Updaters/Tilt/index.js +2 -2
  576. package/browser/Updaters/Wobble/index.d.ts +1 -1
  577. package/browser/Updaters/Wobble/index.js +2 -2
  578. package/browser/Utils/CanvasUtils.d.ts +2 -3
  579. package/browser/Utils/CanvasUtils.js +1 -1
  580. package/browser/Utils/ColorUtils.js +1 -1
  581. package/browser/Utils/NumberUtils.d.ts +2 -2
  582. package/browser/Utils/Utils.d.ts +3 -3
  583. package/browser/Utils/Utils.js +1 -1
  584. package/browser/engine.d.ts +7 -3
  585. package/browser/engine.js +22 -17
  586. package/browser/full.d.ts +1 -1
  587. package/browser/full.js +14 -14
  588. package/browser/index.d.ts +1 -1
  589. package/browser/index.engine.d.ts +1 -1
  590. package/browser/index.engine.js +1 -1
  591. package/browser/index.js +1 -1
  592. package/browser/index.slim.d.ts +1 -1
  593. package/browser/index.slim.js +1 -1
  594. package/browser/pjs.d.ts +1 -1
  595. package/browser/slim.d.ts +1 -1
  596. package/browser/slim.js +40 -40
  597. package/engine.d.ts +5 -2
  598. package/engine.js +20 -16
  599. package/esm/Core/Canvas.d.ts +1 -1
  600. package/esm/Core/Canvas.js +1 -1
  601. package/esm/Core/Container.d.ts +8 -6
  602. package/esm/Core/Container.js +33 -18
  603. package/esm/Core/Interfaces/Gradients.d.ts +2 -2
  604. package/esm/Core/Interfaces/ICircleBouncer.d.ts +1 -1
  605. package/esm/Core/Interfaces/IContainerPlugin.d.ts +4 -4
  606. package/esm/Core/Interfaces/IExternalInteractor.d.ts +1 -1
  607. package/esm/Core/Interfaces/IInteractor.d.ts +1 -1
  608. package/esm/Core/Interfaces/IParticle.d.ts +8 -8
  609. package/esm/Core/Interfaces/IParticleGradientAnimation.d.ts +1 -1
  610. package/esm/Core/Interfaces/IParticleSpin.d.ts +1 -1
  611. package/esm/Core/Interfaces/IParticlesInteractor.d.ts +2 -2
  612. package/esm/Core/Interfaces/IPlugin.d.ts +1 -1
  613. package/esm/Core/Loader.d.ts +13 -10
  614. package/esm/Core/Loader.js +36 -20
  615. package/esm/Core/Particle.d.ts +6 -4
  616. package/esm/Core/Particle.js +19 -4
  617. package/esm/Core/Particles.d.ts +6 -4
  618. package/esm/Core/Particles.js +22 -7
  619. package/esm/Core/Utils/Circle.d.ts +1 -1
  620. package/esm/Core/Utils/CircleWarp.d.ts +1 -1
  621. package/esm/Core/Utils/CircleWarp.js +1 -1
  622. package/esm/Core/Utils/EventListeners.js +1 -1
  623. package/esm/Core/Utils/ExternalInteractorBase.d.ts +1 -1
  624. package/esm/Core/Utils/InteractionManager.d.ts +6 -4
  625. package/esm/Core/Utils/InteractionManager.js +19 -3
  626. package/esm/Core/Utils/ParticlesInteractorBase.d.ts +1 -1
  627. package/esm/Core/Utils/ParticlesMover.d.ts +1 -1
  628. package/esm/Core/Utils/Plugins.d.ts +30 -16
  629. package/esm/Core/Utils/Plugins.js +58 -46
  630. package/esm/Core/Utils/QuadTree.d.ts +3 -3
  631. package/esm/Core/Utils/QuadTree.js +1 -1
  632. package/esm/Core/Utils/Rectangle.d.ts +1 -1
  633. package/esm/Core/Utils/Vector3d.d.ts +1 -1
  634. package/esm/Interactions/External/Attract/Attractor.d.ts +1 -1
  635. package/esm/Interactions/External/Attract/Attractor.js +1 -1
  636. package/esm/Interactions/External/Attract/index.d.ts +1 -1
  637. package/esm/Interactions/External/Attract/index.js +2 -2
  638. package/esm/Interactions/External/Bounce/Bouncer.d.ts +1 -1
  639. package/esm/Interactions/External/Bounce/Bouncer.js +1 -1
  640. package/esm/Interactions/External/Bounce/index.d.ts +1 -1
  641. package/esm/Interactions/External/Bounce/index.js +2 -2
  642. package/esm/Interactions/External/Bubble/Bubbler.d.ts +1 -1
  643. package/esm/Interactions/External/Bubble/Bubbler.js +1 -1
  644. package/esm/Interactions/External/Bubble/index.d.ts +1 -1
  645. package/esm/Interactions/External/Bubble/index.js +2 -2
  646. package/esm/Interactions/External/Connect/Connector.js +1 -1
  647. package/esm/Interactions/External/Connect/index.d.ts +1 -1
  648. package/esm/Interactions/External/Connect/index.js +2 -2
  649. package/esm/Interactions/External/Grab/Grabber.d.ts +1 -1
  650. package/esm/Interactions/External/Grab/Grabber.js +1 -1
  651. package/esm/Interactions/External/Grab/index.d.ts +1 -1
  652. package/esm/Interactions/External/Grab/index.js +2 -2
  653. package/esm/Interactions/External/Repulse/Repulser.d.ts +1 -1
  654. package/esm/Interactions/External/Repulse/Repulser.js +1 -1
  655. package/esm/Interactions/External/Repulse/index.d.ts +1 -1
  656. package/esm/Interactions/External/Repulse/index.js +2 -2
  657. package/esm/Interactions/External/Trail/TrailMaker.js +1 -1
  658. package/esm/Interactions/External/Trail/index.d.ts +1 -1
  659. package/esm/Interactions/External/Trail/index.js +2 -2
  660. package/esm/Interactions/Particles/Attract/Attractor.js +1 -1
  661. package/esm/Interactions/Particles/Attract/index.d.ts +1 -1
  662. package/esm/Interactions/Particles/Attract/index.js +2 -2
  663. package/esm/Interactions/Particles/Collisions/index.d.ts +1 -1
  664. package/esm/Interactions/Particles/Collisions/index.js +2 -2
  665. package/esm/Interactions/Particles/Links/LinkParticle.d.ts +1 -1
  666. package/esm/Interactions/Particles/Links/Linker.d.ts +1 -1
  667. package/esm/Interactions/Particles/Links/Linker.js +1 -1
  668. package/esm/Interactions/Particles/Links/index.d.ts +1 -1
  669. package/esm/Interactions/Particles/Links/index.js +4 -4
  670. package/esm/Interactions/Particles/Links/interaction.d.ts +1 -1
  671. package/esm/Interactions/Particles/Links/interaction.js +2 -2
  672. package/esm/Interactions/Particles/Links/plugin.d.ts +1 -1
  673. package/esm/Interactions/Particles/Links/plugin.js +2 -2
  674. package/esm/Options/Classes/AnimatableColor.d.ts +3 -3
  675. package/esm/Options/Classes/AnimatableColor.js +1 -1
  676. package/esm/Options/Classes/AnimatableGradient.d.ts +6 -6
  677. package/esm/Options/Classes/AnimationOptions.d.ts +2 -2
  678. package/esm/Options/Classes/Background/Background.d.ts +2 -2
  679. package/esm/Options/Classes/BackgroundMask/BackgroundMask.d.ts +2 -2
  680. package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +2 -2
  681. package/esm/Options/Classes/ColorAnimation.d.ts +1 -1
  682. package/esm/Options/Classes/HslAnimation.d.ts +2 -2
  683. package/esm/Options/Classes/Interactivity/Events/ClickEvent.d.ts +2 -2
  684. package/esm/Options/Classes/Interactivity/Events/DivEvent.d.ts +1 -1
  685. package/esm/Options/Classes/Interactivity/Events/Events.d.ts +2 -2
  686. package/esm/Options/Classes/Interactivity/Events/HoverEvent.d.ts +3 -3
  687. package/esm/Options/Classes/Interactivity/Events/Parallax.d.ts +1 -1
  688. package/esm/Options/Classes/Interactivity/Interactivity.d.ts +2 -2
  689. package/esm/Options/Classes/Interactivity/Modes/Attract.d.ts +2 -2
  690. package/esm/Options/Classes/Interactivity/Modes/Bubble.d.ts +2 -2
  691. package/esm/Options/Classes/Interactivity/Modes/Bubble.js +1 -1
  692. package/esm/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +1 -1
  693. package/esm/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +1 -1
  694. package/esm/Options/Classes/Interactivity/Modes/Connect.d.ts +2 -2
  695. package/esm/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +1 -1
  696. package/esm/Options/Classes/Interactivity/Modes/Grab.d.ts +2 -2
  697. package/esm/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +2 -2
  698. package/esm/Options/Classes/Interactivity/Modes/Light.d.ts +1 -1
  699. package/esm/Options/Classes/Interactivity/Modes/Modes.d.ts +7 -7
  700. package/esm/Options/Classes/Interactivity/Modes/Modes.js +4 -4
  701. package/esm/Options/Classes/Interactivity/Modes/Push.d.ts +1 -1
  702. package/esm/Options/Classes/Interactivity/Modes/Remove.d.ts +1 -1
  703. package/esm/Options/Classes/Interactivity/Modes/Repulse.d.ts +3 -3
  704. package/esm/Options/Classes/Interactivity/Modes/Repulse.js +1 -1
  705. package/esm/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +2 -2
  706. package/esm/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +1 -1
  707. package/esm/Options/Classes/Interactivity/Modes/Slow.d.ts +1 -1
  708. package/esm/Options/Classes/Interactivity/Modes/Trail.d.ts +2 -2
  709. package/esm/Options/Classes/ManualParticle.d.ts +2 -2
  710. package/esm/Options/Classes/Motion/Motion.d.ts +1 -1
  711. package/esm/Options/Classes/Options.d.ts +9 -8
  712. package/esm/Options/Classes/Options.js +20 -13
  713. package/esm/Options/Classes/OptionsColor.d.ts +2 -2
  714. package/esm/Options/Classes/Particles/Bounce/Bounce.d.ts +1 -1
  715. package/esm/Options/Classes/Particles/Collisions/Collisions.d.ts +4 -4
  716. package/esm/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +2 -2
  717. package/esm/Options/Classes/Particles/Destroy/Destroy.d.ts +1 -1
  718. package/esm/Options/Classes/Particles/Destroy/Split.d.ts +3 -3
  719. package/esm/Options/Classes/Particles/Life/Life.d.ts +1 -1
  720. package/esm/Options/Classes/Particles/Links/Links.d.ts +2 -2
  721. package/esm/Options/Classes/Particles/Links/LinksShadow.d.ts +2 -2
  722. package/esm/Options/Classes/Particles/Links/LinksTriangle.d.ts +1 -1
  723. package/esm/Options/Classes/Particles/Move/Attract.d.ts +2 -2
  724. package/esm/Options/Classes/Particles/Move/Move.d.ts +5 -5
  725. package/esm/Options/Classes/Particles/Move/Move.js +3 -3
  726. package/esm/Options/Classes/Particles/Move/OutModes.d.ts +2 -2
  727. package/esm/Options/Classes/Particles/Move/Path/Path.d.ts +3 -3
  728. package/esm/Options/Classes/Particles/Move/Spin.d.ts +3 -3
  729. package/esm/Options/Classes/Particles/Move/Trail.d.ts +2 -2
  730. package/esm/Options/Classes/Particles/Number/Density.d.ts +1 -1
  731. package/esm/Options/Classes/Particles/Number/ParticlesNumber.d.ts +2 -2
  732. package/esm/Options/Classes/Particles/Opacity/Opacity.d.ts +1 -1
  733. package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +3 -3
  734. package/esm/Options/Classes/Particles/Orbit/Orbit.d.ts +5 -5
  735. package/esm/Options/Classes/Particles/Orbit/Orbit.js +2 -2
  736. package/esm/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +1 -1
  737. package/esm/Options/Classes/Particles/ParticlesOptions.d.ts +16 -16
  738. package/esm/Options/Classes/Particles/ParticlesOptions.js +13 -13
  739. package/esm/Options/Classes/Particles/Repulse/Repulse.d.ts +1 -1
  740. package/esm/Options/Classes/Particles/Roll/Roll.d.ts +2 -2
  741. package/esm/Options/Classes/Particles/Roll/RollLight.d.ts +1 -1
  742. package/esm/Options/Classes/Particles/Rotate/Rotate.d.ts +3 -3
  743. package/esm/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +1 -1
  744. package/esm/Options/Classes/Particles/Shadow.d.ts +3 -3
  745. package/esm/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
  746. package/esm/Options/Classes/Particles/Size/Size.d.ts +2 -2
  747. package/esm/Options/Classes/Particles/Size/SizeAnimation.d.ts +3 -3
  748. package/esm/Options/Classes/Particles/Stroke.d.ts +2 -2
  749. package/esm/Options/Classes/Particles/Tilt/Tilt.d.ts +3 -3
  750. package/esm/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +1 -1
  751. package/esm/Options/Classes/Particles/Twinkle/Twinkle.d.ts +1 -1
  752. package/esm/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +2 -2
  753. package/esm/Options/Classes/Particles/Wobble/Wobble.d.ts +2 -2
  754. package/esm/Options/Classes/Particles/ZIndex/ZIndex.d.ts +1 -1
  755. package/esm/Options/Classes/Random.d.ts +1 -1
  756. package/esm/Options/Classes/Responsive.d.ts +2 -2
  757. package/esm/Options/Classes/Theme/Theme.d.ts +2 -2
  758. package/esm/Options/Classes/Theme/Theme.js +1 -1
  759. package/esm/Options/Classes/Theme/ThemeDefault.d.ts +2 -2
  760. package/esm/Options/Classes/ValueWithRandom.d.ts +2 -2
  761. package/esm/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +1 -1
  762. package/esm/Options/Interfaces/IAnimatableColor.d.ts +1 -1
  763. package/esm/Options/Interfaces/IAnimatableGradient.d.ts +1 -1
  764. package/esm/Options/Interfaces/IColorAnimation.d.ts +1 -1
  765. package/esm/Options/Interfaces/IManualParticle.d.ts +1 -1
  766. package/esm/Options/Interfaces/IOptions.d.ts +6 -6
  767. package/esm/Options/Interfaces/IOptionsGradient.d.ts +2 -2
  768. package/esm/Options/Interfaces/IResponsive.d.ts +2 -2
  769. package/esm/Options/Interfaces/IValueWithRandom.d.ts +1 -1
  770. package/esm/Options/Interfaces/Interactivity/Events/IEvents.d.ts +1 -1
  771. package/esm/Options/Interfaces/Interactivity/IInteractivity.d.ts +1 -1
  772. package/esm/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +2 -2
  773. package/esm/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +1 -1
  774. package/esm/Options/Interfaces/Interactivity/Modes/IModes.d.ts +2 -2
  775. package/esm/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +2 -2
  776. package/esm/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +1 -1
  777. package/esm/Options/Interfaces/Particles/Destroy/ISplit.d.ts +1 -1
  778. package/esm/Options/Interfaces/Particles/IParticles.d.ts +14 -14
  779. package/esm/Options/Interfaces/Particles/IShadow.d.ts +1 -1
  780. package/esm/Options/Interfaces/Particles/IStroke.d.ts +1 -1
  781. package/esm/Options/Interfaces/Particles/Links/ILinks.d.ts +1 -1
  782. package/esm/Options/Interfaces/Particles/Move/IMove.d.ts +5 -5
  783. package/esm/Options/Interfaces/Particles/Move/Path/{iPath.d.ts → IPath.d.ts} +0 -0
  784. package/esm/Options/Interfaces/Particles/Move/Path/{iPath.js → IPath.js} +0 -0
  785. package/esm/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +3 -3
  786. package/esm/Options/Interfaces/Particles/Roll/IRoll.d.ts +1 -1
  787. package/esm/Options/Interfaces/Particles/Rotate/IRotate.d.ts +1 -1
  788. package/esm/Options/Interfaces/Particles/Shape/IShape.d.ts +3 -3
  789. package/esm/Options/Interfaces/Particles/Tilt/ITilt.d.ts +1 -1
  790. package/esm/Options/Interfaces/Theme/ITheme.d.ts +2 -2
  791. package/esm/Plugins/Absorbers/AbsorberInstance.d.ts +5 -4
  792. package/esm/Plugins/Absorbers/AbsorberInstance.js +18 -18
  793. package/esm/Plugins/Absorbers/Absorbers.d.ts +3 -3
  794. package/esm/Plugins/Absorbers/Absorbers.js +1 -1
  795. package/esm/Plugins/Absorbers/Options/Classes/Absorber.d.ts +4 -4
  796. package/esm/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +2 -2
  797. package/esm/Plugins/Absorbers/Options/Classes/AbsorberSize.js +1 -1
  798. package/esm/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +2 -2
  799. package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +1 -2
  800. package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +1 -1
  801. package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +1 -1
  802. package/esm/Plugins/Absorbers/index.d.ts +1 -1
  803. package/esm/Plugins/Absorbers/index.js +3 -3
  804. package/esm/Plugins/Emitters/EmitterContainer.d.ts +2 -1
  805. package/esm/Plugins/Emitters/EmitterInstance.d.ts +10 -5
  806. package/esm/Plugins/Emitters/EmitterInstance.js +78 -49
  807. package/esm/Plugins/Emitters/Emitters.d.ts +6 -4
  808. package/esm/Plugins/Emitters/Emitters.js +27 -4
  809. package/{Plugins/Emitters/EmittersMain.d.ts → esm/Plugins/Emitters/EmittersEngine.d.ts} +3 -1
  810. package/esm/Plugins/Emitters/{EmittersMain.js → EmittersEngine.js} +0 -0
  811. package/esm/Plugins/Emitters/IEmitterShape.d.ts +2 -2
  812. package/esm/Plugins/Emitters/Options/Classes/Emitter.d.ts +8 -7
  813. package/esm/Plugins/Emitters/Options/Classes/Emitter.js +4 -3
  814. package/esm/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +1 -1
  815. package/esm/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +1 -1
  816. package/esm/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +1 -1
  817. package/esm/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +7 -6
  818. package/esm/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +1 -1
  819. package/esm/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +1 -1
  820. package/esm/Plugins/Emitters/ShapeManager.d.ts +6 -3
  821. package/esm/Plugins/Emitters/ShapeManager.js +16 -4
  822. package/esm/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +2 -2
  823. package/esm/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -2
  824. package/esm/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +2 -2
  825. package/esm/Plugins/Emitters/Shapes/Square/SquareShape.js +4 -4
  826. package/esm/Plugins/Emitters/index.d.ts +3 -3
  827. package/esm/Plugins/Emitters/index.js +33 -14
  828. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +5 -5
  829. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.js +1 -1
  830. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +2 -2
  831. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.js +1 -1
  832. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +2 -2
  833. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +2 -2
  834. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +3 -3
  835. package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +2 -2
  836. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +3 -3
  837. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +1 -1
  838. package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +1 -1
  839. package/esm/Plugins/PolygonMask/PolygonMaskInstance.d.ts +3 -3
  840. package/esm/Plugins/PolygonMask/PolygonMaskInstance.js +2 -2
  841. package/esm/Plugins/PolygonMask/Types.d.ts +1 -1
  842. package/esm/Plugins/PolygonMask/index.d.ts +1 -1
  843. package/esm/Plugins/PolygonMask/index.js +3 -3
  844. package/esm/Shapes/Circle/index.d.ts +1 -1
  845. package/esm/Shapes/Circle/index.js +2 -2
  846. package/esm/Shapes/Image/index.d.ts +1 -1
  847. package/esm/Shapes/Image/index.js +3 -3
  848. package/esm/Shapes/Line/index.d.ts +1 -1
  849. package/esm/Shapes/Line/index.js +2 -2
  850. package/esm/Shapes/Polygon/PolygonDrawer.d.ts +1 -1
  851. package/esm/Shapes/Polygon/TriangleDrawer.d.ts +1 -1
  852. package/esm/Shapes/Polygon/index.d.ts +3 -3
  853. package/esm/Shapes/Polygon/index.js +7 -7
  854. package/esm/Shapes/Square/index.d.ts +1 -1
  855. package/esm/Shapes/Square/index.js +3 -3
  856. package/esm/Shapes/Star/index.d.ts +1 -1
  857. package/esm/Shapes/Star/index.js +2 -2
  858. package/esm/Shapes/Text/index.d.ts +1 -1
  859. package/esm/Shapes/Text/index.js +3 -3
  860. package/esm/Types/ShapeData.d.ts +1 -1
  861. package/esm/Types/ShapeDrawerFunctions.d.ts +1 -1
  862. package/esm/Updaters/Angle/index.d.ts +1 -1
  863. package/esm/Updaters/Angle/index.js +2 -2
  864. package/esm/Updaters/Color/index.d.ts +1 -1
  865. package/esm/Updaters/Color/index.js +2 -2
  866. package/esm/Updaters/Life/index.d.ts +1 -1
  867. package/esm/Updaters/Life/index.js +2 -2
  868. package/esm/Updaters/Opacity/index.d.ts +1 -1
  869. package/esm/Updaters/Opacity/index.js +2 -2
  870. package/esm/Updaters/OutModes/IBounceData.d.ts +1 -1
  871. package/esm/Updaters/OutModes/OutOfCanvasUpdater.js +1 -1
  872. package/esm/Updaters/OutModes/index.d.ts +1 -1
  873. package/esm/Updaters/OutModes/index.js +2 -2
  874. package/esm/Updaters/Roll/index.d.ts +1 -1
  875. package/esm/Updaters/Roll/index.js +2 -2
  876. package/esm/Updaters/Size/index.d.ts +1 -1
  877. package/esm/Updaters/Size/index.js +2 -2
  878. package/esm/Updaters/StrokeColor/index.d.ts +1 -1
  879. package/esm/Updaters/StrokeColor/index.js +2 -2
  880. package/esm/Updaters/Tilt/index.d.ts +1 -1
  881. package/esm/Updaters/Tilt/index.js +2 -2
  882. package/esm/Updaters/Wobble/index.d.ts +1 -1
  883. package/esm/Updaters/Wobble/index.js +2 -2
  884. package/esm/Utils/CanvasUtils.d.ts +2 -3
  885. package/esm/Utils/CanvasUtils.js +1 -1
  886. package/esm/Utils/ColorUtils.js +1 -1
  887. package/esm/Utils/NumberUtils.d.ts +2 -2
  888. package/esm/Utils/Utils.d.ts +3 -3
  889. package/esm/Utils/Utils.js +1 -1
  890. package/esm/engine.d.ts +5 -2
  891. package/esm/engine.js +20 -16
  892. package/esm/full.d.ts +1 -1
  893. package/esm/full.js +14 -14
  894. package/esm/index.d.ts +1 -1
  895. package/esm/index.engine.d.ts +1 -1
  896. package/esm/index.engine.js +1 -1
  897. package/esm/index.js +1 -1
  898. package/esm/index.slim.d.ts +1 -1
  899. package/esm/index.slim.js +1 -1
  900. package/esm/pjs.d.ts +1 -1
  901. package/esm/slim.d.ts +1 -1
  902. package/esm/slim.js +40 -40
  903. package/full.d.ts +1 -1
  904. package/full.js +14 -14
  905. package/index.d.ts +1 -1
  906. package/index.engine.d.ts +1 -1
  907. package/index.engine.js +1 -1
  908. package/index.js +1 -1
  909. package/index.slim.d.ts +1 -1
  910. package/index.slim.js +1 -1
  911. package/package.json +11 -5
  912. package/pjs.d.ts +1 -1
  913. package/report.html +2 -2
  914. package/report.slim.html +2 -2
  915. package/slim.d.ts +1 -1
  916. package/slim.js +40 -40
  917. package/tsparticles.engine.js +2537 -2428
  918. package/tsparticles.engine.min.js +2 -2
  919. package/tsparticles.interaction.external.attract.js +4093 -3988
  920. package/tsparticles.interaction.external.attract.min.js +2 -2
  921. package/tsparticles.interaction.external.bounce.js +4102 -3997
  922. package/tsparticles.interaction.external.bounce.min.js +2 -2
  923. package/tsparticles.interaction.external.bubble.js +4102 -3997
  924. package/tsparticles.interaction.external.bubble.min.js +2 -2
  925. package/tsparticles.interaction.external.connect.js +4288 -4183
  926. package/tsparticles.interaction.external.connect.min.js +2 -2
  927. package/tsparticles.interaction.external.grab.js +4288 -4183
  928. package/tsparticles.interaction.external.grab.min.js +2 -2
  929. package/tsparticles.interaction.external.repulse.js +4102 -3997
  930. package/tsparticles.interaction.external.repulse.min.js +2 -2
  931. package/tsparticles.interaction.external.trail.js +4288 -4183
  932. package/tsparticles.interaction.external.trail.min.js +2 -2
  933. package/tsparticles.interaction.particles.attract.js +4288 -4183
  934. package/tsparticles.interaction.particles.attract.min.js +2 -2
  935. package/tsparticles.interaction.particles.collisions.js +1249 -1144
  936. package/tsparticles.interaction.particles.collisions.min.js +2 -2
  937. package/tsparticles.interaction.particles.links.js +4400 -4295
  938. package/tsparticles.interaction.particles.links.min.js +2 -2
  939. package/tsparticles.js +5946 -5749
  940. package/tsparticles.min.js +2 -2
  941. package/tsparticles.pathseg.min.js +1 -1
  942. package/tsparticles.plugins.absorbers.js +1210 -1106
  943. package/tsparticles.plugins.absorbers.min.js +2 -2
  944. package/tsparticles.plugins.emitters.js +1875 -1681
  945. package/tsparticles.plugins.emitters.min.js +2 -2
  946. package/tsparticles.plugins.polygonMask.js +2785 -2680
  947. package/tsparticles.plugins.polygonMask.min.js +2 -2
  948. package/tsparticles.shape.circle.js +2 -2
  949. package/tsparticles.shape.circle.min.js +1 -1
  950. package/tsparticles.shape.image.js +1237 -1132
  951. package/tsparticles.shape.image.min.js +2 -2
  952. package/tsparticles.shape.line.js +2 -2
  953. package/tsparticles.shape.line.min.js +1 -1
  954. package/tsparticles.shape.polygon.js +7 -7
  955. package/tsparticles.shape.polygon.min.js +1 -1
  956. package/tsparticles.shape.square.js +3 -3
  957. package/tsparticles.shape.square.min.js +1 -1
  958. package/tsparticles.shape.star.js +2 -2
  959. package/tsparticles.shape.star.min.js +1 -1
  960. package/tsparticles.shape.text.js +1249 -1144
  961. package/tsparticles.shape.text.min.js +2 -2
  962. package/tsparticles.slim.js +3710 -3601
  963. package/tsparticles.slim.min.js +2 -2
  964. package/tsparticles.updater.angle.js +1249 -1144
  965. package/tsparticles.updater.angle.min.js +2 -2
  966. package/tsparticles.updater.color.js +1249 -1144
  967. package/tsparticles.updater.color.min.js +2 -2
  968. package/tsparticles.updater.life.js +1249 -1144
  969. package/tsparticles.updater.life.min.js +2 -2
  970. package/tsparticles.updater.opacity.js +1249 -1144
  971. package/tsparticles.updater.opacity.min.js +2 -2
  972. package/tsparticles.updater.outModes.js +1249 -1144
  973. package/tsparticles.updater.outModes.min.js +2 -2
  974. package/tsparticles.updater.roll.js +1249 -1144
  975. package/tsparticles.updater.roll.min.js +2 -2
  976. package/tsparticles.updater.size.js +1249 -1144
  977. package/tsparticles.updater.size.min.js +2 -2
  978. package/tsparticles.updater.strokeColor.js +1249 -1144
  979. package/tsparticles.updater.strokeColor.min.js +2 -2
  980. package/tsparticles.updater.tilt.js +1249 -1144
  981. package/tsparticles.updater.tilt.min.js +2 -2
  982. package/tsparticles.updater.wobble.js +1249 -1144
  983. package/tsparticles.updater.wobble.min.js +2 -2
@@ -1,34 +1,41 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
1
7
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
8
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
11
  };
6
- var _Options_instances, _Options_findDefaultTheme;
7
- import { Interactivity } from "./Interactivity/Interactivity";
8
- import { ParticlesOptions } from "./Particles/ParticlesOptions";
9
- import { BackgroundMask } from "./BackgroundMask/BackgroundMask";
12
+ var _Options_instances, _Options_engine, _Options_findDefaultTheme;
10
13
  import { Background } from "./Background/Background";
11
- import { deepExtend } from "../../Utils";
12
- import { Theme } from "./Theme/Theme";
14
+ import { BackgroundMask } from "./BackgroundMask/BackgroundMask";
13
15
  import { FullScreen } from "./FullScreen/FullScreen";
14
- import { Motion } from "./Motion/Motion";
16
+ import { Interactivity } from "./Interactivity/Interactivity";
15
17
  import { ManualParticle } from "./ManualParticle";
18
+ import { Motion } from "./Motion/Motion";
19
+ import { ParticlesOptions } from "./Particles/ParticlesOptions";
16
20
  import { Responsive } from "./Responsive";
17
- import { Plugins } from "../../Core";
21
+ import { Theme } from "./Theme/Theme";
22
+ import { deepExtend } from "../../Utils";
18
23
  /**
19
24
  * [[include:Options.md]]
20
25
  * @category Options
21
26
  */
22
27
  export class Options {
23
- constructor() {
28
+ constructor(engine) {
24
29
  _Options_instances.add(this);
30
+ _Options_engine.set(this, void 0);
31
+ __classPrivateFieldSet(this, _Options_engine, engine, "f");
25
32
  this.autoPlay = true;
26
33
  this.background = new Background();
27
34
  this.backgroundMask = new BackgroundMask();
28
35
  this.fullScreen = new FullScreen();
29
36
  this.detectRetina = true;
30
37
  this.duration = 0;
31
- this.fpsLimit = 60;
38
+ this.fpsLimit = 120;
32
39
  this.interactivity = new Interactivity();
33
40
  this.manualParticles = [];
34
41
  this.motion = new Motion();
@@ -142,7 +149,7 @@ export class Options {
142
149
  this.motion.load(data.motion);
143
150
  this.particles.load(data.particles);
144
151
  this.style = deepExtend(this.style, data.style);
145
- Plugins.loadOptions(this, data);
152
+ __classPrivateFieldGet(this, _Options_engine, "f").plugins.loadOptions(this, data);
146
153
  if (data.responsive !== undefined) {
147
154
  for (const responsive of data.responsive) {
148
155
  const optResponsive = new Responsive();
@@ -184,10 +191,10 @@ export class Options {
184
191
  return responsiveOptions === null || responsiveOptions === void 0 ? void 0 : responsiveOptions.maxWidth;
185
192
  }
186
193
  importPreset(preset) {
187
- this.load(Plugins.getPreset(preset));
194
+ this.load(__classPrivateFieldGet(this, _Options_engine, "f").plugins.getPreset(preset));
188
195
  }
189
196
  }
190
- _Options_instances = new WeakSet(), _Options_findDefaultTheme = function _Options_findDefaultTheme(mode) {
197
+ _Options_engine = new WeakMap(), _Options_instances = new WeakSet(), _Options_findDefaultTheme = function _Options_findDefaultTheme(mode) {
191
198
  var _a;
192
199
  return ((_a = this.themes.find((theme) => theme.default.value && theme.default.mode === mode)) !== null && _a !== void 0 ? _a : this.themes.find((theme) => theme.default.value && theme.default.mode === "any" /* any */));
193
200
  };
@@ -1,7 +1,7 @@
1
- import type { IOptionsColor } from "../Interfaces/IOptionsColor";
2
- import type { IRgb, IHsl, IHsv, IValueColor } from "../../Core/Interfaces";
1
+ import type { IHsl, IHsv, IRgb, IValueColor } from "../../Core/Interfaces";
3
2
  import type { RecursivePartial, SingleOrMultiple } from "../../Types";
4
3
  import type { IOptionLoader } from "../Interfaces/IOptionLoader";
4
+ import type { IOptionsColor } from "../Interfaces/IOptionsColor";
5
5
  /**
6
6
  * [[include:Color.md]]
7
7
  * @category Options
@@ -1,7 +1,7 @@
1
+ import { BounceFactor } from "./BounceFactor";
1
2
  import type { IBounce } from "../../../Interfaces/Particles/Bounce/IBounce";
2
3
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
4
  import type { RecursivePartial } from "../../../../Types";
4
- import { BounceFactor } from "./BounceFactor";
5
5
  export declare class Bounce implements IBounce, IOptionLoader<IBounce> {
6
6
  horizontal: BounceFactor;
7
7
  vertical: BounceFactor;
@@ -1,9 +1,9 @@
1
- import type { ICollisions } from "../../../Interfaces/Particles/Collisions/ICollisions";
2
- import { CollisionMode } from "../../../../Enums";
3
- import type { RecursivePartial } from "../../../../Types";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
1
  import { Bounce } from "../Bounce/Bounce";
2
+ import { CollisionMode } from "../../../../Enums";
6
3
  import { CollisionsOverlap } from "./CollisionsOverlap";
4
+ import type { ICollisions } from "../../../Interfaces/Particles/Collisions/ICollisions";
5
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
6
+ import type { RecursivePartial } from "../../../../Types";
7
7
  /**
8
8
  * @category Options
9
9
  * [[include:Collisions.md]]
@@ -1,6 +1,6 @@
1
- import type { RecursivePartial } from "../../../../Types";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
1
  import type { ICollisionsOverlap } from "../../../Interfaces/Particles/Collisions/ICollisionsOverlap";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import type { RecursivePartial } from "../../../../Types";
4
4
  export declare class CollisionsOverlap implements ICollisionsOverlap, IOptionLoader<ICollisionsOverlap> {
5
5
  enable: boolean;
6
6
  retries: number;
@@ -1,6 +1,6 @@
1
+ import { DestroyMode } from "../../../../Enums";
1
2
  import { IDestroy } from "../../../Interfaces/Particles/Destroy/IDestroy";
2
3
  import { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { DestroyMode } from "../../../../Enums";
4
4
  import { RecursivePartial } from "../../../../Types";
5
5
  import { Split } from "./Split";
6
6
  export declare class Destroy implements IDestroy, IOptionLoader<IDestroy> {
@@ -1,9 +1,9 @@
1
- import type { ISplit } from "../../../Interfaces/Particles/Destroy/ISplit";
2
1
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { SplitFactor } from "./SplitFactor";
2
+ import { IParticles } from "../../../Interfaces/Particles/IParticles";
3
+ import type { ISplit } from "../../../Interfaces/Particles/Destroy/ISplit";
4
4
  import { RecursivePartial } from "../../../../Types";
5
+ import { SplitFactor } from "./SplitFactor";
5
6
  import { SplitRate } from "./SplitRate";
6
- import { IParticles } from "../../../Interfaces/Particles/IParticles";
7
7
  export declare class Split implements ISplit, IOptionLoader<ISplit> {
8
8
  count: number;
9
9
  factor: SplitFactor;
@@ -1,8 +1,8 @@
1
1
  import type { ILife } from "../../../Interfaces/Particles/Life/ILife";
2
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { RecursivePartial } from "../../../../Types";
4
3
  import { LifeDelay } from "./LifeDelay";
5
4
  import { LifeDuration } from "./LifeDuration";
5
+ import type { RecursivePartial } from "../../../../Types";
6
6
  export declare class Life implements ILife, IOptionLoader<ILife> {
7
7
  count: number;
8
8
  delay: LifeDelay;
@@ -1,9 +1,9 @@
1
1
  import type { ILinks } from "../../../Interfaces/Particles/Links/ILinks";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
3
  import { LinksShadow } from "./LinksShadow";
3
- import type { RecursivePartial } from "../../../../Types";
4
4
  import { LinksTriangle } from "./LinksTriangle";
5
5
  import { OptionsColor } from "../../OptionsColor";
6
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
6
+ import type { RecursivePartial } from "../../../../Types";
7
7
  /**
8
8
  * [[include:Options/Particles/Links.md]]
9
9
  * @category Options
@@ -1,7 +1,7 @@
1
1
  import type { ILinksShadow } from "../../../Interfaces/Particles/Links/ILinksShadow";
2
- import type { RecursivePartial } from "../../../../Types";
3
- import { OptionsColor } from "../../OptionsColor";
4
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import { OptionsColor } from "../../OptionsColor";
4
+ import type { RecursivePartial } from "../../../../Types";
5
5
  /**
6
6
  * @category Options
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import type { ILinksTriangle } from "../../../Interfaces/Particles/Links/ILinksTriangle";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
3
  import { OptionsColor } from "../../OptionsColor";
3
4
  import type { RecursivePartial } from "../../../../Types";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
5
  /**
6
6
  * @category Options
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import type { IAttract } from "../../../Interfaces/Particles/Move/IAttract";
2
- import type { ICoordinates } from "../../../../Core/Interfaces/ICoordinates";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
2
+ import type { ICoordinates } from "../../../../Core";
4
3
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { RecursivePartial } from "../../../../Types";
5
5
  /**
6
6
  * @category Options
7
7
  */
@@ -1,15 +1,15 @@
1
- import type { IMove } from "../../../Interfaces/Particles/Move/IMove";
2
- import { Attract } from "./Attract";
3
1
  import { MoveDirection, MoveDirectionAlt, OutMode, OutModeAlt } from "../../../../Enums";
4
- import { Trail } from "./Trail";
5
2
  import type { RangeValue, RecursivePartial } from "../../../../Types";
6
- import { Path } from "./Path/Path";
3
+ import { Attract } from "./Attract";
4
+ import type { IDistance } from "../../../../Core";
5
+ import type { IMove } from "../../../Interfaces/Particles/Move/IMove";
7
6
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
8
7
  import { MoveAngle } from "./MoveAngle";
9
8
  import { MoveGravity } from "./MoveGravity";
10
9
  import { OutModes } from "./OutModes";
11
- import type { IDistance } from "../../../../Core/Interfaces";
10
+ import { Path } from "./Path/Path";
12
11
  import { Spin } from "./Spin";
12
+ import { Trail } from "./Trail";
13
13
  /**
14
14
  * [[include:Options/Particles/Move.md]]
15
15
  * @category Options
@@ -1,11 +1,11 @@
1
+ import { deepExtend, setRangeValue } from "../../../../Utils";
1
2
  import { Attract } from "./Attract";
2
- import { Trail } from "./Trail";
3
- import { Path } from "./Path/Path";
4
3
  import { MoveAngle } from "./MoveAngle";
5
4
  import { MoveGravity } from "./MoveGravity";
6
5
  import { OutModes } from "./OutModes";
7
- import { deepExtend, setRangeValue } from "../../../../Utils";
6
+ import { Path } from "./Path/Path";
8
7
  import { Spin } from "./Spin";
8
+ import { Trail } from "./Trail";
9
9
  /**
10
10
  * [[include:Options/Particles/Move.md]]
11
11
  * @category Options
@@ -1,6 +1,6 @@
1
- import type { IOutModes } from "../../../Interfaces/Particles/Move/IOutModes";
1
+ import { OutMode, OutModeAlt } from "../../../../Enums";
2
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { OutMode, OutModeAlt } from "../../../../Enums/Modes";
3
+ import type { IOutModes } from "../../../Interfaces/Particles/Move/IOutModes";
4
4
  import type { RecursivePartial } from "../../../../Types";
5
5
  export declare class OutModes implements IOutModes, IOptionLoader<IOutModes> {
6
6
  bottom?: OutMode | keyof typeof OutMode | OutModeAlt;
@@ -1,7 +1,7 @@
1
- import type { IPath } from "../../../../Interfaces/Particles/Move/Path/iPath";
2
- import type { RecursivePartial, PathOptions } from "../../../../../Types";
3
- import { PathDelay } from "./PathDelay";
1
+ import type { PathOptions, RecursivePartial } from "../../../../../Types";
4
2
  import type { IOptionLoader } from "../../../../Interfaces/IOptionLoader";
3
+ import type { IPath } from "../../../../Interfaces/Particles/Move/Path/IPath";
4
+ import { PathDelay } from "./PathDelay";
5
5
  /**
6
6
  * @category Options
7
7
  */
@@ -1,7 +1,7 @@
1
- import type { ISpin } from "../../../Interfaces/Particles/Move/ISpin";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { ICoordinates } from "../../../../Core/Interfaces";
4
1
  import type { RangeValue, RecursivePartial } from "../../../../Types";
2
+ import type { ICoordinates } from "../../../../Core";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { ISpin } from "../../../Interfaces/Particles/Move/ISpin";
5
5
  export declare class Spin implements ISpin, IOptionLoader<ISpin> {
6
6
  acceleration: RangeValue;
7
7
  enable: boolean;
@@ -1,7 +1,7 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { ITrail } from "../../../Interfaces/Particles/Move/ITrail";
2
- import type { RecursivePartial } from "../../../../Types";
3
3
  import { OptionsColor } from "../../OptionsColor";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { RecursivePartial } from "../../../../Types";
5
5
  /**
6
6
  * @category Options
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import type { IDensity } from "../../../Interfaces/Particles/Number/IDensity";
2
- import type { RecursivePartial } from "../../../../Types";
3
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import type { RecursivePartial } from "../../../../Types";
4
4
  /**
5
5
  * @category Options
6
6
  */
@@ -1,7 +1,7 @@
1
- import type { IParticlesNumber } from "../../../Interfaces/Particles/Number/IParticlesNumber";
2
1
  import { Density } from "./Density";
3
- import type { RecursivePartial } from "../../../../Types";
4
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import type { IParticlesNumber } from "../../../Interfaces/Particles/Number/IParticlesNumber";
4
+ import type { RecursivePartial } from "../../../../Types";
5
5
  /**
6
6
  * [[include:Options/Particles/Number.md]]
7
7
  * @category Options
@@ -1,7 +1,7 @@
1
1
  import type { IOpacity } from "../../../Interfaces/Particles/Opacity/IOpacity";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
3
  import { OpacityAnimation } from "./OpacityAnimation";
3
4
  import type { RecursivePartial } from "../../../../Types";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
5
  import { ValueWithRandom } from "../../ValueWithRandom";
6
6
  /**
7
7
  * [[include:Options/Particles/Opacity.md]]
@@ -1,8 +1,8 @@
1
- import type { IOpacityAnimation } from "../../../Interfaces/Particles/Opacity/IOpacityAnimation";
2
- import type { RecursivePartial } from "../../../../Types";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
1
  import { DestroyType, StartValueType } from "../../../../Enums";
5
2
  import { AnimationOptions } from "../../AnimationOptions";
3
+ import type { IOpacityAnimation } from "../../../Interfaces/Particles/Opacity/IOpacityAnimation";
4
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
+ import type { RecursivePartial } from "../../../../Types";
6
6
  /**
7
7
  * @category Options
8
8
  */
@@ -1,10 +1,10 @@
1
- import type { IOrbit } from "../../../Interfaces/Particles/Orbit/IOrbit";
2
- import type { RecursivePartial } from "../../../../Types";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
- import { OrbitRotation } from "./OrbitRotation";
5
- import { OptionsColor } from "../../OptionsColor";
6
1
  import { AnimationOptions } from "../../AnimationOptions";
7
2
  import type { IAnimatable } from "../../../Interfaces/IAnimatable";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { IOrbit } from "../../../Interfaces/Particles/Orbit/IOrbit";
5
+ import { OptionsColor } from "../../OptionsColor";
6
+ import { OrbitRotation } from "./OrbitRotation";
7
+ import type { RecursivePartial } from "../../../../Types";
8
8
  /**
9
9
  * [[include:Options/Particles/Orbit.md]]
10
10
  * @category Options
@@ -1,6 +1,6 @@
1
- import { OrbitRotation } from "./OrbitRotation";
2
- import { OptionsColor } from "../../OptionsColor";
3
1
  import { AnimationOptions } from "../../AnimationOptions";
2
+ import { OptionsColor } from "../../OptionsColor";
3
+ import { OrbitRotation } from "./OrbitRotation";
4
4
  /**
5
5
  * [[include:Options/Particles/Orbit.md]]
6
6
  * @category Options
@@ -1,5 +1,5 @@
1
- import type { RecursivePartial } from "../../../../Types";
2
1
  import type { IValueWithRandom } from "../../../Interfaces/IValueWithRandom";
2
+ import type { RecursivePartial } from "../../../../Types";
3
3
  import { ValueWithRandom } from "../../ValueWithRandom";
4
4
  /**
5
5
  * @category Options
@@ -1,29 +1,29 @@
1
+ import type { RecursivePartial, SingleOrMultiple } from "../../../Types";
2
+ import { AnimatableColor } from "../AnimatableColor";
3
+ import { AnimatableGradient } from "../AnimatableGradient";
4
+ import { Bounce } from "./Bounce/Bounce";
5
+ import { Collisions } from "./Collisions/Collisions";
6
+ import { Destroy } from "./Destroy/Destroy";
7
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
1
8
  import type { IParticles } from "../../Interfaces/Particles/IParticles";
9
+ import { Life } from "./Life/Life";
2
10
  import { Links } from "./Links/Links";
3
11
  import { Move } from "./Move/Move";
4
- import { ParticlesNumber } from "./Number/ParticlesNumber";
5
12
  import { Opacity } from "./Opacity/Opacity";
6
- import { Shape } from "./Shape/Shape";
7
- import { Size } from "./Size/Size";
13
+ import { Orbit } from "./Orbit/Orbit";
14
+ import type { ParticlesGroups } from "../../../Types/ParticlesGroups";
15
+ import { ParticlesNumber } from "./Number/ParticlesNumber";
16
+ import { Repulse } from "./Repulse/Repulse";
17
+ import { Roll } from "./Roll/Roll";
8
18
  import { Rotate } from "./Rotate/Rotate";
9
- import type { RecursivePartial, SingleOrMultiple } from "../../../Types";
10
19
  import { Shadow } from "./Shadow";
20
+ import { Shape } from "./Shape/Shape";
21
+ import { Size } from "./Size/Size";
11
22
  import { Stroke } from "./Stroke";
12
- import { Collisions } from "./Collisions/Collisions";
23
+ import { Tilt } from "./Tilt/Tilt";
13
24
  import { Twinkle } from "./Twinkle/Twinkle";
14
- import { AnimatableColor } from "../AnimatableColor";
15
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
16
- import { Life } from "./Life/Life";
17
- import { Bounce } from "./Bounce/Bounce";
18
- import { Destroy } from "./Destroy/Destroy";
19
25
  import { Wobble } from "./Wobble/Wobble";
20
- import { Tilt } from "./Tilt/Tilt";
21
- import { Roll } from "./Roll/Roll";
22
26
  import { ZIndex } from "./ZIndex/ZIndex";
23
- import type { ParticlesGroups } from "../../../Types/ParticlesGroups";
24
- import { Orbit } from "./Orbit/Orbit";
25
- import { Repulse } from "./Repulse/Repulse";
26
- import { AnimatableGradient } from "../AnimatableGradient";
27
27
  /**
28
28
  * [[include:Options/Particles.md]]
29
29
  * @category Options
@@ -1,26 +1,26 @@
1
+ import { AnimatableColor } from "../AnimatableColor";
2
+ import { AnimatableGradient } from "../AnimatableGradient";
3
+ import { Bounce } from "./Bounce/Bounce";
4
+ import { Collisions } from "./Collisions/Collisions";
5
+ import { Destroy } from "./Destroy/Destroy";
6
+ import { Life } from "./Life/Life";
1
7
  import { Links } from "./Links/Links";
2
8
  import { Move } from "./Move/Move";
3
- import { ParticlesNumber } from "./Number/ParticlesNumber";
4
9
  import { Opacity } from "./Opacity/Opacity";
5
- import { Shape } from "./Shape/Shape";
6
- import { Size } from "./Size/Size";
10
+ import { Orbit } from "./Orbit/Orbit";
11
+ import { ParticlesNumber } from "./Number/ParticlesNumber";
12
+ import { Repulse } from "./Repulse/Repulse";
13
+ import { Roll } from "./Roll/Roll";
7
14
  import { Rotate } from "./Rotate/Rotate";
8
15
  import { Shadow } from "./Shadow";
16
+ import { Shape } from "./Shape/Shape";
17
+ import { Size } from "./Size/Size";
9
18
  import { Stroke } from "./Stroke";
10
- import { Collisions } from "./Collisions/Collisions";
19
+ import { Tilt } from "./Tilt/Tilt";
11
20
  import { Twinkle } from "./Twinkle/Twinkle";
12
- import { AnimatableColor } from "../AnimatableColor";
13
- import { Life } from "./Life/Life";
14
- import { Bounce } from "./Bounce/Bounce";
15
- import { Destroy } from "./Destroy/Destroy";
16
21
  import { Wobble } from "./Wobble/Wobble";
17
- import { Tilt } from "./Tilt/Tilt";
18
- import { Roll } from "./Roll/Roll";
19
22
  import { ZIndex } from "./ZIndex/ZIndex";
20
23
  import { deepExtend } from "../../../Utils";
21
- import { Orbit } from "./Orbit/Orbit";
22
- import { Repulse } from "./Repulse/Repulse";
23
- import { AnimatableGradient } from "../AnimatableGradient";
24
24
  /**
25
25
  * [[include:Options/Particles.md]]
26
26
  * @category Options
@@ -1,6 +1,6 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { IRepulse } from "../../../Interfaces/Particles/Repulse/IRepulse";
2
3
  import type { RecursivePartial } from "../../../../Types";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
4
  import { ValueWithRandom } from "../../ValueWithRandom";
5
5
  /**
6
6
  * @category Options
@@ -1,6 +1,6 @@
1
- import type { IRoll } from "../../../Interfaces/Particles/Roll/IRoll";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
1
  import type { RangeValue, RecursivePartial } from "../../../../Types";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import type { IRoll } from "../../../Interfaces/Particles/Roll/IRoll";
4
4
  import { OptionsColor } from "../../OptionsColor";
5
5
  import { RollLight } from "./RollLight";
6
6
  import { RollMode } from "../../../../Enums";
@@ -1,5 +1,5 @@
1
- import type { IRollLight } from "../../../Interfaces/Particles/Roll/IRollLight";
2
1
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
+ import type { IRollLight } from "../../../Interfaces/Particles/Roll/IRollLight";
3
3
  import type { RecursivePartial } from "../../../../Types";
4
4
  export declare class RollLight implements IRollLight, IOptionLoader<IRollLight> {
5
5
  enable: boolean;
@@ -1,8 +1,8 @@
1
- import type { IRotate } from "../../../Interfaces/Particles/Rotate/IRotate";
2
- import { RotateAnimation } from "./RotateAnimation";
3
1
  import { RotateDirection, RotateDirectionAlt } from "../../../../Enums";
4
- import type { RecursivePartial } from "../../../../Types";
5
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
+ import type { IRotate } from "../../../Interfaces/Particles/Rotate/IRotate";
4
+ import type { RecursivePartial } from "../../../../Types";
5
+ import { RotateAnimation } from "./RotateAnimation";
6
6
  import { ValueWithRandom } from "../../ValueWithRandom";
7
7
  /**
8
8
  * [[include:Options/Particles/Rotate.md]]
@@ -1,6 +1,6 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { IRotateAnimation } from "../../../Interfaces/Particles/Rotate/IRotateAnimation";
2
3
  import type { RecursivePartial } from "../../../../Types";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
4
  /**
5
5
  * @category Options
6
6
  */
@@ -1,8 +1,8 @@
1
+ import type { ICoordinates } from "../../../Core";
2
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
1
3
  import type { IShadow } from "../../Interfaces/Particles/IShadow";
2
- import type { ICoordinates } from "../../../Core/Interfaces/ICoordinates";
3
- import type { RecursivePartial } from "../../../Types";
4
4
  import { OptionsColor } from "../OptionsColor";
5
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
5
+ import type { RecursivePartial } from "../../../Types";
6
6
  /**
7
7
  * @category Options
8
8
  * [[include:Shadow.md]]
@@ -1,11 +1,11 @@
1
- import type { IShape } from "../../../Interfaces/Particles/Shape/IShape";
2
- import { ShapeType } from "../../../../Enums";
3
1
  import type { RecursivePartial, ShapeData, SingleOrMultiple } from "../../../../Types";
4
- import { Stroke } from "../Stroke";
5
- import type { IPolygonShape } from "../../../Interfaces/Particles/Shape/IPolygonShape";
6
- import type { IImageShape } from "../../../Interfaces/Particles/Shape/IImageShape";
7
2
  import type { ICharacterShape } from "../../../Interfaces/Particles/Shape/ICharacterShape";
3
+ import type { IImageShape } from "../../../Interfaces/Particles/Shape/IImageShape";
8
4
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
+ import type { IPolygonShape } from "../../../Interfaces/Particles/Shape/IPolygonShape";
6
+ import type { IShape } from "../../../Interfaces/Particles/Shape/IShape";
7
+ import { ShapeType } from "../../../../Enums";
8
+ import { Stroke } from "../Stroke";
9
9
  /**
10
10
  * [[include:Options/Particles/Shape.md]]
11
11
  * @category Options
@@ -1,7 +1,7 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { ISize } from "../../../Interfaces/Particles/Size/ISize";
2
- import { SizeAnimation } from "./SizeAnimation";
3
3
  import type { RecursivePartial } from "../../../../Types";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import { SizeAnimation } from "./SizeAnimation";
5
5
  import { ValueWithRandom } from "../../ValueWithRandom";
6
6
  /**
7
7
  * [[include:Options/Particles/Size.md]]
@@ -1,8 +1,8 @@
1
- import type { ISizeAnimation } from "../../../Interfaces/Particles/Size/ISizeAnimation";
2
- import type { RecursivePartial } from "../../../../Types";
3
1
  import { DestroyType, StartValueType } from "../../../../Enums";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
2
  import { AnimationOptions } from "../../AnimationOptions";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { ISizeAnimation } from "../../../Interfaces/Particles/Size/ISizeAnimation";
5
+ import type { RecursivePartial } from "../../../../Types";
6
6
  /**
7
7
  * @category Options
8
8
  */
@@ -1,7 +1,7 @@
1
- import type { IStroke } from "../../Interfaces/Particles/IStroke";
2
- import type { RecursivePartial } from "../../../Types";
3
1
  import { AnimatableColor } from "../AnimatableColor";
4
2
  import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
3
+ import type { IStroke } from "../../Interfaces/Particles/IStroke";
4
+ import type { RecursivePartial } from "../../../Types";
5
5
  /**
6
6
  * [[include:Options/Particles/Stroke.md]]
7
7
  * @category Options
@@ -1,9 +1,9 @@
1
- import { TiltAnimation } from "./TiltAnimation";
2
1
  import { TiltDirection, TiltDirectionAlt } from "../../../../Enums";
3
- import type { RecursivePartial } from "../../../../Types";
4
2
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
- import { ValueWithRandom } from "../../ValueWithRandom";
6
3
  import type { ITilt } from "../../../Interfaces/Particles/Tilt/ITilt";
4
+ import type { RecursivePartial } from "../../../../Types";
5
+ import { TiltAnimation } from "./TiltAnimation";
6
+ import { ValueWithRandom } from "../../ValueWithRandom";
7
7
  /**
8
8
  * [[include:Options/Particles/Rotate.md]]
9
9
  * @category Options
@@ -1,6 +1,6 @@
1
- import type { RecursivePartial } from "../../../../Types";
2
1
  import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
2
  import type { ITiltAnimation } from "../../../Interfaces/Particles/Tilt/ITiltAnimation";
3
+ import type { RecursivePartial } from "../../../../Types";
4
4
  /**
5
5
  * @category Options
6
6
  */
@@ -1,7 +1,7 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { ITwinkle } from "../../../Interfaces/Particles/Twinkle/ITwinkle";
2
3
  import type { RecursivePartial } from "../../../../Types";
3
4
  import { TwinkleValues } from "./TwinkleValues";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
5
  /**
6
6
  * [[include:Options/Particles/Twinkle.md]]
7
7
  * @category Options
@@ -1,7 +1,7 @@
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
1
2
  import type { ITwinkleValues } from "../../../Interfaces/Particles/Twinkle/ITwinkleValues";
2
- import type { RecursivePartial } from "../../../../Types";
3
3
  import { OptionsColor } from "../../OptionsColor";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
+ import type { RecursivePartial } from "../../../../Types";
5
5
  /**
6
6
  * @category Options
7
7
  */