@tsparticles/engine 3.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1043) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +824 -0
  3. package/browser/Core/Canvas.js +398 -0
  4. package/browser/Core/Container.js +436 -0
  5. package/browser/Core/Interfaces/Colors.js +1 -0
  6. package/browser/Core/Interfaces/IBounds.js +1 -0
  7. package/browser/Core/Interfaces/IBubbleParticleData.js +1 -0
  8. package/browser/Core/Interfaces/ICircleBouncer.js +1 -0
  9. package/browser/Core/Interfaces/IColorManager.js +1 -0
  10. package/browser/Core/Interfaces/IContainerInteractivity.js +1 -0
  11. package/browser/Core/Interfaces/IContainerPlugin.js +1 -0
  12. package/browser/Core/Interfaces/ICoordinates.js +1 -0
  13. package/browser/Core/Interfaces/IDelta.js +1 -0
  14. package/browser/Core/Interfaces/IDimension.js +1 -0
  15. package/browser/Core/Interfaces/IDistance.js +1 -0
  16. package/browser/Core/Interfaces/IDrawParticleParams.js +1 -0
  17. package/browser/Core/Interfaces/IExternalInteractor.js +1 -0
  18. package/browser/Core/Interfaces/IInteractor.js +1 -0
  19. package/browser/Core/Interfaces/ILoadParams.js +1 -0
  20. package/browser/Core/Interfaces/IMouseData.js +1 -0
  21. package/browser/Core/Interfaces/IMovePathGenerator.js +1 -0
  22. package/browser/Core/Interfaces/IParticle.js +1 -0
  23. package/browser/Core/Interfaces/IParticleColorStyle.js +1 -0
  24. package/browser/Core/Interfaces/IParticleHslAnimation.js +1 -0
  25. package/browser/Core/Interfaces/IParticleLife.js +1 -0
  26. package/browser/Core/Interfaces/IParticleMover.js +1 -0
  27. package/browser/Core/Interfaces/IParticleOverride.js +1 -0
  28. package/browser/Core/Interfaces/IParticleRetinaProps.js +1 -0
  29. package/browser/Core/Interfaces/IParticleRoll.js +1 -0
  30. package/browser/Core/Interfaces/IParticleTransformValues.js +1 -0
  31. package/browser/Core/Interfaces/IParticleUpdater.js +1 -0
  32. package/browser/Core/Interfaces/IParticleValueAnimation.js +1 -0
  33. package/browser/Core/Interfaces/IParticlesInteractor.js +1 -0
  34. package/browser/Core/Interfaces/IParticlesMover.js +1 -0
  35. package/browser/Core/Interfaces/IPlugin.js +1 -0
  36. package/browser/Core/Interfaces/IPositionFromSizeParams.js +1 -0
  37. package/browser/Core/Interfaces/IRangeValue.js +1 -0
  38. package/browser/Core/Interfaces/IRectSideResult.js +1 -0
  39. package/browser/Core/Interfaces/IShapeDrawer.js +1 -0
  40. package/browser/Core/Interfaces/IShapeValues.js +1 -0
  41. package/browser/Core/Interfaces/ISlowParticleData.js +1 -0
  42. package/browser/Core/Interfaces/ITrailFillData.js +1 -0
  43. package/browser/Core/Particle.js +307 -0
  44. package/browser/Core/Particles.js +262 -0
  45. package/browser/Core/Retina.js +33 -0
  46. package/browser/Core/Utils/Circle.js +23 -0
  47. package/browser/Core/Utils/Constants.js +12 -0
  48. package/browser/Core/Utils/EventListeners.js +280 -0
  49. package/browser/Core/Utils/ExternalInteractorBase.js +6 -0
  50. package/browser/Core/Utils/FrameManager.js +42 -0
  51. package/browser/Core/Utils/InteractionManager.js +60 -0
  52. package/browser/Core/Utils/ParticlesInteractorBase.js +6 -0
  53. package/browser/Core/Utils/Plugins.js +112 -0
  54. package/browser/Core/Utils/Point.js +6 -0
  55. package/browser/Core/Utils/QuadTree.js +64 -0
  56. package/browser/Core/Utils/Range.js +8 -0
  57. package/browser/Core/Utils/Rectangle.js +22 -0
  58. package/browser/Core/Utils/Vector.js +15 -0
  59. package/browser/Core/Utils/Vector3d.js +96 -0
  60. package/browser/Enums/AnimationStatus.js +1 -0
  61. package/browser/Enums/Directions/MoveDirection.js +1 -0
  62. package/browser/Enums/Directions/OutModeDirection.js +1 -0
  63. package/browser/Enums/Directions/RotateDirection.js +1 -0
  64. package/browser/Enums/InteractivityDetect.js +1 -0
  65. package/browser/Enums/Modes/ClickMode.js +1 -0
  66. package/browser/Enums/Modes/CollisionMode.js +1 -0
  67. package/browser/Enums/Modes/DivMode.js +1 -0
  68. package/browser/Enums/Modes/HoverMode.js +1 -0
  69. package/browser/Enums/Modes/OutMode.js +1 -0
  70. package/browser/Enums/Modes/ResponsiveMode.js +1 -0
  71. package/browser/Enums/Modes/SizeMode.js +1 -0
  72. package/browser/Enums/Modes/ThemeMode.js +1 -0
  73. package/browser/Enums/Types/AlterType.js +1 -0
  74. package/browser/Enums/Types/DestroyType.js +1 -0
  75. package/browser/Enums/Types/DivType.js +1 -0
  76. package/browser/Enums/Types/EasingType.js +1 -0
  77. package/browser/Enums/Types/EventType.js +1 -0
  78. package/browser/Enums/Types/GradientType.js +1 -0
  79. package/browser/Enums/Types/InteractorType.js +1 -0
  80. package/browser/Enums/Types/ParticleOutType.js +1 -0
  81. package/browser/Enums/Types/StartValueType.js +1 -0
  82. package/browser/Options/Classes/AnimatableColor.js +36 -0
  83. package/browser/Options/Classes/AnimationOptions.js +48 -0
  84. package/browser/Options/Classes/Background/Background.js +35 -0
  85. package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +24 -0
  86. package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js +19 -0
  87. package/browser/Options/Classes/ColorAnimation.js +34 -0
  88. package/browser/Options/Classes/FullScreen/FullScreen.js +17 -0
  89. package/browser/Options/Classes/HslAnimation.js +16 -0
  90. package/browser/Options/Classes/Interactivity/Events/ClickEvent.js +17 -0
  91. package/browser/Options/Classes/Interactivity/Events/DivEvent.js +49 -0
  92. package/browser/Options/Classes/Interactivity/Events/Events.js +53 -0
  93. package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +20 -0
  94. package/browser/Options/Classes/Interactivity/Events/Parallax.js +21 -0
  95. package/browser/Options/Classes/Interactivity/Events/ResizeEvent.js +17 -0
  96. package/browser/Options/Classes/Interactivity/Interactivity.js +27 -0
  97. package/browser/Options/Classes/Interactivity/Modes/Modes.js +21 -0
  98. package/browser/Options/Classes/ManualParticle.js +18 -0
  99. package/browser/Options/Classes/Options.js +170 -0
  100. package/browser/Options/Classes/OptionsColor.js +24 -0
  101. package/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js +14 -0
  102. package/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +8 -0
  103. package/browser/Options/Classes/Particles/Collisions/Collisions.js +26 -0
  104. package/browser/Options/Classes/Particles/Collisions/CollisionsAbsorb.js +13 -0
  105. package/browser/Options/Classes/Particles/Collisions/CollisionsOverlap.js +17 -0
  106. package/browser/Options/Classes/Particles/Move/Move.js +124 -0
  107. package/browser/Options/Classes/Particles/Move/MoveAngle.js +18 -0
  108. package/browser/Options/Classes/Particles/Move/MoveAttract.js +43 -0
  109. package/browser/Options/Classes/Particles/Move/MoveCenter.js +25 -0
  110. package/browser/Options/Classes/Particles/Move/MoveGravity.js +26 -0
  111. package/browser/Options/Classes/Particles/Move/MoveTrail.js +28 -0
  112. package/browser/Options/Classes/Particles/Move/MoveTrailFill.js +14 -0
  113. package/browser/Options/Classes/Particles/Move/OutModes.js +18 -0
  114. package/browser/Options/Classes/Particles/Move/Path/MovePath.js +26 -0
  115. package/browser/Options/Classes/Particles/Move/Spin.js +20 -0
  116. package/browser/Options/Classes/Particles/Number/ParticlesDensity.js +42 -0
  117. package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +28 -0
  118. package/browser/Options/Classes/Particles/Opacity/Opacity.js +16 -0
  119. package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +26 -0
  120. package/browser/Options/Classes/Particles/ParticlesOptions.js +92 -0
  121. package/browser/Options/Classes/Particles/Shadow.js +34 -0
  122. package/browser/Options/Classes/Particles/Shape/Shape.js +25 -0
  123. package/browser/Options/Classes/Particles/Size/Size.js +16 -0
  124. package/browser/Options/Classes/Particles/Size/SizeAnimation.js +26 -0
  125. package/browser/Options/Classes/Particles/Stroke.js +21 -0
  126. package/browser/Options/Classes/Particles/ZIndex/ZIndex.js +24 -0
  127. package/browser/Options/Classes/Random.js +17 -0
  128. package/browser/Options/Classes/Responsive.js +27 -0
  129. package/browser/Options/Classes/Theme/Theme.js +20 -0
  130. package/browser/Options/Classes/Theme/ThemeDefault.js +21 -0
  131. package/browser/Options/Classes/ValueWithRandom.js +62 -0
  132. package/browser/Options/Interfaces/Background/IBackground.js +1 -0
  133. package/browser/Options/Interfaces/BackgroundMask/IBackgroundMask.js +1 -0
  134. package/browser/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +1 -0
  135. package/browser/Options/Interfaces/FullScreen/IFullScreen.js +1 -0
  136. package/browser/Options/Interfaces/IAnimatable.js +1 -0
  137. package/browser/Options/Interfaces/IAnimatableColor.js +1 -0
  138. package/browser/Options/Interfaces/IAnimation.js +1 -0
  139. package/browser/Options/Interfaces/IColorAnimation.js +1 -0
  140. package/browser/Options/Interfaces/IHslAnimation.js +1 -0
  141. package/browser/Options/Interfaces/IManualParticle.js +1 -0
  142. package/browser/Options/Interfaces/IOptionLoader.js +1 -0
  143. package/browser/Options/Interfaces/IOptions.js +1 -0
  144. package/browser/Options/Interfaces/IOptionsColor.js +1 -0
  145. package/browser/Options/Interfaces/IRandom.js +1 -0
  146. package/browser/Options/Interfaces/IResponsive.js +1 -0
  147. package/browser/Options/Interfaces/IValueWithRandom.js +1 -0
  148. package/browser/Options/Interfaces/Interactivity/Events/IClickEvent.js +1 -0
  149. package/browser/Options/Interfaces/Interactivity/Events/IDivEvent.js +1 -0
  150. package/browser/Options/Interfaces/Interactivity/Events/IEvents.js +1 -0
  151. package/browser/Options/Interfaces/Interactivity/Events/IHoverEvent.js +1 -0
  152. package/browser/Options/Interfaces/Interactivity/Events/IParallax.js +1 -0
  153. package/browser/Options/Interfaces/Interactivity/Events/IResizeEvent.js +1 -0
  154. package/browser/Options/Interfaces/Interactivity/IInteractivity.js +1 -0
  155. package/browser/Options/Interfaces/Interactivity/Modes/IModeDiv.js +1 -0
  156. package/browser/Options/Interfaces/Interactivity/Modes/IModes.js +1 -0
  157. package/browser/Options/Interfaces/Particles/Bounce/IParticlesBounce.js +1 -0
  158. package/browser/Options/Interfaces/Particles/Collisions/ICollisions.js +1 -0
  159. package/browser/Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js +1 -0
  160. package/browser/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +1 -0
  161. package/browser/Options/Interfaces/Particles/IParticlesOptions.js +1 -0
  162. package/browser/Options/Interfaces/Particles/IShadow.js +1 -0
  163. package/browser/Options/Interfaces/Particles/IStroke.js +1 -0
  164. package/browser/Options/Interfaces/Particles/Move/IMove.js +1 -0
  165. package/browser/Options/Interfaces/Particles/Move/IMoveAngle.js +1 -0
  166. package/browser/Options/Interfaces/Particles/Move/IMoveAttract.js +1 -0
  167. package/browser/Options/Interfaces/Particles/Move/IMoveCenter.js +1 -0
  168. package/browser/Options/Interfaces/Particles/Move/IMoveGravity.js +1 -0
  169. package/browser/Options/Interfaces/Particles/Move/IMoveTrail.js +1 -0
  170. package/browser/Options/Interfaces/Particles/Move/IMoveTrailFill.js +1 -0
  171. package/browser/Options/Interfaces/Particles/Move/IOutModes.js +1 -0
  172. package/browser/Options/Interfaces/Particles/Move/ISpin.js +1 -0
  173. package/browser/Options/Interfaces/Particles/Move/Path/IMovePath.js +1 -0
  174. package/browser/Options/Interfaces/Particles/Number/IParticlesDensity.js +1 -0
  175. package/browser/Options/Interfaces/Particles/Number/IParticlesNumber.js +1 -0
  176. package/browser/Options/Interfaces/Particles/Opacity/IOpacity.js +1 -0
  177. package/browser/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +1 -0
  178. package/browser/Options/Interfaces/Particles/Shape/ICharacterShape.js +1 -0
  179. package/browser/Options/Interfaces/Particles/Shape/IImageShape.js +1 -0
  180. package/browser/Options/Interfaces/Particles/Shape/IPolygonShape.js +1 -0
  181. package/browser/Options/Interfaces/Particles/Shape/IShape.js +1 -0
  182. package/browser/Options/Interfaces/Particles/Shape/IShapeValues.js +1 -0
  183. package/browser/Options/Interfaces/Particles/Shape/IStarShape.js +1 -0
  184. package/browser/Options/Interfaces/Particles/Size/ISize.js +1 -0
  185. package/browser/Options/Interfaces/Particles/Size/ISizeAnimation.js +1 -0
  186. package/browser/Options/Interfaces/Particles/ZIndex/IZIndex.js +1 -0
  187. package/browser/Options/Interfaces/Theme/ITheme.js +1 -0
  188. package/browser/Options/Interfaces/Theme/IThemeDefault.js +1 -0
  189. package/browser/Types/CustomEventArgs.js +1 -0
  190. package/browser/Types/CustomEventListener.js +1 -0
  191. package/browser/Types/ISourceOptions.js +1 -0
  192. package/browser/Types/ParticlesGroups.js +1 -0
  193. package/browser/Types/PathOptions.js +1 -0
  194. package/browser/Types/RangeValue.js +1 -0
  195. package/browser/Types/RecursivePartial.js +1 -0
  196. package/browser/Types/ShapeData.js +1 -0
  197. package/browser/Types/ShapeDrawerFunctions.js +1 -0
  198. package/browser/Types/SingleOrMultiple.js +1 -0
  199. package/browser/Utils/CanvasUtils.js +149 -0
  200. package/browser/Utils/ColorUtils.js +274 -0
  201. package/browser/Utils/EventDispatcher.js +44 -0
  202. package/browser/Utils/HslColorManager.js +40 -0
  203. package/browser/Utils/NumberUtils.js +149 -0
  204. package/browser/Utils/OptionsUtils.js +11 -0
  205. package/browser/Utils/RgbColorManager.js +39 -0
  206. package/browser/Utils/Utils.js +247 -0
  207. package/browser/bundle.js +97 -0
  208. package/browser/engine.js +175 -0
  209. package/browser/index.js +199 -0
  210. package/cjs/Core/Canvas.js +402 -0
  211. package/cjs/Core/Container.js +440 -0
  212. package/cjs/Core/Interfaces/Colors.js +2 -0
  213. package/cjs/Core/Interfaces/IBounds.js +2 -0
  214. package/cjs/Core/Interfaces/IBubbleParticleData.js +2 -0
  215. package/cjs/Core/Interfaces/ICircleBouncer.js +2 -0
  216. package/cjs/Core/Interfaces/IColorManager.js +2 -0
  217. package/cjs/Core/Interfaces/IContainerInteractivity.js +2 -0
  218. package/cjs/Core/Interfaces/IContainerPlugin.js +2 -0
  219. package/cjs/Core/Interfaces/ICoordinates.js +2 -0
  220. package/cjs/Core/Interfaces/IDelta.js +2 -0
  221. package/cjs/Core/Interfaces/IDimension.js +2 -0
  222. package/cjs/Core/Interfaces/IDistance.js +2 -0
  223. package/cjs/Core/Interfaces/IDrawParticleParams.js +2 -0
  224. package/cjs/Core/Interfaces/IExternalInteractor.js +2 -0
  225. package/cjs/Core/Interfaces/IInteractor.js +2 -0
  226. package/cjs/Core/Interfaces/ILoadParams.js +2 -0
  227. package/cjs/Core/Interfaces/IMouseData.js +2 -0
  228. package/cjs/Core/Interfaces/IMovePathGenerator.js +2 -0
  229. package/cjs/Core/Interfaces/IParticle.js +2 -0
  230. package/cjs/Core/Interfaces/IParticleColorStyle.js +2 -0
  231. package/cjs/Core/Interfaces/IParticleHslAnimation.js +2 -0
  232. package/cjs/Core/Interfaces/IParticleLife.js +2 -0
  233. package/cjs/Core/Interfaces/IParticleMover.js +2 -0
  234. package/cjs/Core/Interfaces/IParticleOverride.js +2 -0
  235. package/cjs/Core/Interfaces/IParticleRetinaProps.js +2 -0
  236. package/cjs/Core/Interfaces/IParticleRoll.js +2 -0
  237. package/cjs/Core/Interfaces/IParticleTransformValues.js +2 -0
  238. package/cjs/Core/Interfaces/IParticleUpdater.js +2 -0
  239. package/cjs/Core/Interfaces/IParticleValueAnimation.js +2 -0
  240. package/cjs/Core/Interfaces/IParticlesInteractor.js +2 -0
  241. package/cjs/Core/Interfaces/IParticlesMover.js +2 -0
  242. package/cjs/Core/Interfaces/IPlugin.js +2 -0
  243. package/cjs/Core/Interfaces/IPositionFromSizeParams.js +2 -0
  244. package/cjs/Core/Interfaces/IRangeValue.js +2 -0
  245. package/cjs/Core/Interfaces/IRectSideResult.js +2 -0
  246. package/cjs/Core/Interfaces/IShapeDrawer.js +2 -0
  247. package/cjs/Core/Interfaces/IShapeValues.js +2 -0
  248. package/cjs/Core/Interfaces/ISlowParticleData.js +2 -0
  249. package/cjs/Core/Interfaces/ITrailFillData.js +2 -0
  250. package/cjs/Core/Particle.js +311 -0
  251. package/cjs/Core/Particles.js +266 -0
  252. package/cjs/Core/Retina.js +37 -0
  253. package/cjs/Core/Utils/Circle.js +27 -0
  254. package/cjs/Core/Utils/Constants.js +15 -0
  255. package/cjs/Core/Utils/EventListeners.js +284 -0
  256. package/cjs/Core/Utils/ExternalInteractorBase.js +10 -0
  257. package/cjs/Core/Utils/FrameManager.js +46 -0
  258. package/cjs/Core/Utils/InteractionManager.js +64 -0
  259. package/cjs/Core/Utils/ParticlesInteractorBase.js +10 -0
  260. package/cjs/Core/Utils/Plugins.js +116 -0
  261. package/cjs/Core/Utils/Point.js +10 -0
  262. package/cjs/Core/Utils/QuadTree.js +68 -0
  263. package/cjs/Core/Utils/Range.js +12 -0
  264. package/cjs/Core/Utils/Rectangle.js +26 -0
  265. package/cjs/Core/Utils/Vector.js +19 -0
  266. package/cjs/Core/Utils/Vector3d.js +100 -0
  267. package/cjs/Enums/AnimationStatus.js +2 -0
  268. package/cjs/Enums/Directions/MoveDirection.js +2 -0
  269. package/cjs/Enums/Directions/OutModeDirection.js +2 -0
  270. package/cjs/Enums/Directions/RotateDirection.js +2 -0
  271. package/cjs/Enums/InteractivityDetect.js +2 -0
  272. package/cjs/Enums/Modes/ClickMode.js +2 -0
  273. package/cjs/Enums/Modes/CollisionMode.js +2 -0
  274. package/cjs/Enums/Modes/DivMode.js +2 -0
  275. package/cjs/Enums/Modes/HoverMode.js +2 -0
  276. package/cjs/Enums/Modes/OutMode.js +2 -0
  277. package/cjs/Enums/Modes/ResponsiveMode.js +2 -0
  278. package/cjs/Enums/Modes/SizeMode.js +2 -0
  279. package/cjs/Enums/Modes/ThemeMode.js +2 -0
  280. package/cjs/Enums/Types/AlterType.js +2 -0
  281. package/cjs/Enums/Types/DestroyType.js +2 -0
  282. package/cjs/Enums/Types/DivType.js +2 -0
  283. package/cjs/Enums/Types/EasingType.js +2 -0
  284. package/cjs/Enums/Types/EventType.js +2 -0
  285. package/cjs/Enums/Types/GradientType.js +2 -0
  286. package/cjs/Enums/Types/InteractorType.js +2 -0
  287. package/cjs/Enums/Types/ParticleOutType.js +2 -0
  288. package/cjs/Enums/Types/StartValueType.js +2 -0
  289. package/cjs/Options/Classes/AnimatableColor.js +40 -0
  290. package/cjs/Options/Classes/AnimationOptions.js +53 -0
  291. package/cjs/Options/Classes/Background/Background.js +39 -0
  292. package/cjs/Options/Classes/BackgroundMask/BackgroundMask.js +28 -0
  293. package/cjs/Options/Classes/BackgroundMask/BackgroundMaskCover.js +23 -0
  294. package/cjs/Options/Classes/ColorAnimation.js +38 -0
  295. package/cjs/Options/Classes/FullScreen/FullScreen.js +21 -0
  296. package/cjs/Options/Classes/HslAnimation.js +20 -0
  297. package/cjs/Options/Classes/Interactivity/Events/ClickEvent.js +21 -0
  298. package/cjs/Options/Classes/Interactivity/Events/DivEvent.js +53 -0
  299. package/cjs/Options/Classes/Interactivity/Events/Events.js +57 -0
  300. package/cjs/Options/Classes/Interactivity/Events/HoverEvent.js +24 -0
  301. package/cjs/Options/Classes/Interactivity/Events/Parallax.js +25 -0
  302. package/cjs/Options/Classes/Interactivity/Events/ResizeEvent.js +21 -0
  303. package/cjs/Options/Classes/Interactivity/Interactivity.js +31 -0
  304. package/cjs/Options/Classes/Interactivity/Modes/Modes.js +25 -0
  305. package/cjs/Options/Classes/ManualParticle.js +22 -0
  306. package/cjs/Options/Classes/Options.js +174 -0
  307. package/cjs/Options/Classes/OptionsColor.js +28 -0
  308. package/cjs/Options/Classes/Particles/Bounce/ParticlesBounce.js +18 -0
  309. package/cjs/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +12 -0
  310. package/cjs/Options/Classes/Particles/Collisions/Collisions.js +30 -0
  311. package/cjs/Options/Classes/Particles/Collisions/CollisionsAbsorb.js +17 -0
  312. package/cjs/Options/Classes/Particles/Collisions/CollisionsOverlap.js +21 -0
  313. package/cjs/Options/Classes/Particles/Move/Move.js +128 -0
  314. package/cjs/Options/Classes/Particles/Move/MoveAngle.js +22 -0
  315. package/cjs/Options/Classes/Particles/Move/MoveAttract.js +47 -0
  316. package/cjs/Options/Classes/Particles/Move/MoveCenter.js +29 -0
  317. package/cjs/Options/Classes/Particles/Move/MoveGravity.js +30 -0
  318. package/cjs/Options/Classes/Particles/Move/MoveTrail.js +32 -0
  319. package/cjs/Options/Classes/Particles/Move/MoveTrailFill.js +18 -0
  320. package/cjs/Options/Classes/Particles/Move/OutModes.js +22 -0
  321. package/cjs/Options/Classes/Particles/Move/Path/MovePath.js +30 -0
  322. package/cjs/Options/Classes/Particles/Move/Spin.js +24 -0
  323. package/cjs/Options/Classes/Particles/Number/ParticlesDensity.js +46 -0
  324. package/cjs/Options/Classes/Particles/Number/ParticlesNumber.js +32 -0
  325. package/cjs/Options/Classes/Particles/Opacity/Opacity.js +20 -0
  326. package/cjs/Options/Classes/Particles/Opacity/OpacityAnimation.js +30 -0
  327. package/cjs/Options/Classes/Particles/ParticlesOptions.js +96 -0
  328. package/cjs/Options/Classes/Particles/Shadow.js +38 -0
  329. package/cjs/Options/Classes/Particles/Shape/Shape.js +29 -0
  330. package/cjs/Options/Classes/Particles/Size/Size.js +20 -0
  331. package/cjs/Options/Classes/Particles/Size/SizeAnimation.js +30 -0
  332. package/cjs/Options/Classes/Particles/Stroke.js +25 -0
  333. package/cjs/Options/Classes/Particles/ZIndex/ZIndex.js +28 -0
  334. package/cjs/Options/Classes/Random.js +21 -0
  335. package/cjs/Options/Classes/Responsive.js +31 -0
  336. package/cjs/Options/Classes/Theme/Theme.js +24 -0
  337. package/cjs/Options/Classes/Theme/ThemeDefault.js +25 -0
  338. package/cjs/Options/Classes/ValueWithRandom.js +68 -0
  339. package/cjs/Options/Interfaces/Background/IBackground.js +2 -0
  340. package/cjs/Options/Interfaces/BackgroundMask/IBackgroundMask.js +2 -0
  341. package/cjs/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +2 -0
  342. package/cjs/Options/Interfaces/FullScreen/IFullScreen.js +2 -0
  343. package/cjs/Options/Interfaces/IAnimatable.js +2 -0
  344. package/cjs/Options/Interfaces/IAnimatableColor.js +2 -0
  345. package/cjs/Options/Interfaces/IAnimation.js +2 -0
  346. package/cjs/Options/Interfaces/IColorAnimation.js +2 -0
  347. package/cjs/Options/Interfaces/IHslAnimation.js +2 -0
  348. package/cjs/Options/Interfaces/IManualParticle.js +2 -0
  349. package/cjs/Options/Interfaces/IOptionLoader.js +2 -0
  350. package/cjs/Options/Interfaces/IOptions.js +2 -0
  351. package/cjs/Options/Interfaces/IOptionsColor.js +2 -0
  352. package/cjs/Options/Interfaces/IRandom.js +2 -0
  353. package/cjs/Options/Interfaces/IResponsive.js +2 -0
  354. package/cjs/Options/Interfaces/IValueWithRandom.js +2 -0
  355. package/cjs/Options/Interfaces/Interactivity/Events/IClickEvent.js +2 -0
  356. package/cjs/Options/Interfaces/Interactivity/Events/IDivEvent.js +2 -0
  357. package/cjs/Options/Interfaces/Interactivity/Events/IEvents.js +2 -0
  358. package/cjs/Options/Interfaces/Interactivity/Events/IHoverEvent.js +2 -0
  359. package/cjs/Options/Interfaces/Interactivity/Events/IParallax.js +2 -0
  360. package/cjs/Options/Interfaces/Interactivity/Events/IResizeEvent.js +2 -0
  361. package/cjs/Options/Interfaces/Interactivity/IInteractivity.js +2 -0
  362. package/cjs/Options/Interfaces/Interactivity/Modes/IModeDiv.js +2 -0
  363. package/cjs/Options/Interfaces/Interactivity/Modes/IModes.js +2 -0
  364. package/cjs/Options/Interfaces/Particles/Bounce/IParticlesBounce.js +2 -0
  365. package/cjs/Options/Interfaces/Particles/Collisions/ICollisions.js +2 -0
  366. package/cjs/Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js +2 -0
  367. package/cjs/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +2 -0
  368. package/cjs/Options/Interfaces/Particles/IParticlesOptions.js +2 -0
  369. package/cjs/Options/Interfaces/Particles/IShadow.js +2 -0
  370. package/cjs/Options/Interfaces/Particles/IStroke.js +2 -0
  371. package/cjs/Options/Interfaces/Particles/Move/IMove.js +2 -0
  372. package/cjs/Options/Interfaces/Particles/Move/IMoveAngle.js +2 -0
  373. package/cjs/Options/Interfaces/Particles/Move/IMoveAttract.js +2 -0
  374. package/cjs/Options/Interfaces/Particles/Move/IMoveCenter.js +2 -0
  375. package/cjs/Options/Interfaces/Particles/Move/IMoveGravity.js +2 -0
  376. package/cjs/Options/Interfaces/Particles/Move/IMoveTrail.js +2 -0
  377. package/cjs/Options/Interfaces/Particles/Move/IMoveTrailFill.js +2 -0
  378. package/cjs/Options/Interfaces/Particles/Move/IOutModes.js +2 -0
  379. package/cjs/Options/Interfaces/Particles/Move/ISpin.js +2 -0
  380. package/cjs/Options/Interfaces/Particles/Move/Path/IMovePath.js +2 -0
  381. package/cjs/Options/Interfaces/Particles/Number/IParticlesDensity.js +2 -0
  382. package/cjs/Options/Interfaces/Particles/Number/IParticlesNumber.js +2 -0
  383. package/cjs/Options/Interfaces/Particles/Opacity/IOpacity.js +2 -0
  384. package/cjs/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +2 -0
  385. package/cjs/Options/Interfaces/Particles/Shape/ICharacterShape.js +2 -0
  386. package/cjs/Options/Interfaces/Particles/Shape/IImageShape.js +2 -0
  387. package/cjs/Options/Interfaces/Particles/Shape/IPolygonShape.js +2 -0
  388. package/cjs/Options/Interfaces/Particles/Shape/IShape.js +2 -0
  389. package/cjs/Options/Interfaces/Particles/Shape/IShapeValues.js +17 -0
  390. package/cjs/Options/Interfaces/Particles/Shape/IStarShape.js +2 -0
  391. package/cjs/Options/Interfaces/Particles/Size/ISize.js +2 -0
  392. package/cjs/Options/Interfaces/Particles/Size/ISizeAnimation.js +2 -0
  393. package/cjs/Options/Interfaces/Particles/ZIndex/IZIndex.js +2 -0
  394. package/cjs/Options/Interfaces/Theme/ITheme.js +2 -0
  395. package/cjs/Options/Interfaces/Theme/IThemeDefault.js +2 -0
  396. package/cjs/Types/CustomEventArgs.js +2 -0
  397. package/cjs/Types/CustomEventListener.js +2 -0
  398. package/cjs/Types/ISourceOptions.js +2 -0
  399. package/cjs/Types/ParticlesGroups.js +2 -0
  400. package/cjs/Types/PathOptions.js +2 -0
  401. package/cjs/Types/RangeValue.js +2 -0
  402. package/cjs/Types/RecursivePartial.js +2 -0
  403. package/cjs/Types/ShapeData.js +2 -0
  404. package/cjs/Types/ShapeDrawerFunctions.js +2 -0
  405. package/cjs/Types/SingleOrMultiple.js +2 -0
  406. package/cjs/Utils/CanvasUtils.js +164 -0
  407. package/cjs/Utils/ColorUtils.js +295 -0
  408. package/cjs/Utils/EventDispatcher.js +48 -0
  409. package/cjs/Utils/HslColorManager.js +44 -0
  410. package/cjs/Utils/NumberUtils.js +175 -0
  411. package/cjs/Utils/OptionsUtils.js +16 -0
  412. package/cjs/Utils/RgbColorManager.js +43 -0
  413. package/cjs/Utils/Utils.js +274 -0
  414. package/cjs/bundle.js +114 -0
  415. package/cjs/engine.js +179 -0
  416. package/cjs/index.js +216 -0
  417. package/esm/Core/Canvas.js +398 -0
  418. package/esm/Core/Container.js +436 -0
  419. package/esm/Core/Interfaces/Colors.js +1 -0
  420. package/esm/Core/Interfaces/IBounds.js +1 -0
  421. package/esm/Core/Interfaces/IBubbleParticleData.js +1 -0
  422. package/esm/Core/Interfaces/ICircleBouncer.js +1 -0
  423. package/esm/Core/Interfaces/IColorManager.js +1 -0
  424. package/esm/Core/Interfaces/IContainerInteractivity.js +1 -0
  425. package/esm/Core/Interfaces/IContainerPlugin.js +1 -0
  426. package/esm/Core/Interfaces/ICoordinates.js +1 -0
  427. package/esm/Core/Interfaces/IDelta.js +1 -0
  428. package/esm/Core/Interfaces/IDimension.js +1 -0
  429. package/esm/Core/Interfaces/IDistance.js +1 -0
  430. package/esm/Core/Interfaces/IDrawParticleParams.js +1 -0
  431. package/esm/Core/Interfaces/IExternalInteractor.js +1 -0
  432. package/esm/Core/Interfaces/IInteractor.js +1 -0
  433. package/esm/Core/Interfaces/ILoadParams.js +1 -0
  434. package/esm/Core/Interfaces/IMouseData.js +1 -0
  435. package/esm/Core/Interfaces/IMovePathGenerator.js +1 -0
  436. package/esm/Core/Interfaces/IParticle.js +1 -0
  437. package/esm/Core/Interfaces/IParticleColorStyle.js +1 -0
  438. package/esm/Core/Interfaces/IParticleHslAnimation.js +1 -0
  439. package/esm/Core/Interfaces/IParticleLife.js +1 -0
  440. package/esm/Core/Interfaces/IParticleMover.js +1 -0
  441. package/esm/Core/Interfaces/IParticleOverride.js +1 -0
  442. package/esm/Core/Interfaces/IParticleRetinaProps.js +1 -0
  443. package/esm/Core/Interfaces/IParticleRoll.js +1 -0
  444. package/esm/Core/Interfaces/IParticleTransformValues.js +1 -0
  445. package/esm/Core/Interfaces/IParticleUpdater.js +1 -0
  446. package/esm/Core/Interfaces/IParticleValueAnimation.js +1 -0
  447. package/esm/Core/Interfaces/IParticlesInteractor.js +1 -0
  448. package/esm/Core/Interfaces/IParticlesMover.js +1 -0
  449. package/esm/Core/Interfaces/IPlugin.js +1 -0
  450. package/esm/Core/Interfaces/IPositionFromSizeParams.js +1 -0
  451. package/esm/Core/Interfaces/IRangeValue.js +1 -0
  452. package/esm/Core/Interfaces/IRectSideResult.js +1 -0
  453. package/esm/Core/Interfaces/IShapeDrawer.js +1 -0
  454. package/esm/Core/Interfaces/IShapeValues.js +1 -0
  455. package/esm/Core/Interfaces/ISlowParticleData.js +1 -0
  456. package/esm/Core/Interfaces/ITrailFillData.js +1 -0
  457. package/esm/Core/Particle.js +307 -0
  458. package/esm/Core/Particles.js +262 -0
  459. package/esm/Core/Retina.js +33 -0
  460. package/esm/Core/Utils/Circle.js +23 -0
  461. package/esm/Core/Utils/Constants.js +12 -0
  462. package/esm/Core/Utils/EventListeners.js +280 -0
  463. package/esm/Core/Utils/ExternalInteractorBase.js +6 -0
  464. package/esm/Core/Utils/FrameManager.js +42 -0
  465. package/esm/Core/Utils/InteractionManager.js +60 -0
  466. package/esm/Core/Utils/ParticlesInteractorBase.js +6 -0
  467. package/esm/Core/Utils/Plugins.js +112 -0
  468. package/esm/Core/Utils/Point.js +6 -0
  469. package/esm/Core/Utils/QuadTree.js +64 -0
  470. package/esm/Core/Utils/Range.js +8 -0
  471. package/esm/Core/Utils/Rectangle.js +22 -0
  472. package/esm/Core/Utils/Vector.js +15 -0
  473. package/esm/Core/Utils/Vector3d.js +96 -0
  474. package/esm/Enums/AnimationStatus.js +1 -0
  475. package/esm/Enums/Directions/MoveDirection.js +1 -0
  476. package/esm/Enums/Directions/OutModeDirection.js +1 -0
  477. package/esm/Enums/Directions/RotateDirection.js +1 -0
  478. package/esm/Enums/InteractivityDetect.js +1 -0
  479. package/esm/Enums/Modes/ClickMode.js +1 -0
  480. package/esm/Enums/Modes/CollisionMode.js +1 -0
  481. package/esm/Enums/Modes/DivMode.js +1 -0
  482. package/esm/Enums/Modes/HoverMode.js +1 -0
  483. package/esm/Enums/Modes/OutMode.js +1 -0
  484. package/esm/Enums/Modes/ResponsiveMode.js +1 -0
  485. package/esm/Enums/Modes/SizeMode.js +1 -0
  486. package/esm/Enums/Modes/ThemeMode.js +1 -0
  487. package/esm/Enums/Types/AlterType.js +1 -0
  488. package/esm/Enums/Types/DestroyType.js +1 -0
  489. package/esm/Enums/Types/DivType.js +1 -0
  490. package/esm/Enums/Types/EasingType.js +1 -0
  491. package/esm/Enums/Types/EventType.js +1 -0
  492. package/esm/Enums/Types/GradientType.js +1 -0
  493. package/esm/Enums/Types/InteractorType.js +1 -0
  494. package/esm/Enums/Types/ParticleOutType.js +1 -0
  495. package/esm/Enums/Types/StartValueType.js +1 -0
  496. package/esm/Options/Classes/AnimatableColor.js +36 -0
  497. package/esm/Options/Classes/AnimationOptions.js +48 -0
  498. package/esm/Options/Classes/Background/Background.js +35 -0
  499. package/esm/Options/Classes/BackgroundMask/BackgroundMask.js +24 -0
  500. package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.js +19 -0
  501. package/esm/Options/Classes/ColorAnimation.js +34 -0
  502. package/esm/Options/Classes/FullScreen/FullScreen.js +17 -0
  503. package/esm/Options/Classes/HslAnimation.js +16 -0
  504. package/esm/Options/Classes/Interactivity/Events/ClickEvent.js +17 -0
  505. package/esm/Options/Classes/Interactivity/Events/DivEvent.js +49 -0
  506. package/esm/Options/Classes/Interactivity/Events/Events.js +53 -0
  507. package/esm/Options/Classes/Interactivity/Events/HoverEvent.js +20 -0
  508. package/esm/Options/Classes/Interactivity/Events/Parallax.js +21 -0
  509. package/esm/Options/Classes/Interactivity/Events/ResizeEvent.js +17 -0
  510. package/esm/Options/Classes/Interactivity/Interactivity.js +27 -0
  511. package/esm/Options/Classes/Interactivity/Modes/Modes.js +21 -0
  512. package/esm/Options/Classes/ManualParticle.js +18 -0
  513. package/esm/Options/Classes/Options.js +170 -0
  514. package/esm/Options/Classes/OptionsColor.js +24 -0
  515. package/esm/Options/Classes/Particles/Bounce/ParticlesBounce.js +14 -0
  516. package/esm/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +8 -0
  517. package/esm/Options/Classes/Particles/Collisions/Collisions.js +26 -0
  518. package/esm/Options/Classes/Particles/Collisions/CollisionsAbsorb.js +13 -0
  519. package/esm/Options/Classes/Particles/Collisions/CollisionsOverlap.js +17 -0
  520. package/esm/Options/Classes/Particles/Move/Move.js +124 -0
  521. package/esm/Options/Classes/Particles/Move/MoveAngle.js +18 -0
  522. package/esm/Options/Classes/Particles/Move/MoveAttract.js +43 -0
  523. package/esm/Options/Classes/Particles/Move/MoveCenter.js +25 -0
  524. package/esm/Options/Classes/Particles/Move/MoveGravity.js +26 -0
  525. package/esm/Options/Classes/Particles/Move/MoveTrail.js +28 -0
  526. package/esm/Options/Classes/Particles/Move/MoveTrailFill.js +14 -0
  527. package/esm/Options/Classes/Particles/Move/OutModes.js +18 -0
  528. package/esm/Options/Classes/Particles/Move/Path/MovePath.js +26 -0
  529. package/esm/Options/Classes/Particles/Move/Spin.js +20 -0
  530. package/esm/Options/Classes/Particles/Number/ParticlesDensity.js +42 -0
  531. package/esm/Options/Classes/Particles/Number/ParticlesNumber.js +28 -0
  532. package/esm/Options/Classes/Particles/Opacity/Opacity.js +16 -0
  533. package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +26 -0
  534. package/esm/Options/Classes/Particles/ParticlesOptions.js +92 -0
  535. package/esm/Options/Classes/Particles/Shadow.js +34 -0
  536. package/esm/Options/Classes/Particles/Shape/Shape.js +25 -0
  537. package/esm/Options/Classes/Particles/Size/Size.js +16 -0
  538. package/esm/Options/Classes/Particles/Size/SizeAnimation.js +26 -0
  539. package/esm/Options/Classes/Particles/Stroke.js +21 -0
  540. package/esm/Options/Classes/Particles/ZIndex/ZIndex.js +24 -0
  541. package/esm/Options/Classes/Random.js +17 -0
  542. package/esm/Options/Classes/Responsive.js +27 -0
  543. package/esm/Options/Classes/Theme/Theme.js +20 -0
  544. package/esm/Options/Classes/Theme/ThemeDefault.js +21 -0
  545. package/esm/Options/Classes/ValueWithRandom.js +62 -0
  546. package/esm/Options/Interfaces/Background/IBackground.js +1 -0
  547. package/esm/Options/Interfaces/BackgroundMask/IBackgroundMask.js +1 -0
  548. package/esm/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +1 -0
  549. package/esm/Options/Interfaces/FullScreen/IFullScreen.js +1 -0
  550. package/esm/Options/Interfaces/IAnimatable.js +1 -0
  551. package/esm/Options/Interfaces/IAnimatableColor.js +1 -0
  552. package/esm/Options/Interfaces/IAnimation.js +1 -0
  553. package/esm/Options/Interfaces/IColorAnimation.js +1 -0
  554. package/esm/Options/Interfaces/IHslAnimation.js +1 -0
  555. package/esm/Options/Interfaces/IManualParticle.js +1 -0
  556. package/esm/Options/Interfaces/IOptionLoader.js +1 -0
  557. package/esm/Options/Interfaces/IOptions.js +1 -0
  558. package/esm/Options/Interfaces/IOptionsColor.js +1 -0
  559. package/esm/Options/Interfaces/IRandom.js +1 -0
  560. package/esm/Options/Interfaces/IResponsive.js +1 -0
  561. package/esm/Options/Interfaces/IValueWithRandom.js +1 -0
  562. package/esm/Options/Interfaces/Interactivity/Events/IClickEvent.js +1 -0
  563. package/esm/Options/Interfaces/Interactivity/Events/IDivEvent.js +1 -0
  564. package/esm/Options/Interfaces/Interactivity/Events/IEvents.js +1 -0
  565. package/esm/Options/Interfaces/Interactivity/Events/IHoverEvent.js +1 -0
  566. package/esm/Options/Interfaces/Interactivity/Events/IParallax.js +1 -0
  567. package/esm/Options/Interfaces/Interactivity/Events/IResizeEvent.js +1 -0
  568. package/esm/Options/Interfaces/Interactivity/IInteractivity.js +1 -0
  569. package/esm/Options/Interfaces/Interactivity/Modes/IModeDiv.js +1 -0
  570. package/esm/Options/Interfaces/Interactivity/Modes/IModes.js +1 -0
  571. package/esm/Options/Interfaces/Particles/Bounce/IParticlesBounce.js +1 -0
  572. package/esm/Options/Interfaces/Particles/Collisions/ICollisions.js +1 -0
  573. package/esm/Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js +1 -0
  574. package/esm/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +1 -0
  575. package/esm/Options/Interfaces/Particles/IParticlesOptions.js +1 -0
  576. package/esm/Options/Interfaces/Particles/IShadow.js +1 -0
  577. package/esm/Options/Interfaces/Particles/IStroke.js +1 -0
  578. package/esm/Options/Interfaces/Particles/Move/IMove.js +1 -0
  579. package/esm/Options/Interfaces/Particles/Move/IMoveAngle.js +1 -0
  580. package/esm/Options/Interfaces/Particles/Move/IMoveAttract.js +1 -0
  581. package/esm/Options/Interfaces/Particles/Move/IMoveCenter.js +1 -0
  582. package/esm/Options/Interfaces/Particles/Move/IMoveGravity.js +1 -0
  583. package/esm/Options/Interfaces/Particles/Move/IMoveTrail.js +1 -0
  584. package/esm/Options/Interfaces/Particles/Move/IMoveTrailFill.js +1 -0
  585. package/esm/Options/Interfaces/Particles/Move/IOutModes.js +1 -0
  586. package/esm/Options/Interfaces/Particles/Move/ISpin.js +1 -0
  587. package/esm/Options/Interfaces/Particles/Move/Path/IMovePath.js +1 -0
  588. package/esm/Options/Interfaces/Particles/Number/IParticlesDensity.js +1 -0
  589. package/esm/Options/Interfaces/Particles/Number/IParticlesNumber.js +1 -0
  590. package/esm/Options/Interfaces/Particles/Opacity/IOpacity.js +1 -0
  591. package/esm/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +1 -0
  592. package/esm/Options/Interfaces/Particles/Shape/ICharacterShape.js +1 -0
  593. package/esm/Options/Interfaces/Particles/Shape/IImageShape.js +1 -0
  594. package/esm/Options/Interfaces/Particles/Shape/IPolygonShape.js +1 -0
  595. package/esm/Options/Interfaces/Particles/Shape/IShape.js +1 -0
  596. package/esm/Options/Interfaces/Particles/Shape/IShapeValues.js +1 -0
  597. package/esm/Options/Interfaces/Particles/Shape/IStarShape.js +1 -0
  598. package/esm/Options/Interfaces/Particles/Size/ISize.js +1 -0
  599. package/esm/Options/Interfaces/Particles/Size/ISizeAnimation.js +1 -0
  600. package/esm/Options/Interfaces/Particles/ZIndex/IZIndex.js +1 -0
  601. package/esm/Options/Interfaces/Theme/ITheme.js +1 -0
  602. package/esm/Options/Interfaces/Theme/IThemeDefault.js +1 -0
  603. package/esm/Types/CustomEventArgs.js +1 -0
  604. package/esm/Types/CustomEventListener.js +1 -0
  605. package/esm/Types/ISourceOptions.js +1 -0
  606. package/esm/Types/ParticlesGroups.js +1 -0
  607. package/esm/Types/PathOptions.js +1 -0
  608. package/esm/Types/RangeValue.js +1 -0
  609. package/esm/Types/RecursivePartial.js +1 -0
  610. package/esm/Types/ShapeData.js +1 -0
  611. package/esm/Types/ShapeDrawerFunctions.js +1 -0
  612. package/esm/Types/SingleOrMultiple.js +1 -0
  613. package/esm/Utils/CanvasUtils.js +149 -0
  614. package/esm/Utils/ColorUtils.js +274 -0
  615. package/esm/Utils/EventDispatcher.js +44 -0
  616. package/esm/Utils/HslColorManager.js +40 -0
  617. package/esm/Utils/NumberUtils.js +149 -0
  618. package/esm/Utils/OptionsUtils.js +11 -0
  619. package/esm/Utils/RgbColorManager.js +39 -0
  620. package/esm/Utils/Utils.js +247 -0
  621. package/esm/bundle.js +97 -0
  622. package/esm/engine.js +175 -0
  623. package/esm/index.js +199 -0
  624. package/package.json +90 -0
  625. package/report.html +39 -0
  626. package/scripts/install.js +105 -0
  627. package/tsparticles.engine.js +5541 -0
  628. package/tsparticles.engine.min.js +2 -0
  629. package/tsparticles.engine.min.js.LICENSE.txt +10 -0
  630. package/types/Core/Canvas.d.ts +47 -0
  631. package/types/Core/Container.d.ts +72 -0
  632. package/types/Core/Interfaces/Colors.d.ts +57 -0
  633. package/types/Core/Interfaces/IBounds.d.ts +6 -0
  634. package/types/Core/Interfaces/IBubbleParticleData.d.ts +9 -0
  635. package/types/Core/Interfaces/ICircleBouncer.d.ts +9 -0
  636. package/types/Core/Interfaces/IColorManager.d.ts +8 -0
  637. package/types/Core/Interfaces/IContainerInteractivity.d.ts +6 -0
  638. package/types/Core/Interfaces/IContainerPlugin.d.ts +29 -0
  639. package/types/Core/Interfaces/ICoordinates.d.ts +20 -0
  640. package/types/Core/Interfaces/IDelta.d.ts +4 -0
  641. package/types/Core/Interfaces/IDimension.d.ts +4 -0
  642. package/types/Core/Interfaces/IDistance.d.ts +4 -0
  643. package/types/Core/Interfaces/IDrawParticleParams.d.ts +19 -0
  644. package/types/Core/Interfaces/IExternalInteractor.d.ts +13 -0
  645. package/types/Core/Interfaces/IInteractor.d.ts +16 -0
  646. package/types/Core/Interfaces/ILoadParams.d.ts +9 -0
  647. package/types/Core/Interfaces/IMouseData.d.ts +9 -0
  648. package/types/Core/Interfaces/IMovePathGenerator.d.ts +9 -0
  649. package/types/Core/Interfaces/IParticle.d.ts +48 -0
  650. package/types/Core/Interfaces/IParticleColorStyle.d.ts +4 -0
  651. package/types/Core/Interfaces/IParticleHslAnimation.d.ts +6 -0
  652. package/types/Core/Interfaces/IParticleLife.d.ts +7 -0
  653. package/types/Core/Interfaces/IParticleMover.d.ts +7 -0
  654. package/types/Core/Interfaces/IParticleOverride.d.ts +6 -0
  655. package/types/Core/Interfaces/IParticleRetinaProps.d.ts +9 -0
  656. package/types/Core/Interfaces/IParticleRoll.d.ts +12 -0
  657. package/types/Core/Interfaces/IParticleTransformValues.d.ts +6 -0
  658. package/types/Core/Interfaces/IParticleUpdater.d.ts +21 -0
  659. package/types/Core/Interfaces/IParticleValueAnimation.d.ts +15 -0
  660. package/types/Core/Interfaces/IParticlesInteractor.d.ts +7 -0
  661. package/types/Core/Interfaces/IParticlesMover.d.ts +7 -0
  662. package/types/Core/Interfaces/IPlugin.d.ts +10 -0
  663. package/types/Core/Interfaces/IPositionFromSizeParams.d.ts +10 -0
  664. package/types/Core/Interfaces/IRangeValue.d.ts +4 -0
  665. package/types/Core/Interfaces/IRectSideResult.d.ts +5 -0
  666. package/types/Core/Interfaces/IShapeDrawer.d.ts +10 -0
  667. package/types/Core/Interfaces/IShapeValues.d.ts +8 -0
  668. package/types/Core/Interfaces/ISlowParticleData.d.ts +4 -0
  669. package/types/Core/Interfaces/ITrailFillData.d.ts +6 -0
  670. package/types/Core/Particle.d.ts +85 -0
  671. package/types/Core/Particles.d.ts +45 -0
  672. package/types/Core/Retina.d.ts +13 -0
  673. package/types/Core/Utils/Circle.d.ts +8 -0
  674. package/types/Core/Utils/Constants.d.ts +12 -0
  675. package/types/Core/Utils/EventListeners.d.ts +21 -0
  676. package/types/Core/Utils/ExternalInteractorBase.d.ts +15 -0
  677. package/types/Core/Utils/FrameManager.d.ts +6 -0
  678. package/types/Core/Utils/InteractionManager.d.ts +18 -0
  679. package/types/Core/Utils/ParticlesInteractorBase.d.ts +15 -0
  680. package/types/Core/Utils/Plugins.d.ts +51 -0
  681. package/types/Core/Utils/Point.d.ts +7 -0
  682. package/types/Core/Utils/QuadTree.d.ts +22 -0
  683. package/types/Core/Utils/Range.d.ts +7 -0
  684. package/types/Core/Utils/Rectangle.d.ts +9 -0
  685. package/types/Core/Utils/Vector.d.ts +8 -0
  686. package/types/Core/Utils/Vector3d.d.ts +29 -0
  687. package/types/Enums/AnimationStatus.d.ts +4 -0
  688. package/types/Enums/Directions/MoveDirection.d.ts +14 -0
  689. package/types/Enums/Directions/OutModeDirection.d.ts +6 -0
  690. package/types/Enums/Directions/RotateDirection.d.ts +6 -0
  691. package/types/Enums/InteractivityDetect.d.ts +5 -0
  692. package/types/Enums/Modes/ClickMode.d.ts +9 -0
  693. package/types/Enums/Modes/CollisionMode.d.ts +5 -0
  694. package/types/Enums/Modes/DivMode.d.ts +5 -0
  695. package/types/Enums/Modes/HoverMode.d.ts +11 -0
  696. package/types/Enums/Modes/OutMode.d.ts +10 -0
  697. package/types/Enums/Modes/ResponsiveMode.d.ts +4 -0
  698. package/types/Enums/Modes/SizeMode.d.ts +4 -0
  699. package/types/Enums/Modes/ThemeMode.d.ts +5 -0
  700. package/types/Enums/Types/AlterType.d.ts +4 -0
  701. package/types/Enums/Types/DestroyType.d.ts +5 -0
  702. package/types/Enums/Types/DivType.d.ts +4 -0
  703. package/types/Enums/Types/EasingType.d.ts +27 -0
  704. package/types/Enums/Types/EventType.d.ts +12 -0
  705. package/types/Enums/Types/GradientType.d.ts +5 -0
  706. package/types/Enums/Types/InteractorType.d.ts +4 -0
  707. package/types/Enums/Types/ParticleOutType.d.ts +5 -0
  708. package/types/Enums/Types/StartValueType.d.ts +5 -0
  709. package/types/Options/Classes/AnimatableColor.d.ts +12 -0
  710. package/types/Options/Classes/AnimationOptions.d.ts +20 -0
  711. package/types/Options/Classes/Background/Background.d.ts +14 -0
  712. package/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts +11 -0
  713. package/types/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +10 -0
  714. package/types/Options/Classes/ColorAnimation.d.ts +14 -0
  715. package/types/Options/Classes/FullScreen/FullScreen.d.ts +9 -0
  716. package/types/Options/Classes/HslAnimation.d.ts +11 -0
  717. package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +11 -0
  718. package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +20 -0
  719. package/types/Options/Classes/Interactivity/Events/Events.d.ts +22 -0
  720. package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +13 -0
  721. package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +10 -0
  722. package/types/Options/Classes/Interactivity/Events/ResizeEvent.d.ts +9 -0
  723. package/types/Options/Classes/Interactivity/Interactivity.d.ts +18 -0
  724. package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +12 -0
  725. package/types/Options/Classes/ManualParticle.d.ts +10 -0
  726. package/types/Options/Classes/Options.d.ts +58 -0
  727. package/types/Options/Classes/OptionsColor.d.ts +11 -0
  728. package/types/Options/Classes/Particles/Bounce/ParticlesBounce.d.ts +10 -0
  729. package/types/Options/Classes/Particles/Bounce/ParticlesBounceFactor.d.ts +4 -0
  730. package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +16 -0
  731. package/types/Options/Classes/Particles/Collisions/CollisionsAbsorb.d.ts +8 -0
  732. package/types/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +9 -0
  733. package/types/Options/Classes/Particles/Move/Move.d.ts +49 -0
  734. package/types/Options/Classes/Particles/Move/MoveAngle.d.ts +10 -0
  735. package/types/Options/Classes/Particles/Move/MoveAttract.d.ts +16 -0
  736. package/types/Options/Classes/Particles/Move/MoveCenter.d.ts +12 -0
  737. package/types/Options/Classes/Particles/Move/MoveGravity.d.ts +12 -0
  738. package/types/Options/Classes/Particles/Move/MoveTrail.d.ts +14 -0
  739. package/types/Options/Classes/Particles/Move/MoveTrailFill.d.ts +9 -0
  740. package/types/Options/Classes/Particles/Move/OutModes.d.ts +14 -0
  741. package/types/Options/Classes/Particles/Move/Path/MovePath.d.ts +14 -0
  742. package/types/Options/Classes/Particles/Move/Spin.d.ts +12 -0
  743. package/types/Options/Classes/Particles/Number/ParticlesDensity.d.ts +16 -0
  744. package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +13 -0
  745. package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +10 -0
  746. package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +12 -0
  747. package/types/Options/Classes/Particles/ParticlesOptions.d.ts +40 -0
  748. package/types/Options/Classes/Particles/Shadow.d.ts +13 -0
  749. package/types/Options/Classes/Particles/Shape/Shape.d.ts +11 -0
  750. package/types/Options/Classes/Particles/Size/Size.d.ts +10 -0
  751. package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +12 -0
  752. package/types/Options/Classes/Particles/Stroke.d.ts +12 -0
  753. package/types/Options/Classes/Particles/ZIndex/ZIndex.d.ts +11 -0
  754. package/types/Options/Classes/Random.d.ts +9 -0
  755. package/types/Options/Classes/Responsive.d.ts +12 -0
  756. package/types/Options/Classes/Theme/Theme.d.ts +12 -0
  757. package/types/Options/Classes/Theme/ThemeDefault.d.ts +11 -0
  758. package/types/Options/Classes/ValueWithRandom.d.ts +26 -0
  759. package/types/Options/Interfaces/Background/IBackground.d.ts +9 -0
  760. package/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +7 -0
  761. package/types/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +5 -0
  762. package/types/Options/Interfaces/FullScreen/IFullScreen.d.ts +4 -0
  763. package/types/Options/Interfaces/IAnimatable.d.ts +4 -0
  764. package/types/Options/Interfaces/IAnimatableColor.d.ts +6 -0
  765. package/types/Options/Interfaces/IAnimation.d.ts +13 -0
  766. package/types/Options/Interfaces/IColorAnimation.d.ts +5 -0
  767. package/types/Options/Interfaces/IHslAnimation.d.ts +6 -0
  768. package/types/Options/Interfaces/IManualParticle.d.ts +7 -0
  769. package/types/Options/Interfaces/IOptionLoader.d.ts +4 -0
  770. package/types/Options/Interfaces/IOptions.d.ts +37 -0
  771. package/types/Options/Interfaces/IOptionsColor.d.ts +2 -0
  772. package/types/Options/Interfaces/IRandom.d.ts +4 -0
  773. package/types/Options/Interfaces/IResponsive.d.ts +7 -0
  774. package/types/Options/Interfaces/IValueWithRandom.d.ts +13 -0
  775. package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +6 -0
  776. package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +12 -0
  777. package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +14 -0
  778. package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +8 -0
  779. package/types/Options/Interfaces/Interactivity/Events/IParallax.d.ts +5 -0
  780. package/types/Options/Interfaces/Interactivity/Events/IResizeEvent.d.ts +4 -0
  781. package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +10 -0
  782. package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +5 -0
  783. package/types/Options/Interfaces/Interactivity/Modes/IModes.d.ts +3 -0
  784. package/types/Options/Interfaces/Particles/Bounce/IParticlesBounce.d.ts +5 -0
  785. package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +11 -0
  786. package/types/Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.d.ts +3 -0
  787. package/types/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +4 -0
  788. package/types/Options/Interfaces/Particles/IParticlesOptions.d.ts +32 -0
  789. package/types/Options/Interfaces/Particles/IShadow.d.ts +8 -0
  790. package/types/Options/Interfaces/Particles/IStroke.d.ts +8 -0
  791. package/types/Options/Interfaces/Particles/Move/IMove.d.ts +38 -0
  792. package/types/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +5 -0
  793. package/types/Options/Interfaces/Particles/Move/IMoveAttract.d.ts +9 -0
  794. package/types/Options/Interfaces/Particles/Move/IMoveCenter.d.ts +2 -0
  795. package/types/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +7 -0
  796. package/types/Options/Interfaces/Particles/Move/IMoveTrail.d.ts +8 -0
  797. package/types/Options/Interfaces/Particles/Move/IMoveTrailFill.d.ts +5 -0
  798. package/types/Options/Interfaces/Particles/Move/IOutModes.d.ts +8 -0
  799. package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +7 -0
  800. package/types/Options/Interfaces/Particles/Move/Path/IMovePath.d.ts +9 -0
  801. package/types/Options/Interfaces/Particles/Number/IParticlesDensity.d.ts +8 -0
  802. package/types/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +7 -0
  803. package/types/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +6 -0
  804. package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +6 -0
  805. package/types/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +8 -0
  806. package/types/Options/Interfaces/Particles/Shape/IImageShape.d.ts +8 -0
  807. package/types/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +5 -0
  808. package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +6 -0
  809. package/types/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +1 -0
  810. package/types/Options/Interfaces/Particles/Shape/IStarShape.d.ts +6 -0
  811. package/types/Options/Interfaces/Particles/Size/ISize.d.ts +6 -0
  812. package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +6 -0
  813. package/types/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +6 -0
  814. package/types/Options/Interfaces/Theme/ITheme.d.ts +7 -0
  815. package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +6 -0
  816. package/types/Types/CustomEventArgs.d.ts +5 -0
  817. package/types/Types/CustomEventListener.d.ts +2 -0
  818. package/types/Types/ISourceOptions.d.ts +3 -0
  819. package/types/Types/ParticlesGroups.d.ts +4 -0
  820. package/types/Types/PathOptions.d.ts +3 -0
  821. package/types/Types/RangeValue.d.ts +2 -0
  822. package/types/Types/RecursivePartial.d.ts +3 -0
  823. package/types/Types/ShapeData.d.ts +5 -0
  824. package/types/Types/ShapeDrawerFunctions.d.ts +10 -0
  825. package/types/Types/SingleOrMultiple.d.ts +1 -0
  826. package/types/Utils/CanvasUtils.d.ts +23 -0
  827. package/types/Utils/ColorUtils.d.ts +24 -0
  828. package/types/Utils/EventDispatcher.d.ts +11 -0
  829. package/types/Utils/HslColorManager.d.ts +10 -0
  830. package/types/Utils/NumberUtils.d.ts +37 -0
  831. package/types/Utils/OptionsUtils.d.ts +8 -0
  832. package/types/Utils/RgbColorManager.d.ts +10 -0
  833. package/types/Utils/Utils.d.ts +36 -0
  834. package/types/bundle.d.ts +91 -0
  835. package/types/engine.d.ts +39 -0
  836. package/types/index.d.ts +204 -0
  837. package/umd/Core/Canvas.js +412 -0
  838. package/umd/Core/Container.js +450 -0
  839. package/umd/Core/Interfaces/Colors.js +12 -0
  840. package/umd/Core/Interfaces/IBounds.js +12 -0
  841. package/umd/Core/Interfaces/IBubbleParticleData.js +12 -0
  842. package/umd/Core/Interfaces/ICircleBouncer.js +12 -0
  843. package/umd/Core/Interfaces/IColorManager.js +12 -0
  844. package/umd/Core/Interfaces/IContainerInteractivity.js +12 -0
  845. package/umd/Core/Interfaces/IContainerPlugin.js +12 -0
  846. package/umd/Core/Interfaces/ICoordinates.js +12 -0
  847. package/umd/Core/Interfaces/IDelta.js +12 -0
  848. package/umd/Core/Interfaces/IDimension.js +12 -0
  849. package/umd/Core/Interfaces/IDistance.js +12 -0
  850. package/umd/Core/Interfaces/IDrawParticleParams.js +12 -0
  851. package/umd/Core/Interfaces/IExternalInteractor.js +12 -0
  852. package/umd/Core/Interfaces/IInteractor.js +12 -0
  853. package/umd/Core/Interfaces/ILoadParams.js +12 -0
  854. package/umd/Core/Interfaces/IMouseData.js +12 -0
  855. package/umd/Core/Interfaces/IMovePathGenerator.js +12 -0
  856. package/umd/Core/Interfaces/IParticle.js +12 -0
  857. package/umd/Core/Interfaces/IParticleColorStyle.js +12 -0
  858. package/umd/Core/Interfaces/IParticleHslAnimation.js +12 -0
  859. package/umd/Core/Interfaces/IParticleLife.js +12 -0
  860. package/umd/Core/Interfaces/IParticleMover.js +12 -0
  861. package/umd/Core/Interfaces/IParticleOverride.js +12 -0
  862. package/umd/Core/Interfaces/IParticleRetinaProps.js +12 -0
  863. package/umd/Core/Interfaces/IParticleRoll.js +12 -0
  864. package/umd/Core/Interfaces/IParticleTransformValues.js +12 -0
  865. package/umd/Core/Interfaces/IParticleUpdater.js +12 -0
  866. package/umd/Core/Interfaces/IParticleValueAnimation.js +12 -0
  867. package/umd/Core/Interfaces/IParticlesInteractor.js +12 -0
  868. package/umd/Core/Interfaces/IParticlesMover.js +12 -0
  869. package/umd/Core/Interfaces/IPlugin.js +12 -0
  870. package/umd/Core/Interfaces/IPositionFromSizeParams.js +12 -0
  871. package/umd/Core/Interfaces/IRangeValue.js +12 -0
  872. package/umd/Core/Interfaces/IRectSideResult.js +12 -0
  873. package/umd/Core/Interfaces/IShapeDrawer.js +12 -0
  874. package/umd/Core/Interfaces/IShapeValues.js +12 -0
  875. package/umd/Core/Interfaces/ISlowParticleData.js +12 -0
  876. package/umd/Core/Interfaces/ITrailFillData.js +12 -0
  877. package/umd/Core/Particle.js +321 -0
  878. package/umd/Core/Particles.js +276 -0
  879. package/umd/Core/Retina.js +47 -0
  880. package/umd/Core/Utils/Circle.js +37 -0
  881. package/umd/Core/Utils/Constants.js +25 -0
  882. package/umd/Core/Utils/EventListeners.js +294 -0
  883. package/umd/Core/Utils/ExternalInteractorBase.js +20 -0
  884. package/umd/Core/Utils/FrameManager.js +56 -0
  885. package/umd/Core/Utils/InteractionManager.js +74 -0
  886. package/umd/Core/Utils/ParticlesInteractorBase.js +20 -0
  887. package/umd/Core/Utils/Plugins.js +126 -0
  888. package/umd/Core/Utils/Point.js +20 -0
  889. package/umd/Core/Utils/QuadTree.js +78 -0
  890. package/umd/Core/Utils/Range.js +22 -0
  891. package/umd/Core/Utils/Rectangle.js +36 -0
  892. package/umd/Core/Utils/Vector.js +29 -0
  893. package/umd/Core/Utils/Vector3d.js +110 -0
  894. package/umd/Enums/AnimationStatus.js +12 -0
  895. package/umd/Enums/Directions/MoveDirection.js +12 -0
  896. package/umd/Enums/Directions/OutModeDirection.js +12 -0
  897. package/umd/Enums/Directions/RotateDirection.js +12 -0
  898. package/umd/Enums/InteractivityDetect.js +12 -0
  899. package/umd/Enums/Modes/ClickMode.js +12 -0
  900. package/umd/Enums/Modes/CollisionMode.js +12 -0
  901. package/umd/Enums/Modes/DivMode.js +12 -0
  902. package/umd/Enums/Modes/HoverMode.js +12 -0
  903. package/umd/Enums/Modes/OutMode.js +12 -0
  904. package/umd/Enums/Modes/ResponsiveMode.js +12 -0
  905. package/umd/Enums/Modes/SizeMode.js +12 -0
  906. package/umd/Enums/Modes/ThemeMode.js +12 -0
  907. package/umd/Enums/Types/AlterType.js +12 -0
  908. package/umd/Enums/Types/DestroyType.js +12 -0
  909. package/umd/Enums/Types/DivType.js +12 -0
  910. package/umd/Enums/Types/EasingType.js +12 -0
  911. package/umd/Enums/Types/EventType.js +12 -0
  912. package/umd/Enums/Types/GradientType.js +12 -0
  913. package/umd/Enums/Types/InteractorType.js +12 -0
  914. package/umd/Enums/Types/ParticleOutType.js +12 -0
  915. package/umd/Enums/Types/StartValueType.js +12 -0
  916. package/umd/Options/Classes/AnimatableColor.js +50 -0
  917. package/umd/Options/Classes/AnimationOptions.js +63 -0
  918. package/umd/Options/Classes/Background/Background.js +49 -0
  919. package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +38 -0
  920. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +33 -0
  921. package/umd/Options/Classes/ColorAnimation.js +48 -0
  922. package/umd/Options/Classes/FullScreen/FullScreen.js +31 -0
  923. package/umd/Options/Classes/HslAnimation.js +30 -0
  924. package/umd/Options/Classes/Interactivity/Events/ClickEvent.js +31 -0
  925. package/umd/Options/Classes/Interactivity/Events/DivEvent.js +63 -0
  926. package/umd/Options/Classes/Interactivity/Events/Events.js +67 -0
  927. package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +34 -0
  928. package/umd/Options/Classes/Interactivity/Events/Parallax.js +35 -0
  929. package/umd/Options/Classes/Interactivity/Events/ResizeEvent.js +31 -0
  930. package/umd/Options/Classes/Interactivity/Interactivity.js +41 -0
  931. package/umd/Options/Classes/Interactivity/Modes/Modes.js +35 -0
  932. package/umd/Options/Classes/ManualParticle.js +32 -0
  933. package/umd/Options/Classes/Options.js +184 -0
  934. package/umd/Options/Classes/OptionsColor.js +38 -0
  935. package/umd/Options/Classes/Particles/Bounce/ParticlesBounce.js +28 -0
  936. package/umd/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +22 -0
  937. package/umd/Options/Classes/Particles/Collisions/Collisions.js +40 -0
  938. package/umd/Options/Classes/Particles/Collisions/CollisionsAbsorb.js +27 -0
  939. package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.js +31 -0
  940. package/umd/Options/Classes/Particles/Move/Move.js +138 -0
  941. package/umd/Options/Classes/Particles/Move/MoveAngle.js +32 -0
  942. package/umd/Options/Classes/Particles/Move/MoveAttract.js +57 -0
  943. package/umd/Options/Classes/Particles/Move/MoveCenter.js +39 -0
  944. package/umd/Options/Classes/Particles/Move/MoveGravity.js +40 -0
  945. package/umd/Options/Classes/Particles/Move/MoveTrail.js +42 -0
  946. package/umd/Options/Classes/Particles/Move/MoveTrailFill.js +28 -0
  947. package/umd/Options/Classes/Particles/Move/OutModes.js +32 -0
  948. package/umd/Options/Classes/Particles/Move/Path/MovePath.js +40 -0
  949. package/umd/Options/Classes/Particles/Move/Spin.js +34 -0
  950. package/umd/Options/Classes/Particles/Number/ParticlesDensity.js +56 -0
  951. package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +42 -0
  952. package/umd/Options/Classes/Particles/Opacity/Opacity.js +30 -0
  953. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +40 -0
  954. package/umd/Options/Classes/Particles/ParticlesOptions.js +106 -0
  955. package/umd/Options/Classes/Particles/Shadow.js +48 -0
  956. package/umd/Options/Classes/Particles/Shape/Shape.js +39 -0
  957. package/umd/Options/Classes/Particles/Size/Size.js +30 -0
  958. package/umd/Options/Classes/Particles/Size/SizeAnimation.js +40 -0
  959. package/umd/Options/Classes/Particles/Stroke.js +35 -0
  960. package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +38 -0
  961. package/umd/Options/Classes/Random.js +31 -0
  962. package/umd/Options/Classes/Responsive.js +41 -0
  963. package/umd/Options/Classes/Theme/Theme.js +34 -0
  964. package/umd/Options/Classes/Theme/ThemeDefault.js +35 -0
  965. package/umd/Options/Classes/ValueWithRandom.js +78 -0
  966. package/umd/Options/Interfaces/Background/IBackground.js +12 -0
  967. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.js +12 -0
  968. package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js +12 -0
  969. package/umd/Options/Interfaces/FullScreen/IFullScreen.js +12 -0
  970. package/umd/Options/Interfaces/IAnimatable.js +12 -0
  971. package/umd/Options/Interfaces/IAnimatableColor.js +12 -0
  972. package/umd/Options/Interfaces/IAnimation.js +12 -0
  973. package/umd/Options/Interfaces/IColorAnimation.js +12 -0
  974. package/umd/Options/Interfaces/IHslAnimation.js +12 -0
  975. package/umd/Options/Interfaces/IManualParticle.js +12 -0
  976. package/umd/Options/Interfaces/IOptionLoader.js +12 -0
  977. package/umd/Options/Interfaces/IOptions.js +12 -0
  978. package/umd/Options/Interfaces/IOptionsColor.js +12 -0
  979. package/umd/Options/Interfaces/IRandom.js +12 -0
  980. package/umd/Options/Interfaces/IResponsive.js +12 -0
  981. package/umd/Options/Interfaces/IValueWithRandom.js +12 -0
  982. package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.js +12 -0
  983. package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.js +12 -0
  984. package/umd/Options/Interfaces/Interactivity/Events/IEvents.js +12 -0
  985. package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.js +12 -0
  986. package/umd/Options/Interfaces/Interactivity/Events/IParallax.js +12 -0
  987. package/umd/Options/Interfaces/Interactivity/Events/IResizeEvent.js +12 -0
  988. package/umd/Options/Interfaces/Interactivity/IInteractivity.js +12 -0
  989. package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.js +12 -0
  990. package/umd/Options/Interfaces/Interactivity/Modes/IModes.js +12 -0
  991. package/umd/Options/Interfaces/Particles/Bounce/IParticlesBounce.js +12 -0
  992. package/umd/Options/Interfaces/Particles/Collisions/ICollisions.js +12 -0
  993. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js +12 -0
  994. package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js +12 -0
  995. package/umd/Options/Interfaces/Particles/IParticlesOptions.js +12 -0
  996. package/umd/Options/Interfaces/Particles/IShadow.js +12 -0
  997. package/umd/Options/Interfaces/Particles/IStroke.js +12 -0
  998. package/umd/Options/Interfaces/Particles/Move/IMove.js +12 -0
  999. package/umd/Options/Interfaces/Particles/Move/IMoveAngle.js +12 -0
  1000. package/umd/Options/Interfaces/Particles/Move/IMoveAttract.js +12 -0
  1001. package/umd/Options/Interfaces/Particles/Move/IMoveCenter.js +12 -0
  1002. package/umd/Options/Interfaces/Particles/Move/IMoveGravity.js +12 -0
  1003. package/umd/Options/Interfaces/Particles/Move/IMoveTrail.js +12 -0
  1004. package/umd/Options/Interfaces/Particles/Move/IMoveTrailFill.js +12 -0
  1005. package/umd/Options/Interfaces/Particles/Move/IOutModes.js +12 -0
  1006. package/umd/Options/Interfaces/Particles/Move/ISpin.js +12 -0
  1007. package/umd/Options/Interfaces/Particles/Move/Path/IMovePath.js +12 -0
  1008. package/umd/Options/Interfaces/Particles/Number/IParticlesDensity.js +12 -0
  1009. package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.js +12 -0
  1010. package/umd/Options/Interfaces/Particles/Opacity/IOpacity.js +12 -0
  1011. package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.js +12 -0
  1012. package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.js +12 -0
  1013. package/umd/Options/Interfaces/Particles/Shape/IImageShape.js +12 -0
  1014. package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.js +12 -0
  1015. package/umd/Options/Interfaces/Particles/Shape/IShape.js +12 -0
  1016. package/umd/Options/Interfaces/Particles/Shape/IShapeValues.js +27 -0
  1017. package/umd/Options/Interfaces/Particles/Shape/IStarShape.js +12 -0
  1018. package/umd/Options/Interfaces/Particles/Size/ISize.js +12 -0
  1019. package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.js +12 -0
  1020. package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.js +12 -0
  1021. package/umd/Options/Interfaces/Theme/ITheme.js +12 -0
  1022. package/umd/Options/Interfaces/Theme/IThemeDefault.js +12 -0
  1023. package/umd/Types/CustomEventArgs.js +12 -0
  1024. package/umd/Types/CustomEventListener.js +12 -0
  1025. package/umd/Types/ISourceOptions.js +12 -0
  1026. package/umd/Types/ParticlesGroups.js +12 -0
  1027. package/umd/Types/PathOptions.js +12 -0
  1028. package/umd/Types/RangeValue.js +12 -0
  1029. package/umd/Types/RecursivePartial.js +12 -0
  1030. package/umd/Types/ShapeData.js +12 -0
  1031. package/umd/Types/ShapeDrawerFunctions.js +12 -0
  1032. package/umd/Types/SingleOrMultiple.js +12 -0
  1033. package/umd/Utils/CanvasUtils.js +174 -0
  1034. package/umd/Utils/ColorUtils.js +305 -0
  1035. package/umd/Utils/EventDispatcher.js +58 -0
  1036. package/umd/Utils/HslColorManager.js +54 -0
  1037. package/umd/Utils/NumberUtils.js +185 -0
  1038. package/umd/Utils/OptionsUtils.js +26 -0
  1039. package/umd/Utils/RgbColorManager.js +53 -0
  1040. package/umd/Utils/Utils.js +284 -0
  1041. package/umd/bundle.js +124 -0
  1042. package/umd/engine.js +189 -0
  1043. package/umd/index.js +226 -0
package/README.md ADDED
@@ -0,0 +1,824 @@
1
+ [![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org)
2
+
3
+ # tsParticles - TypeScript Particles
4
+
5
+ **A lightweight TypeScript library for creating particles. Dependency free (\*), browser ready and compatible with
6
+ React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js, Solid.js, and Web Components**
7
+
8
+ [![GitHub Sponsors](https://img.shields.io/github/sponsors/matteobruni?style=for-the-badge)](https://github.com/sponsors/matteobruni)
9
+ [![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/tsparticles?style=for-the-badge)](https://www.jsdelivr.com/package/npm/tsparticles)
10
+ [![Cdnjs](https://img.shields.io/cdnjs/v/tsparticles-engine?style=for-the-badge)](https://cdnjs.com/libraries/tsparticles)
11
+ [![npm](https://img.shields.io/npm/v/tsparticles-engine?style=for-the-badge)](https://www.npmjs.com/package/tsparticles)
12
+ [![npm](https://img.shields.io/npm/dm/tsparticles?style=for-the-badge)](https://www.npmjs.com/package/tsparticles)
13
+ [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff?style=for-the-badge)](https://lerna.js.org/)
14
+ [![CodeFactor](https://www.codefactor.io/repository/github/matteobruni/tsparticles/badge)](https://www.codefactor.io/repository/github/matteobruni/tsparticles)
15
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b983aaf3461a4c48b1e2eecce1ff1d74)](https://www.codacy.com/manual/ar3s/tsparticles?utm_source=github.com&utm_medium=referral&utm_content=matteobruni/tsparticles&utm_campaign=Badge_Grade)
16
+ [![Rate this package](https://badges.openbase.com/js/rating/tsparticles.svg?style=openbase&token=A9jHQ1nkb6fnCndKM7O2w4hx3OD8PVCuqHtSpw8mMOg=)](https://openbase.com/js/tsparticles?utm_source=embedded&utm_medium=badge&utm_campaign=rating-badge&utm_term=js/tsparticles)
17
+ [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/matteobruni/tsparticles)
18
+ [![Run on Repl.it](https://repl.it/badge/github/matteobruni/tsparticles)](https://repl.it/github/matteobruni/tsparticles)
19
+
20
+ [![Discord](https://img.shields.io/discord/872061157379301416?label=discord&logo=discord&logoColor=white&style=for-the-badge)](https://discord.gg/hACwv45Hme)
21
+ [![Slack](https://particles.js.org/images/slack.png)](https://join.slack.com/t/tsparticles/shared_invite/enQtOTcxNTQxNjQ4NzkxLWE2MTZhZWExMWRmOWI5MTMxNjczOGE1Yjk0MjViYjdkYTUzODM3OTc5MGQ5MjFlODc4MzE0N2Q1OWQxZDc1YzI)
22
+ [![WhatsApp](https://particles.js.org/images/WhatsApp.png)](https://chat.whatsapp.com/KQyHc9UEbRc2qlqNQR2J5c)
23
+ [![Telegram](https://particles.js.org/images/telegram.png)](https://t.me/tsparticles)
24
+ [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/tsParticles?style=for-the-badge)](https://www.reddit.com/r/tsParticles/)
25
+
26
+ [![tsParticles Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=186113&theme=light)](https://www.producthunt.com/posts/tsparticles?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tsparticles")
27
+ [![Buy Me A Coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20beer&emoji=🍺&slug=matteobruni&button_colour=5F7FFF&font_colour=ffffff&font_family=Arial&outline_colour=000000&coffee_colour=FFDD00")](https://www.buymeacoffee.com/matteobruni) <a href="https://linktr.ee/tsparticles"><img alt="Linktree" height="30" src="https://particles.js.org/images/linktree.svg" /></a>
28
+
29
+ ---
30
+
31
+ ## Table of Contents
32
+
33
+ - [Use for your website](#Do-you-want-to-use-it-on-your-website)
34
+ - [Library installation](#Library-installation)
35
+ - [Official components for some of the most used frameworks](#Official-components-for-some-of-the-most-used-frameworks)
36
+ - [Angular](#Angular)
37
+ - [Inferno](#Inferno)
38
+ - [jQuery](#jQuery)
39
+ - [Preact](#Preact)
40
+ - [ReactJS](#ReactJS)
41
+ - [RiotJS](#RiotJS)
42
+ - [SolidJS](#SolidJS)
43
+ - [Svelte](#Svelte)
44
+ - [VueJS 2.x](#VueJS-2x)
45
+ - [VueJS 3.x](#VueJS-3x)
46
+ - [Web Components](#Web-Components)
47
+ - [WordPress](#WordPress)
48
+ - [Elementor](#Elementor)
49
+ - [Presets](#Presets)
50
+ - [Big Circles](#Big-Circles)
51
+ - [Bubbles](#Bubbles)
52
+ - [Confetti](#Confetti)
53
+ - [Fire](#Fire)
54
+ - [Firefly](#Firefly)
55
+ - [Fireworks](#Fireworks)
56
+ - [Fountain](#fountain)
57
+ - [Links](#links)
58
+ - [Sea Anemone](#Sea-Anemone)
59
+ - [Snow](#Snow)
60
+ - [Stars](#Stars)
61
+ - [Triangles](#Triangles)
62
+ - [Templates and Resources](#Templates-and-Resources)
63
+ - [Demo / Generator](#Demo--Generator)
64
+ - [Characters as particles](#Characters-as-particles)
65
+ - [Mouse hover connections](#Mouse-hover-connections)
66
+ - [Polygon mask](#Polygon-mask)
67
+ - [Animated stars](#Animated-stars)
68
+ - [Nyan cat flying on scrolling stars](#Nyan-cat-flying-on-scrolling-stars)
69
+ - [Background Mask particles](#Background-Mask-particles)
70
+ - [Video Tutorials](#Video-Tutorials)
71
+ - [Migrating from Particles.js](#Migrating-from-Particlesjs)
72
+ - [Plugins/Customizations](#PluginsCustomizations)
73
+ - [Dependency Graphs](#Dependency-Graphs)
74
+ - [Sponsors](#Sponsors)
75
+
76
+ ---
77
+
78
+ ## Do you want to use it on your website?
79
+
80
+ _Documentation and Development references [here](https://particles.js.org/docs/) 📖_
81
+
82
+ **This library is available on two of the most popular CDNs and it's easy and ready to use, if you were using
83
+ particles.js
84
+ it's even easier**.
85
+
86
+ You'll find the
87
+ instructions [below](https://github.com/matteobruni/tsparticles/blob/main/README.md#library-installation), with all the
88
+ links you need, and _don't be scared by **TypeScript**, it's just the source language_.
89
+
90
+ **The output files are just JavaScript**. 🤩
91
+
92
+ CDNs and `npm` have all the sources you need in **Javascript**, a bundle browser ready (tsparticles.engine.min.js), and
93
+ all
94
+ files splitted for `import` syntax.
95
+
96
+ **If you are interested** there are some _simple instructions_
97
+ just [below](https://github.com/matteobruni/tsparticles/blob/main/README.md#library-installation) to guide you to
98
+ migrate from the old particles.js library.
99
+
100
+ ## **_Library installation_**
101
+
102
+ ### **_Hosting / CDN_**
103
+
104
+ **_Please use these hosts or your own to load tsParticles on your projects_**
105
+
106
+ #### jsDelivr
107
+
108
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-engine/badge)](https://www.jsdelivr.com/package/npm/tsparticles-engine)
109
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-slim/badge)](https://www.jsdelivr.com/package/npm/tsparticles-slim)
110
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles/badge)](https://www.jsdelivr.com/package/npm/tsparticles)
111
+
112
+ #### cdnjs
113
+
114
+ [![Cdnjs](https://img.shields.io/cdnjs/v/tsparticles)](https://cdnjs.com/libraries/tsparticles)
115
+
116
+ #### unpkg
117
+
118
+ <https://unpkg.com/tsparticles-engine/> <https://unpkg.com/tsparticles-slim/> <https://unpkg.com/tsparticles/>
119
+
120
+ ---
121
+
122
+ ### **_npm_**
123
+
124
+ _tsParticles Engine_
125
+
126
+ [![npm](https://img.shields.io/npm/v/tsparticles-engine?style=for-the-badge)](https://www.npmjs.com/package/tsparticles-engine) [![npmjs](https://img.shields.io/npm/dt/tsparticles-engine?style=for-the-badge)](https://www.npmjs.com/package/tsparticles-engine)
127
+
128
+ _tsParticles Slim_
129
+
130
+ [![npm](https://img.shields.io/npm/v/tsparticles-slim?style=for-the-badge)](https://www.npmjs.com/package/tsparticles-slim) [![npmjs](https://img.shields.io/npm/dt/tsparticles-slim?style=for-the-badge)](https://www.npmjs.com/package/tsparticles-slim)
131
+
132
+ _tsParticles_
133
+
134
+ [![npm](https://img.shields.io/npm/v/tsparticles?style=for-the-badge)](https://www.npmjs.com/package/tsparticles) [![npmjs](https://img.shields.io/npm/dt/tsparticles?style=for-the-badge)](https://www.npmjs.com/package/tsparticles)
135
+
136
+ ```shell
137
+ npm install tsparticles-engine
138
+ ```
139
+
140
+ ### **_yarn_**
141
+
142
+ ```shell
143
+ yarn add tsparticles-engine
144
+ ```
145
+
146
+ ### **_pnpm_**
147
+
148
+ ```shell
149
+ pnpm install tsparticles-engine
150
+ ```
151
+
152
+ #### Import and require
153
+
154
+ Starting from version 1.12.11 `import` and `require` can be used to import `tsParticles` .
155
+
156
+ Now you can write something like this
157
+
158
+ ```javascript
159
+ const tsParticles = require("tsparticles-engine");
160
+
161
+ // or
162
+
163
+ import { tsParticles } from "tsparticles-engine";
164
+ ```
165
+
166
+ The imported `tsParticles` is the same instance you have when including the script.
167
+
168
+ ---
169
+
170
+ ### **_NuGet_**
171
+
172
+ [![Nuget](https://img.shields.io/nuget/v/tsParticles?style=for-the-badge)](https://www.nuget.org/packages/tsParticles/)
173
+
174
+ ---
175
+
176
+ ### **_Usage_**
177
+
178
+ Load tsParticles and configure the particles:
179
+
180
+ [![tsParticles demo](https://media.giphy.com/media/ftHwBpp3b0qNyCXRuu/giphy.gif)](https://particles.js.org)
181
+
182
+ **index.html**
183
+
184
+ ```html
185
+ <div id="tsparticles"></div>
186
+
187
+ <script src="tsparticles.engine.min.js"></script>
188
+ ```
189
+
190
+ **app.js**
191
+
192
+ ```javascript
193
+ // @path-json can be an object or an array, the first will be loaded directly, and the object from the array will be randomly selected
194
+ /* tsParticles.load(@params); */
195
+
196
+ tsParticles
197
+ .load({
198
+ id: "tsparticles",
199
+ url: "presets/default.json",
200
+ })
201
+ .then((container) => {
202
+ console.log("callback - tsparticles config loaded");
203
+ })
204
+ .catch((error) => {
205
+ console.error(error);
206
+ });
207
+
208
+ //or
209
+
210
+ tsParticles.load({
211
+ id: "tsparticles",
212
+ options: {
213
+ /* options here */
214
+ },
215
+ });
216
+
217
+ //or
218
+
219
+ tsParticles.load({
220
+ id: "tsparticles",
221
+ options: [
222
+ {
223
+ /* options here */
224
+ },
225
+ {
226
+ /* other options here */
227
+ },
228
+ ],
229
+ });
230
+ //random object
231
+
232
+ tsParticles.load({
233
+ id: "tsparticles",
234
+ options: [
235
+ {
236
+ /* options here */
237
+ },
238
+ {
239
+ /* other options here */
240
+ },
241
+ ],
242
+ index: 1,
243
+ }); //the second one
244
+ // Important! If the index is not in range 0...<array.length, the index will be ignored.
245
+
246
+ // after initialization this can be used.
247
+
248
+ /* tsParticles.setOnClickHandler(@callback); */
249
+
250
+ /* this will be fired from all particles loaded */
251
+
252
+ tsParticles.setOnClickHandler((event, particles) => {
253
+ /* custom on click handler */
254
+ });
255
+
256
+ // now you can control the animations too, it's possible to pause and resume the animations
257
+ // these methods don't change the config so you're safe with all your configurations
258
+ // domItem(0) returns the first tsParticles instance loaded in the dom
259
+ const particles = tsParticles.domItem(0);
260
+
261
+ // play will start the animations, if the move is not enabled it won't enable it, it just updates the frame
262
+ particles.play();
263
+
264
+ // pause will stop the animations
265
+ particles.pause();
266
+ ```
267
+
268
+ ---
269
+
270
+ ## Official components for some of the most used frameworks
271
+
272
+ ### Angular
273
+
274
+ `@tsparticles/angular`
275
+
276
+ [![npm](https://img.shields.io/npm/v/@tsparticles/angular?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/angular) [![npm](https://img.shields.io/npm/dm/@tsparticles/angular?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/angular)
277
+
278
+ Instructions available [here](https://github.com/tsparticles/angular#readme)
279
+
280
+ ### Ember
281
+
282
+ `@tsparticles/ember`
283
+
284
+ [![npm](https://img.shields.io/npm/v/@tsparticles/ember?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/ember) [![npm](https://img.shields.io/npm/dm/@tsparticles/ember?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/ember)
285
+
286
+ Instructions available [here](https://github.com/tsparticles/ember#readme)
287
+
288
+ ### Inferno
289
+
290
+ `@tsparticles/inferno`
291
+
292
+ [![npm](https://img.shields.io/npm/v/@tsparticles/inferno?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/inferno) [![npm](https://img.shields.io/npm/dm/@tsparticles/inferno?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/inferno)
293
+
294
+ Instructions available [here](https://github.com/tsparticles/inferno#readme)
295
+
296
+ ### jQuery
297
+
298
+ `@tsparticles/jquery`
299
+
300
+ [![npm](https://img.shields.io/npm/v/@tsparticles/jquery?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/jquery) [![npm](https://img.shields.io/npm/dm/@tsparticles/jquery?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/jquery)
301
+
302
+ Instructions available [here](https://github.com/tsparticles/jquery#readme)
303
+
304
+ ### Preact
305
+
306
+ `@tsparticles/preact`
307
+
308
+ [![npm](https://img.shields.io/npm/v/@tsparticles/preact?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/preact) [![npm](https://img.shields.io/npm/dm/@tsparticles/preact?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/preact)
309
+
310
+ Instructions available [here](https://github.com/tsparticles/preact#readme)
311
+
312
+ ### ReactJS
313
+
314
+ `@tsparticles/react`
315
+
316
+ [![npm](https://img.shields.io/npm/v/@tsparticles/react?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/react) [![npm](https://img.shields.io/npm/dm/@tsparticles/react?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/react)
317
+
318
+ Instructions available [here](https://github.com/tsparticles/react#readme)
319
+
320
+ ### RiotJS
321
+
322
+ #### `@tsparticles/riot`
323
+
324
+ [![npm](https://img.shields.io/npm/v/@tsparticles/riot?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/riot) [![npm](https://img.shields.io/npm/dm/@tsparticles/riot?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/riot)
325
+
326
+ You can find the instructions [here](https://github.com/tsparticles/riot#readme)
327
+
328
+ ### SolidJS
329
+
330
+ #### `@tsparticles/solid`
331
+
332
+ [![npm](https://img.shields.io/npm/v/@tsparticles/solid?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/solid) [![npm](https://img.shields.io/npm/dm/@tsparticles/solid?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/solid)
333
+
334
+ You can find the instructions [here](https://github.com/tsparticles/solid#readme)
335
+
336
+ ### Svelte
337
+
338
+ `@tsparticles/svelte`
339
+
340
+ [![npm](https://img.shields.io/npm/v/@tsparticles/svelte?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/svelte) [![npm downloads](https://img.shields.io/npm/dm/@tsparticles/svelte?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/svelte)
341
+
342
+ Instructions available [here](https://github.com/tsparticles/svelte#readme)
343
+
344
+ ### VueJS 2.x
345
+
346
+ `@tsparticles/vue2`
347
+
348
+ [![npm](https://img.shields.io/npm/v/@tsparticles/vue2?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/vue2) [![npm](https://img.shields.io/npm/dm/@tsparticles/vue2?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/vue2)
349
+
350
+ Instructions available [here](https://github.com/tsparticles/vue2#readme)
351
+
352
+ ### VueJS 3.x
353
+
354
+ `@tsparticles/vue3`
355
+
356
+ [![npm](https://img.shields.io/npm/v/@tsparticles/vue3?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/vue3) [![npm](https://img.shields.io/npm/dm/@tsparticles/vue3?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/vue3)
357
+
358
+ Instruction available [here](https://github.com/tsparticles/vue3#readme)
359
+
360
+ ### Web Components
361
+
362
+ #### `@tsparticles/webcomponents`
363
+
364
+ [![npm](https://img.shields.io/npm/v/@tsparticles/webcomponents?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/webcomponents) [![npm](https://img.shields.io/npm/dm/@tsparticles/webcomponents?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/webcomponents)
365
+
366
+ You can find the instructions [here](https://github.com/tsparticles/webcomponents#readme)
367
+
368
+ ### WordPress
369
+
370
+ #### `@tsparticles/wordpress`
371
+
372
+ [![npm](https://img.shields.io/npm/v/@tsparticles/wordpress?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/wordpress) [![npm](https://img.shields.io/npm/dm/@tsparticles/wordpress?style=for-the-badge)](https://www.npmjs.com/package/@tsparticles/wordpress) [![WordPress Plugin Downloads](https://img.shields.io/wordpress/plugin/dw/tsparticles-block?style=for-the-badge)](https://wordpress.org/plugins/tsparticles-block/) [![WordPress Plugin Active Installs](https://img.shields.io/wordpress/plugin/installs/tsparticles-block?style=for-the-badge)](https://wordpress.org/plugins/tsparticles-block/)
373
+
374
+ The plugin page hosted on WordPress.org can be
375
+ found [here](https://wordpress.org/plugins/tsparticles-block/#description)
376
+
377
+ ### Elementor
378
+
379
+ Actually, an official tsParticles plugin isn't existing, but I have a collaboration with
380
+ the `Premium Addons for Elementor` plugin collection.
381
+
382
+ <div style="float: left; margin-right: 10px;">
383
+ <img width="64" alt="Premium Addons for Elementor" src="https://particles.js.org/images/premium-addons-wordpress-plugin.png" />
384
+ </div>
385
+ <div>
386
+ Premium Addons for Elementor is one of the most common plugins for Elementor that offers 55+ highly customizable Elementor Widgets and Section Add-ons. tsParticles is exclusively included in the Premium Particles Section Add-on for the Elementor Page Builder. <a href="https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/" target="_blank">Check It Now</a>.<br />
387
+ Use Premium Addons for Elementor Page Builder and get the chance to include tsParticles in your next WordPress website without writing a single line of code. <a href="https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/" target="_blank">See a Live Example</a>.
388
+ </div>
389
+ <div style="clear: both;"></div>
390
+
391
+ ---
392
+
393
+ ## Presets
394
+
395
+ There are some presets ready to be used in [this repository](https://github.com/tsparticles/presets), and they also have
396
+ a bundle file that contains everything needed to run.
397
+
398
+ ### Big Circles
399
+
400
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-big-circles/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-big-circles) [![npmjs](https://badge.fury.io/js/tsparticles-preset-big-circles.svg)](https://www.npmjs.com/package/tsparticles-preset-big-circles) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-big-circles)](https://www.npmjs.com/package/tsparticles-preset-big-circles)
401
+
402
+ This preset loads big colored circles moving upwards on a white background.
403
+
404
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/bigCircles/images/sample.png)](https://particles.js.org/samples/presets/bigCircles)
405
+
406
+ You can find the instructions [here](https://github.com/tsparticles/presets/bigCircles#readme)
407
+
408
+ ### Bubbles
409
+
410
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-bubbles/badge)](https://www.jsdelivr.com/package/npm/tsparticles) [![npmjs](https://badge.fury.io/js/tsparticles-preset-bubbles.svg)](https://www.npmjs.com/package/tsparticles-preset-bubbles) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-bubbles)](https://www.npmjs.com/package/tsparticles-preset-bubbles)
411
+
412
+ This preset loads colored bubbles coming from the bottom of the screen on a white background.
413
+
414
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/bubbles/images/sample.png)](https://particles.js.org/samples/presets/bubbles)
415
+
416
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/bubbles/README.md)
417
+
418
+ ### Confetti
419
+
420
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-confetti/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-confetti) [![npmjs](https://badge.fury.io/js/tsparticles-preset-confetti.svg)](https://www.npmjs.com/package/tsparticles-preset-confetti) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-confetti)](https://www.npmjs.com/package/tsparticles-preset-confetti)
421
+
422
+ This preset loads white and red confetti launched from the screen center on a transparent background.
423
+
424
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/confetti/images/sample.png)](https://particles.js.org/samples/presets/confetti)
425
+
426
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/confetti/README.md)
427
+
428
+ ### Fire
429
+
430
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-fire/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-fire) [![npmjs](https://badge.fury.io/js/tsparticles-preset-fire.svg)](https://www.npmjs.com/package/tsparticles-preset-fire) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-fire)](https://www.npmjs.com/package/tsparticles-preset-fire)
431
+
432
+ This preset loads a faded red to a black background with particles colored like fire and ash sparks.
433
+
434
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/fire/images/sample.png)](https://particles.js.org/samples/presets/fire)
435
+
436
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/fire/README.md)
437
+
438
+ ### Firefly
439
+
440
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-firefly/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-firefly) [![npmjs](https://badge.fury.io/js/tsparticles-preset-firefly.svg)](https://www.npmjs.com/package/tsparticles-preset-firefly) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-firefly)](https://www.npmjs.com/package/tsparticles-preset-firefly)
441
+
442
+ This preset loads a mouse trail made with small fading particles like little fireflies.
443
+
444
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/firefly/images/sample.png)](https://particles.js.org/samples/presets/firefly)
445
+
446
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/firefly/README.md)
447
+
448
+ ### Fireworks
449
+
450
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-fireworks/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-fireworks) [![npmjs](https://badge.fury.io/js/tsparticles-preset-fireworks.svg)](https://www.npmjs.com/package/tsparticles-preset-fireworks) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-fireworks)](https://www.npmjs.com/package/tsparticles-preset-fireworks)
451
+
452
+ This preset loads a beautiful fireworks effect.
453
+
454
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/fireworks/images/sample.png)](https://particles.js.org/samples/presets/fireworks)
455
+
456
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/fireworks/README.md)
457
+
458
+ ### Fountain
459
+
460
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-fountain/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-fountain) [![npmjs](https://badge.fury.io/js/tsparticles-preset-fountain.svg)](https://www.npmjs.com/package/tsparticles-preset-fountain) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-fountain)](https://www.npmjs.com/package/tsparticles-preset-fountain)
461
+
462
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/fountain/images/sample.png)](https://particles.js.org/samples/presets/fountain)
463
+
464
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/fountain/README.md)
465
+
466
+ ### Links
467
+
468
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-links/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-links) [![npmjs](https://badge.fury.io/js/tsparticles-preset-links.svg)](https://www.npmjs.com/package/tsparticles-preset-links) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-links)](https://www.npmjs.com/package/tsparticles-preset-links)
469
+
470
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/links/images/sample.png)](https://particles.js.org/samples/presets/links)
471
+
472
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/links/README.md)
473
+
474
+ ### Sea Anemone
475
+
476
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-sea-anemone/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-sea-anemone) [![npmjs](https://badge.fury.io/js/tsparticles-preset-sea-anemone.svg)](https://www.npmjs.com/package/tsparticles-preset-sea-anemone) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-sea-anemone)](https://www.npmjs.com/package/tsparticles-preset-sea-anemone)
477
+
478
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/seaAnemone/images/sample.png)](https://particles.js.org/samples/presets/seaAnemone)
479
+
480
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/seaAnemone/README.md)
481
+
482
+ ### Snow
483
+
484
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-snow/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-snow) [![npmjs](https://badge.fury.io/js/tsparticles-preset-snow.svg)](https://www.npmjs.com/package/tsparticles-preset-snow) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-snow)](https://www.npmjs.com/package/tsparticles-preset-snow)
485
+
486
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/snow/images/sample.png)](https://particles.js.org/samples/presets/snow)
487
+
488
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/snow/README.md)
489
+
490
+ ### Stars
491
+
492
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-stars/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-stars) [![npmjs](https://badge.fury.io/js/tsparticles-preset-stars.svg)](https://www.npmjs.com/package/tsparticles-preset-stars) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-stars)](https://www.npmjs.com/package/tsparticles-preset-stars)
493
+
494
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/stars/images/sample.png)](https://particles.js.org/samples/presets/stars)
495
+
496
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/stars/README.md)
497
+
498
+ ### Triangles
499
+
500
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-triangles/badge?style=for-the-badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-triangles) [![npmjs](https://badge.fury.io/js/tsparticles-preset-triangles.svg)](https://www.npmjs.com/package/tsparticles-preset-triangles) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-triangles)](https://www.npmjs.com/package/tsparticles-preset-triangles)
501
+
502
+ [![demo](https://raw.githubusercontent.com/tsparticles/presets/main/presets/triangles/images/sample.png)](https://particles.js.org/samples/presets/triangles)
503
+
504
+ You can find the instructions [here](https://github.com/tsparticles/presets/blob/main/presets/triangles/README.md)
505
+
506
+ ---
507
+
508
+ ## Templates and Resources
509
+
510
+ You can find some tsParticles related templates [here](https://github.com/tsparticles/templates). The templates are
511
+ created for _Vanilla Javascript_, _ReactJS_, _VueJS_, _Angular_, _SvelteJS_, and other frameworks.
512
+
513
+ The templates will vary, new ones can be created or older ones updated with the latest features or changed to a better
514
+ style. Check them out once in a while.
515
+
516
+ If you created some good design with _tsParticles_ feel free to submit a pull request with your cool template, you'll be
517
+ credited as the template author!
518
+
519
+ <https://github.com/tsparticles/templates>
520
+
521
+ ---
522
+
523
+ ## **_Demo / Generator_**
524
+
525
+ <https://particles.js.org/samples>
526
+
527
+ [![Particles demo](https://particles.js.org/images/demo2.png?v=1.39.1)](https://particles.js.org/samples)
528
+
529
+ ---
530
+
531
+ ## **_Video Tutorials_**
532
+
533
+ You can find all video tutorials on the website here: <https://particles.js.org/video.html>
534
+
535
+ _More videos are coming soon! Check every day if there are some new contents._
536
+
537
+ ---
538
+
539
+ ### Characters as particles
540
+
541
+ [![Particles chars demo](https://media.giphy.com/media/JsssOXz72bM6jGEZ0s/giphy.gif)](https://particles.js.org/samples/#chars)
542
+
543
+ ---
544
+
545
+ ### Polygon mask
546
+
547
+ [![tsParticles Polygon Mask demo](https://media.giphy.com/media/lNRfiSgaMFbL4FMhW6/giphy.gif)](https://particles.js.org/samples/#polygonMask)
548
+
549
+ ---
550
+
551
+ ### Animated stars
552
+
553
+ [![Particles NASA demo](https://media.giphy.com/media/cLqGsnh7FKRVMgPIWE/giphy.gif)](https://particles.js.org/samples/#nasa)
554
+
555
+ ---
556
+
557
+ ### Nyan cat flying on scrolling stars
558
+
559
+ [![Particles Nyan Cat demo](https://media.giphy.com/media/LpX2oNc9ZMgIhIXQL9/giphy.gif)](https://particles.js.org/samples/#nyancat2)
560
+
561
+ ---
562
+
563
+ ### Snow particles
564
+
565
+ [![tsParticles Snow demo](https://media.giphy.com/media/gihwUFbmiubbkdzEMX/giphy.gif)](https://particles.js.org/samples/#snow)
566
+
567
+ ---
568
+
569
+ ### Background Mask particles
570
+
571
+ [![tsParticles Background Mask demo](https://media.giphy.com/media/dWraWgqInWFGWiOyRu/giphy.gif)](https://particles.js.org/samples/#background)
572
+
573
+ ---
574
+
575
+ **particles.json**
576
+
577
+ You can find some config
578
+ samples [here](https://github.com/matteobruni/tsparticles/tree/main/websites/particles.js.org/presets) 📖
579
+
580
+ ---
581
+
582
+ ## **_Options_**
583
+
584
+ You can find all options
585
+ available [here](https://particles.js.org/docs/interfaces/Options_Interfaces_IOptions.IOptions.html) 📖
586
+
587
+ ## Want to see it in action and try it?
588
+
589
+ I've created a tsParticles collection on [CodePen](https://codepen.io/collection/DPOage) 😮 or you can check out
590
+ my [profile](https://codepen.io/matteobruni)
591
+
592
+ Otherwise, there's the demo page link below. Just click/tap the Coronavirus below, don't be scared. **It's safe** 😷.
593
+
594
+ [![tsParticles demo](https://media.giphy.com/media/fsVN1ZHksgBIXNIbr1/giphy.gif)](https://particles.js.org/samples/#virus)
595
+
596
+ Want to see even more demos? Clone the repository on your computer and follow these instructions
597
+
598
+ ```shell
599
+ $ pnpm i
600
+ $ npx lerna run build
601
+ $ cd demo/vanilla
602
+ $ pnpm run start
603
+ ```
604
+
605
+ **Boom! 💥** <http://localhost:3000> and you can check out other demos.
606
+
607
+ _If you are brave enough_ you can switch to the `dev` branch for trying the features under development.
608
+
609
+ ---
610
+
611
+ ## Migrating from Particles.js
612
+
613
+ **tsParticles** has a package that makes this library 100% compatible with the _particles.js_ configuration.
614
+
615
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-particles.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/tsparticles-particles.js) [![npmjs](https://badge.fury.io/js/tsparticles-particles.js.svg)](https://www.npmjs.com/package/tsparticles-particles.js) [![npm](https://img.shields.io/npm/dm/tsparticles-particles.js)](https://www.npmjs.com/package/tsparticles-particles.js)
616
+
617
+ Seriously, you just need to change the script from particles.js to the bundled compatibility package, et-voilà, **you're
618
+ ready** 🧙!
619
+
620
+ You can read more **[here](https://dev.to/matteobruni/migrating-from-particles-js-to-tsparticles-2a6m)**
621
+
622
+ Want to know 5 reasons to do the
623
+ switch? [Read here](https://dev.to/matteobruni/5-reasons-to-use-tsparticles-and-not-particles-js-1gbe)
624
+
625
+ _Below you can find all the information you need to install tsParticles and its new syntax._
626
+
627
+ ---
628
+
629
+ ## Plugins/Customizations
630
+
631
+ tsParticles now supports some customizations 🥳.
632
+
633
+ **You can create your own plugins**
634
+
635
+ _Read more [here](https://particles.js.org/docs/modules/Core_Interfaces_IPlugin.html)..._
636
+
637
+ ---
638
+
639
+ ## Dependency Graphs
640
+
641
+ ```mermaid
642
+ flowchart TD
643
+
644
+ subgraph c [Components]
645
+ ca[Angular]
646
+ ci[Inferno.js]
647
+ cj[JQuery]
648
+ cp[Preact]
649
+ cre[React.js]
650
+ cri[Riot.js]
651
+ cso[Solid.js]
652
+ csv[Svelte]
653
+ cv2[Vue.js 2.x]
654
+ cv3[Vue.js 3.x]
655
+ cwc[Web Components]
656
+ cwp[WordPress]
657
+ end
658
+
659
+ e[tsParticles Engine] --> c
660
+ ```
661
+
662
+ ```mermaid
663
+ flowchart LR
664
+
665
+ subgraph b [Bundles]
666
+ bp[Particles.js compatibility bundle] --> bs[tsParticles Slim]
667
+ bs --> bf[tsParticles]
668
+ end
669
+
670
+ e[tsParticles Engine] --> b
671
+
672
+ iea & iebo & iebu & iec & ieg & iepa & iepu & ierem & ierep & ies --> bs
673
+ ipa & ipc & ipl --> bs
674
+ mb & mp --> bs
675
+ ple4 --> bs
676
+ sc & si & sl & sp & ssq & sst & st --> bs
677
+ ua & uc & ul & uop & uou & usi & ust --> bs
678
+
679
+ iet --> bf
680
+ pla & plem --> bf
681
+ ur & uti & utw & uw --> bf
682
+
683
+ subgraph i [Interactions]
684
+
685
+ subgraph ie [Externals]
686
+ iea[Attract]
687
+ iebo[Bounce]
688
+ iebu[Bubble]
689
+ iec[Connect]
690
+ ieg[Grab]
691
+ iepa[Pause]
692
+ iepu[Push]
693
+ ierem[Remove]
694
+ ierep[Repulse]
695
+ ies[Slow]
696
+ iet[Trail]
697
+ end
698
+
699
+ il[Light]
700
+
701
+ subgraph ip [Particles]
702
+ ipa[Attract]
703
+ ipc[Collisions]
704
+ ipl[Links]
705
+ ipr[Repulse]
706
+ end
707
+
708
+ end
709
+
710
+ i --> ie
711
+ i --> ip
712
+
713
+ e --> i
714
+
715
+ subgraph m [Movers]
716
+ mb[Base]
717
+ mp[Parallax]
718
+ end
719
+
720
+ e --> m
721
+
722
+ subgraph pa [Paths]
723
+ pac[Curves]
724
+ pape[Perlin Noise]
725
+ papo[Polygon]
726
+ pas[Simplex Noise]
727
+ end
728
+
729
+ e --> pa
730
+
731
+ subgraph pl [Plugins]
732
+ pla[Absorbers]
733
+ plem[Emitters]
734
+ plh[HSV Color]
735
+ pli[Infection]
736
+ plm[Motion]
737
+ plp[Polygon Mask]
738
+
739
+ subgraph plea [Easings]
740
+ pleb[Back]
741
+ pleci[Circ]
742
+ plecu[Cubic]
743
+ plee[Expo]
744
+ ple4[Quad]
745
+ ple5[Quint]
746
+ ples[Sine]
747
+ end
748
+
749
+ end
750
+
751
+ pl --> plea
752
+
753
+ e --> pl
754
+
755
+ subgraph s [Shapes]
756
+ sb[Bubble]
757
+ sc[Circle]
758
+ sh[Heart]
759
+ si[Image]
760
+ sl[Line]
761
+ sm[Multiline Text]
762
+ sp[Polygon]
763
+ sr[Rounded Rectangle]
764
+ ssp[Spiral]
765
+ ssq[Square]
766
+ sst[Star]
767
+ st[Text]
768
+ end
769
+
770
+ e --> s
771
+
772
+ subgraph u [Updaters]
773
+ ua[Angle]
774
+ uc[Color]
775
+ ud[Destroy]
776
+ ug[Gradient]
777
+ ul[Life]
778
+ uop[Opacity]
779
+ uor[Orbit]
780
+ uou[Out Modes]
781
+ ur[Roll]
782
+ usi[Size]
783
+ ust[Stroke Color]
784
+ uti[Tilt]
785
+ utw[Twinkle]
786
+ uw[Wobble]
787
+ end
788
+
789
+ e --> u
790
+
791
+ subgraph pr [Presets]
792
+ prbi[Big Circles]
793
+ prbu[Bubbles]
794
+ prc[Confetti]
795
+ prf[Fire]
796
+ prff[Firefly]
797
+ prfw[Fireworks]
798
+ prfo[Fountain]
799
+ prl[Links]
800
+ prsa[Sea Anemone]
801
+ prsn[Snow]
802
+ prst[Stars]
803
+ prt[Triangles]
804
+ end
805
+
806
+ e --> pr
807
+ ```
808
+
809
+ ---
810
+
811
+ <p>
812
+ <a href="https://www.jetbrains.com/?from=tsParticles">
813
+ <img src="https://raw.githubusercontent.com/matteobruni/tsparticles/gh-pages/images/jetbrains-logos/jetbrains-variant-4.png" height="150" alt="JetBrains" />
814
+ </a>
815
+ <a href="https://www.jetbrains.com/webstorm/?from=tsParticles">
816
+ <img src="https://raw.githubusercontent.com/matteobruni/tsparticles/gh-pages/images/jetbrains-logos/logo.png" height="150" alt="JetBrains" />
817
+ </a>
818
+ </p>
819
+
820
+ ### Huge thanks to [JetBrains](https://www.jetbrains.com/?from=tsParticles) for the 2020-2022 Open Source Licenses!
821
+
822
+ [JetBrains WebStorm](https://www.jetbrains.com/webstorm/?from=tsParticles) is used to maintain this project.
823
+
824
+ ---