tsparticles 1.42.2 → 1.43.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.
- package/README.md +1 -1
- package/browser/Core/Canvas.js +47 -60
- package/browser/Core/Container.js +15 -9
- package/browser/Core/Interfaces/{IAttract.js → IParticleColorStyle.js} +0 -0
- package/browser/Core/Interfaces/{IBubble.js → IParticlesMover.js} +0 -0
- package/browser/Core/Interfaces/{IParticleGradientAnimation.js → IPositionFromSizeParams.js} +0 -0
- package/browser/Core/Loader.js +26 -10
- package/browser/Core/Particle.js +38 -48
- package/browser/Core/Particles.js +24 -27
- package/browser/Core/Retina.js +4 -13
- package/browser/Core/Utils/Circle.js +20 -13
- package/browser/Core/Utils/CircleWarp.js +19 -7
- package/browser/Core/Utils/EventListeners.js +53 -94
- package/browser/Core/Utils/ExternalInteractorBase.js +11 -0
- package/browser/Core/Utils/FrameManager.js +2 -3
- package/browser/Core/Utils/InteractionManager.js +28 -0
- package/browser/Core/Utils/ParticlesInteractorBase.js +11 -0
- package/browser/Core/Utils/Plugins.js +100 -3
- package/browser/Core/Utils/Point.js +5 -0
- package/browser/Core/Utils/QuadTree.js +58 -27
- package/browser/Core/Utils/Range.js +6 -0
- package/browser/Core/Utils/Rectangle.js +23 -15
- package/browser/Core/Utils/Vector.js +123 -16
- package/browser/Core/Utils/Vector3d.js +85 -5
- package/browser/Interactions/External/Attract/Attractor.js +37 -3
- package/browser/Interactions/External/Bounce/Bouncer.js +8 -6
- package/browser/Interactions/External/Bubble/Bubbler.js +25 -2
- package/browser/Interactions/External/Connect/Connector.js +2 -2
- package/browser/Interactions/External/Grab/Grabber.js +34 -29
- package/browser/Interactions/External/Pause/Pauser.js +31 -0
- package/browser/Interactions/External/Pause/index.js +4 -0
- package/browser/Interactions/External/Push/Pusher.js +35 -0
- package/browser/Interactions/External/Push/index.js +4 -0
- package/browser/Interactions/External/Remove/Remover.js +28 -0
- package/browser/Interactions/External/Remove/index.js +4 -0
- package/browser/Interactions/External/Repulse/Repulser.js +37 -2
- package/browser/Interactions/External/Trail/TrailMaker.js +2 -2
- package/browser/Interactions/Particles/Attract/Attractor.js +2 -2
- package/browser/Interactions/Particles/Collisions/Collider.js +9 -17
- package/browser/Interactions/Particles/Links/LinkInstance.js +37 -55
- package/browser/Interactions/Particles/Links/Linker.js +9 -14
- package/browser/Movers/Base/BaseMover.js +76 -0
- package/browser/{Core/Interfaces/IParticleGradientColorAnimation.js → Movers/Base/IParticleSpin.js} +0 -0
- package/browser/{Core/Interfaces/IRepulse.js → Movers/Base/Types.js} +0 -0
- package/browser/Movers/Base/Utils.js +97 -0
- package/browser/Movers/Base/index.js +4 -0
- package/browser/Movers/Parallax/ParallaxMover.js +31 -0
- package/browser/Movers/Parallax/index.js +4 -0
- package/browser/Options/Classes/AnimatableGradient.js +1 -1
- package/browser/Options/Classes/AnimationOptions.js +1 -1
- package/browser/Options/Classes/ColorAnimation.js +1 -1
- package/browser/Options/Classes/Interactivity/Modes/Trail.js +1 -1
- package/browser/Options/Classes/ManualParticle.js +1 -1
- package/browser/Options/Classes/Options.js +1 -1
- package/browser/Options/Classes/Particles/Destroy/Split.js +1 -1
- package/browser/Options/Classes/Particles/Move/Attract.js +1 -1
- package/browser/Options/Classes/Particles/Move/Move.js +2 -1
- package/browser/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/browser/Options/Classes/Particles/Move/Path/Path.js +1 -1
- package/browser/Options/Classes/Particles/Move/Spin.js +2 -1
- package/browser/Options/Classes/Particles/Opacity/Opacity.js +1 -1
- package/browser/Options/Classes/Particles/Orbit/Orbit.js +1 -1
- package/browser/Options/Classes/Particles/ParticlesOptions.js +1 -1
- package/browser/Options/Classes/Particles/Repulse/Repulse.js +1 -1
- package/browser/Options/Classes/Particles/Roll/Roll.js +1 -1
- package/browser/Options/Classes/Particles/Roll/RollLight.js +1 -1
- package/browser/Options/Classes/Particles/Rotate/RotateAnimation.js +1 -1
- package/browser/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/browser/Options/Classes/Particles/Size/Size.js +1 -1
- package/browser/Options/Classes/Particles/Tilt/TiltAnimation.js +1 -1
- package/browser/Options/Classes/Particles/Twinkle/TwinkleValues.js +1 -1
- package/browser/Options/Classes/Particles/Wobble/Wobble.js +1 -1
- package/browser/Options/Classes/Responsive.js +1 -1
- package/browser/Options/Classes/Theme/Theme.js +1 -1
- package/browser/Options/Classes/ValueWithRandom.js +1 -1
- package/browser/Plugins/Absorbers/AbsorberInstance.js +44 -20
- package/browser/Plugins/Absorbers/Absorbers.js +3 -6
- package/browser/Plugins/Absorbers/Options/Classes/Absorber.js +1 -1
- package/browser/Plugins/Absorbers/index.js +8 -9
- package/browser/Plugins/Emitters/EmitterInstance.js +20 -25
- package/browser/Plugins/Emitters/Emitters.js +3 -6
- package/browser/Plugins/Emitters/Options/Classes/Emitter.js +2 -1
- package/browser/Plugins/Emitters/Options/Classes/EmitterRate.js +1 -1
- package/browser/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -7
- package/browser/Plugins/Emitters/index.js +4 -1
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.js +1 -1
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +1 -1
- package/browser/Plugins/PolygonMask/PolygonMaskInstance.js +19 -42
- package/browser/Plugins/PolygonMask/Utils.js +12 -15
- package/browser/Plugins/PolygonMask/index.js +6 -2
- package/browser/Shapes/Image/ImageDrawer.js +61 -20
- package/browser/Shapes/Image/Utils.js +26 -1
- package/browser/Shapes/Image/index.js +4 -0
- package/browser/Shapes/Text/TextDrawer.js +1 -1
- package/browser/Updaters/Angle/AngleUpdater.js +1 -1
- package/browser/Updaters/Color/ColorUpdater.js +2 -1
- package/browser/Updaters/Life/LifeUpdater.js +1 -1
- package/browser/Updaters/Opacity/OpacityUpdater.js +1 -1
- package/browser/Updaters/OutModes/OutOfCanvasUpdater.js +1 -1
- package/browser/Updaters/OutModes/Utils.js +1 -1
- package/browser/Updaters/Roll/RollUpdater.js +2 -1
- package/browser/Updaters/Size/SizeUpdater.js +1 -1
- package/browser/Updaters/StrokeColor/StrokeColorUpdater.js +3 -1
- package/browser/Updaters/Tilt/TiltUpdater.js +1 -1
- package/browser/Updaters/Twinkle/TwinkleUpdater.js +19 -0
- package/browser/Updaters/Twinkle/index.js +4 -0
- package/browser/Updaters/Wobble/WobbleUpdater.js +26 -1
- package/browser/Utils/CanvasUtils.js +163 -57
- package/browser/Utils/ColorUtils.js +100 -31
- package/browser/Utils/NumberUtils.js +73 -7
- package/browser/Utils/Utils.js +136 -55
- package/browser/engine.js +16 -1
- package/browser/full.js +7 -1
- package/browser/index.engine.js +104 -6
- package/browser/index.js +112 -8
- package/browser/index.slim.js +103 -6
- package/browser/pjs.js +6 -2
- package/browser/slim.js +14 -0
- package/cjs/Core/Canvas.js +306 -0
- package/cjs/Core/Container.js +401 -0
- package/{Core → cjs/Core}/Interfaces/Colors.js +0 -0
- package/{Core → cjs/Core}/Interfaces/Gradients.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IBounds.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IBubbleParticleData.js +0 -0
- package/{Core → cjs/Core}/Interfaces/ICircleBouncer.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IContainerInteractivity.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IContainerPlugin.js +0 -0
- package/{Core → cjs/Core}/Interfaces/ICoordinates.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IDelta.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IDimension.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IDistance.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IExternalInteractor.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IInteractor.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IMouseData.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IMovePathGenerator.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticle.js +0 -0
- package/{Core/Interfaces/IAttract.js → cjs/Core/Interfaces/IParticleColorStyle.js} +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleGravity.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleHslAnimation.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleLife.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleLoops.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleRetinaProps.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleRoll.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleSpin.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleUpdater.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleValueAnimation.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticleWobble.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticlesFrequencies.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IParticlesInteractor.js +0 -0
- package/{Core/Interfaces/IBubble.js → cjs/Core/Interfaces/IParticlesMover.js} +0 -0
- package/{Core → cjs/Core}/Interfaces/IPlugin.js +0 -0
- package/{Core/Interfaces/IParticleGradientAnimation.js → cjs/Core/Interfaces/IPositionFromSizeParams.js} +0 -0
- package/{Core → cjs/Core}/Interfaces/IRangeValue.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IRectSideResult.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IShapeDrawer.js +0 -0
- package/{Core → cjs/Core}/Interfaces/IShapeValues.js +0 -0
- package/cjs/Core/Loader.js +179 -0
- package/cjs/Core/Particle.js +367 -0
- package/cjs/Core/Particles.js +320 -0
- package/cjs/Core/Retina.js +88 -0
- package/cjs/Core/Utils/Circle.js +33 -0
- package/cjs/Core/Utils/CircleWarp.js +55 -0
- package/{Core → cjs/Core}/Utils/Constants.js +0 -0
- package/cjs/Core/Utils/EventListeners.js +302 -0
- package/{Core → cjs/Core}/Utils/ExternalInteractorBase.js +0 -0
- package/cjs/Core/Utils/FrameManager.js +42 -0
- package/cjs/Core/Utils/InteractionManager.js +66 -0
- package/{Core → cjs/Core}/Utils/ParticlesInteractorBase.js +0 -0
- package/cjs/Core/Utils/Plugins.js +111 -0
- package/{Core → cjs/Core}/Utils/Point.js +0 -0
- package/cjs/Core/Utils/QuadTree.js +71 -0
- package/{Core → cjs/Core}/Utils/Range.js +0 -0
- package/cjs/Core/Utils/Rectangle.js +29 -0
- package/cjs/Core/Utils/Vector.js +94 -0
- package/cjs/Core/Utils/Vector3d.js +70 -0
- package/{Enums → cjs/Enums}/AnimationStatus.js +0 -0
- package/{Enums → cjs/Enums}/Directions/MoveDirection.js +0 -0
- package/{Enums → cjs/Enums}/Directions/OutModeDirection.js +0 -0
- package/{Enums → cjs/Enums}/Directions/RotateDirection.js +0 -0
- package/{Enums → cjs/Enums}/Directions/TiltDirection.js +0 -0
- package/{Enums → cjs/Enums}/InteractivityDetect.js +0 -0
- package/{Enums → cjs/Enums}/Modes/ClickMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/CollisionMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/DestroyMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/DivMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/HoverMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/OutMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/ResponsiveMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/RollMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/SizeMode.js +0 -0
- package/{Enums → cjs/Enums}/Modes/ThemeMode.js +0 -0
- package/{Enums → cjs/Enums}/Types/AlterType.js +0 -0
- package/{Enums → cjs/Enums}/Types/DestroyType.js +0 -0
- package/{Enums → cjs/Enums}/Types/DivType.js +0 -0
- package/{Enums → cjs/Enums}/Types/EasingType.js +0 -0
- package/{Enums → cjs/Enums}/Types/GradientType.js +0 -0
- package/{Enums → cjs/Enums}/Types/InteractorType.js +0 -0
- package/{Enums → cjs/Enums}/Types/ShapeType.js +0 -0
- package/{Enums → cjs/Enums}/Types/StartValueType.js +0 -0
- package/cjs/Interactions/External/Attract/Attractor.js +109 -0
- package/{Interactions → cjs/Interactions}/External/Attract/index.js +0 -0
- package/cjs/Interactions/External/Bounce/Bouncer.js +69 -0
- package/{Interactions → cjs/Interactions}/External/Bounce/index.js +0 -0
- package/cjs/Interactions/External/Bubble/Bubbler.js +274 -0
- package/{Interactions → cjs/Interactions}/External/Bubble/IBubblerProcessParam.js +0 -0
- package/{Interactions → cjs/Interactions}/External/Bubble/ProcessBubbleType.js +0 -0
- package/{Interactions → cjs/Interactions}/External/Bubble/index.js +0 -0
- package/cjs/Interactions/External/Connect/Connector.js +41 -0
- package/{Interactions → cjs/Interactions}/External/Connect/index.js +0 -0
- package/cjs/Interactions/External/Grab/Grabber.js +52 -0
- package/{Interactions → cjs/Interactions}/External/Grab/index.js +0 -0
- package/cjs/Interactions/External/Pause/Pauser.js +29 -0
- package/cjs/Interactions/External/Pause/index.js +8 -0
- package/cjs/Interactions/External/Push/Pusher.js +33 -0
- package/cjs/Interactions/External/Push/index.js +8 -0
- package/cjs/Interactions/External/Remove/Remover.js +26 -0
- package/cjs/Interactions/External/Remove/index.js +8 -0
- package/cjs/Interactions/External/Repulse/Repulser.js +133 -0
- package/{Interactions → cjs/Interactions}/External/Repulse/index.js +0 -0
- package/cjs/Interactions/External/Trail/TrailMaker.js +53 -0
- package/{Interactions → cjs/Interactions}/External/Trail/index.js +0 -0
- package/cjs/Interactions/Particles/Attract/Attractor.js +30 -0
- package/{Interactions → cjs/Interactions}/Particles/Attract/index.js +0 -0
- package/cjs/Interactions/Particles/Collisions/Collider.js +101 -0
- package/{Interactions → cjs/Interactions}/Particles/Collisions/index.js +0 -0
- package/{Interactions → cjs/Interactions}/Particles/Links/ILink.js +0 -0
- package/cjs/Interactions/Particles/Links/LinkInstance.js +106 -0
- package/{Interactions → cjs/Interactions}/Particles/Links/LinkParticle.js +0 -0
- package/cjs/Interactions/Particles/Links/Linker.js +100 -0
- package/{Interactions → cjs/Interactions}/Particles/Links/index.js +0 -0
- package/{Interactions → cjs/Interactions}/Particles/Links/interaction.js +0 -0
- package/{Interactions → cjs/Interactions}/Particles/Links/plugin.js +0 -0
- package/cjs/Movers/Base/BaseMover.js +80 -0
- package/{Core/Interfaces/IParticleGradientColorAnimation.js → cjs/Movers/Base/IParticleSpin.js} +0 -0
- package/{Core/Interfaces/IRepulse.js → cjs/Movers/Base/Types.js} +0 -0
- package/cjs/Movers/Base/Utils.js +104 -0
- package/cjs/Movers/Base/index.js +8 -0
- package/cjs/Movers/Parallax/ParallaxMover.js +33 -0
- package/cjs/Movers/Parallax/index.js +8 -0
- package/{Options → cjs/Options}/Classes/AnimatableColor.js +0 -0
- package/cjs/Options/Classes/AnimatableGradient.js +146 -0
- package/cjs/Options/Classes/AnimationOptions.js +30 -0
- package/{Options → cjs/Options}/Classes/Background/Background.js +0 -0
- package/{Options → cjs/Options}/Classes/BackgroundMask/BackgroundMask.js +0 -0
- package/{Options → cjs/Options}/Classes/BackgroundMask/BackgroundMaskCover.js +0 -0
- package/cjs/Options/Classes/ColorAnimation.js +34 -0
- package/{Options → cjs/Options}/Classes/FullScreen/FullScreen.js +0 -0
- package/{Options → cjs/Options}/Classes/HslAnimation.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Events/ClickEvent.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Events/DivEvent.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Events/Events.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Events/HoverEvent.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Events/Parallax.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Interactivity.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Attract.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Bounce.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Bubble.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/BubbleBase.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/BubbleDiv.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Connect.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/ConnectLinks.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Grab.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/GrabLinks.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Light.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/LightArea.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/LightGradient.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/LightShadow.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Modes.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Push.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Remove.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Repulse.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/RepulseBase.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/RepulseDiv.js +0 -0
- package/{Options → cjs/Options}/Classes/Interactivity/Modes/Slow.js +0 -0
- package/cjs/Options/Classes/Interactivity/Modes/Trail.js +29 -0
- package/cjs/Options/Classes/ManualParticle.js +22 -0
- package/{Options → cjs/Options}/Classes/Motion/Motion.js +0 -0
- package/{Options → cjs/Options}/Classes/Motion/MotionReduce.js +0 -0
- package/cjs/Options/Classes/Options.js +174 -0
- package/{Options → cjs/Options}/Classes/OptionsColor.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Bounce/Bounce.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Bounce/BounceFactor.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Collisions/Collisions.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Collisions/CollisionsOverlap.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Destroy/Destroy.js +0 -0
- package/cjs/Options/Classes/Particles/Destroy/Split.js +31 -0
- package/{Options → cjs/Options}/Classes/Particles/Destroy/SplitFactor.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Destroy/SplitRate.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Life/Life.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Life/LifeDelay.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Life/LifeDuration.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Links/Links.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Links/LinksShadow.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Links/LinksTriangle.js +0 -0
- package/cjs/Options/Classes/Particles/Move/Attract.js +47 -0
- package/cjs/Options/Classes/Particles/Move/Move.js +133 -0
- package/cjs/Options/Classes/Particles/Move/MoveAngle.js +22 -0
- package/cjs/Options/Classes/Particles/Move/MoveGravity.js +30 -0
- package/{Options → cjs/Options}/Classes/Particles/Move/OutModes.js +0 -0
- package/cjs/Options/Classes/Particles/Move/Path/Path.js +30 -0
- package/{Options → cjs/Options}/Classes/Particles/Move/Path/PathDelay.js +0 -0
- package/cjs/Options/Classes/Particles/Move/Spin.js +24 -0
- package/{Options → cjs/Options}/Classes/Particles/Move/Trail.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Number/Density.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Number/ParticlesNumber.js +0 -0
- package/cjs/Options/Classes/Particles/Opacity/Opacity.js +33 -0
- package/{Options → cjs/Options}/Classes/Particles/Opacity/OpacityAnimation.js +0 -0
- package/cjs/Options/Classes/Particles/Orbit/Orbit.js +39 -0
- package/{Options → cjs/Options}/Classes/Particles/Orbit/OrbitRotation.js +0 -0
- package/cjs/Options/Classes/Particles/ParticlesOptions.js +143 -0
- package/cjs/Options/Classes/Particles/Repulse/Repulse.js +37 -0
- package/cjs/Options/Classes/Particles/Roll/Roll.js +35 -0
- package/cjs/Options/Classes/Particles/Roll/RollLight.js +22 -0
- package/{Options → cjs/Options}/Classes/Particles/Rotate/Rotate.js +0 -0
- package/cjs/Options/Classes/Particles/Rotate/RotateAnimation.js +26 -0
- package/{Options → cjs/Options}/Classes/Particles/Shadow.js +0 -0
- package/cjs/Options/Classes/Particles/Shape/Shape.js +103 -0
- package/cjs/Options/Classes/Particles/Size/Size.js +33 -0
- package/{Options → cjs/Options}/Classes/Particles/Size/SizeAnimation.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Stroke.js +0 -0
- package/{Options → cjs/Options}/Classes/Particles/Tilt/Tilt.js +0 -0
- package/cjs/Options/Classes/Particles/Tilt/TiltAnimation.js +26 -0
- package/{Options → cjs/Options}/Classes/Particles/Twinkle/Twinkle.js +0 -0
- package/cjs/Options/Classes/Particles/Twinkle/TwinkleValues.js +30 -0
- package/cjs/Options/Classes/Particles/Wobble/Wobble.js +26 -0
- package/{Options → cjs/Options}/Classes/Particles/ZIndex/ZIndex.js +0 -0
- package/{Options → cjs/Options}/Classes/Random.js +0 -0
- package/cjs/Options/Classes/Responsive.js +31 -0
- package/cjs/Options/Classes/Theme/Theme.js +24 -0
- package/{Options → cjs/Options}/Classes/Theme/ThemeDefault.js +0 -0
- package/cjs/Options/Classes/ValueWithRandom.js +26 -0
- package/{Options → cjs/Options}/Interfaces/Background/IBackground.js +0 -0
- package/{Options → cjs/Options}/Interfaces/BackgroundMask/IBackgroundMask.js +0 -0
- package/{Options → cjs/Options}/Interfaces/BackgroundMask/IBackgroundMaskCover.js +0 -0
- package/{Options → cjs/Options}/Interfaces/FullScreen/IFullScreen.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IAnimatable.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IAnimatableColor.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IAnimatableGradient.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IColorAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IHslAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IManualParticle.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IOptionLoader.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IOptions.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IOptionsColor.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IOptionsGradient.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IRandom.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IResponsive.js +0 -0
- package/{Options → cjs/Options}/Interfaces/IValueWithRandom.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Events/IClickEvent.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Events/IDivEvent.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Events/IEvents.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Events/IHoverEvent.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Events/IParallax.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/IInteractivity.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IAttract.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IBounce.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IBubble.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IBubbleBase.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IBubbleDiv.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IConnect.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IConnectLinks.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IGrab.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IGrabLinks.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/ILight.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/ILightArea.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/ILightShadow.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IModeDiv.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IModes.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IPush.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IRemove.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IRepulse.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IRepulseBase.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/IRepulseDiv.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/ISlow.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Interactivity/Modes/ITrail.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Motion/IMotion.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Motion/IMotionReduce.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Bounce/IBounce.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Collisions/ICollisions.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Collisions/ICollisionsOverlap.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Destroy/IDestroy.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Destroy/ISplit.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/IParticles.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/IShadow.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/IStroke.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Life/ILife.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Life/ILifeDelay.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Life/ILifeDuration.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Links/ILinks.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Links/ILinksShadow.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Links/ILinksTriangle.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/IAttract.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/IMove.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/IMoveAngle.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/IMoveGravity.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/IOutModes.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/ISpin.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/ITrail.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Move/Path/IPath.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Number/IDensity.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Number/IParticlesNumber.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Opacity/IOpacity.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Opacity/IOpacityAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Orbit/IOrbit.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Repulse/IRepulse.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Roll/IRoll.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Roll/IRollLight.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Rotate/IRotate.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Rotate/IRotateAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Shape/ICharacterShape.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Shape/IImageShape.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Shape/IPolygonShape.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Shape/IShape.js +0 -0
- package/cjs/Options/Interfaces/Particles/Shape/IShapeValues.js +17 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Shape/IStarShape.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Size/ISize.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Size/ISizeAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Tilt/ITilt.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Tilt/ITiltAnimation.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Twinkle/ITwinkle.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Twinkle/ITwinkleValues.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/Wobble/IWobble.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Particles/ZIndex/IZIndex.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Theme/ITheme.js +0 -0
- package/{Options → cjs/Options}/Interfaces/Theme/IThemeDefault.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/AbsorberContainer.js +0 -0
- package/cjs/Plugins/Absorbers/AbsorberInstance.js +158 -0
- package/cjs/Plugins/Absorbers/Absorbers.js +115 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Enums/AbsorberClickMode.js +0 -0
- package/cjs/Plugins/Absorbers/Options/Classes/Absorber.js +51 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Classes/AbsorberSize.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Classes/AbsorberSizeLimit.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Interfaces/IAbsorber.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Interfaces/IAbsorberOptions.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Interfaces/IAbsorberSize.js +0 -0
- package/{Plugins → cjs/Plugins}/Absorbers/Options/Interfaces/IAbsorberSizeLimit.js +0 -0
- package/cjs/Plugins/Absorbers/index.js +93 -0
- package/{Plugins → cjs/Plugins}/Emitters/EmitterContainer.js +0 -0
- package/cjs/Plugins/Emitters/EmitterInstance.js +264 -0
- package/cjs/Plugins/Emitters/Emitters.js +150 -0
- package/{Plugins → cjs/Plugins}/Emitters/EmittersEngine.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Enums/EmitterClickMode.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Enums/EmitterShapeType.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/IEmitterShape.js +0 -0
- package/cjs/Plugins/Emitters/Options/Classes/Emitter.js +68 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Classes/EmitterLife.js +0 -0
- package/cjs/Plugins/Emitters/Options/Classes/EmitterRate.js +22 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Classes/EmitterSize.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Interfaces/IEmitter.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Interfaces/IEmitterLife.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Interfaces/IEmitterOptions.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Interfaces/IEmitterRate.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/Options/Interfaces/IEmitterSize.js +0 -0
- package/{Plugins → cjs/Plugins}/Emitters/ShapeManager.js +0 -0
- package/cjs/Plugins/Emitters/Shapes/Circle/CircleShape.js +27 -0
- package/{Plugins → cjs/Plugins}/Emitters/Shapes/Square/SquareShape.js +0 -0
- package/cjs/Plugins/Emitters/index.js +117 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Enums/PolygonMaskInlineArrangement.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Enums/PolygonMaskMoveType.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Enums/PolygonMaskType.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Interfaces/ISvgPath.js +0 -0
- package/cjs/Plugins/PolygonMask/Options/Classes/PolygonMask.js +66 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Classes/PolygonMaskDraw.js +0 -0
- package/cjs/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +29 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Classes/PolygonMaskInline.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Classes/PolygonMaskLocalSvg.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Classes/PolygonMaskMove.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMask.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskDraw.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskInline.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskMove.js +0 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskOptions.js +0 -0
- package/cjs/Plugins/PolygonMask/PolygonMaskInstance.js +363 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/Types.js +0 -0
- package/cjs/Plugins/PolygonMask/Utils.js +117 -0
- package/cjs/Plugins/PolygonMask/index.js +67 -0
- package/{Plugins → cjs/Plugins}/PolygonMask/pathseg.js +0 -0
- package/{Shapes → cjs/Shapes}/Circle/CircleDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Circle/index.js +0 -0
- package/cjs/Shapes/Image/ImageDrawer.js +132 -0
- package/cjs/Shapes/Image/Utils.js +89 -0
- package/{Shapes → cjs/Shapes}/Image/index.js +0 -0
- package/{Shapes → cjs/Shapes}/Line/LineDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Line/index.js +0 -0
- package/{Shapes → cjs/Shapes}/Polygon/PolygonDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Polygon/PolygonDrawerBase.js +0 -0
- package/{Shapes → cjs/Shapes}/Polygon/TriangleDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Polygon/index.js +0 -0
- package/{Shapes → cjs/Shapes}/Square/SquareDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Square/index.js +0 -0
- package/{Shapes → cjs/Shapes}/Star/StarDrawer.js +0 -0
- package/{Shapes → cjs/Shapes}/Star/index.js +0 -0
- package/cjs/Shapes/Text/TextDrawer.js +65 -0
- package/{Shapes → cjs/Shapes}/Text/index.js +0 -0
- package/{Types → cjs/Types}/ParticlesGroups.js +0 -0
- package/{Types → cjs/Types}/PathOptions.js +0 -0
- package/{Types → cjs/Types}/RangeValue.js +0 -0
- package/{Types → cjs/Types}/RecursivePartial.js +0 -0
- package/{Types → cjs/Types}/ShapeData.js +0 -0
- package/{Types → cjs/Types}/ShapeDrawerFunctions.js +0 -0
- package/{Types → cjs/Types}/SingleOrMultiple.js +0 -0
- package/cjs/Updaters/Angle/AngleUpdater.js +79 -0
- package/{Updaters → cjs/Updaters}/Angle/index.js +0 -0
- package/cjs/Updaters/Color/ColorUpdater.js +68 -0
- package/{Updaters → cjs/Updaters}/Color/index.js +0 -0
- package/cjs/Updaters/Life/LifeUpdater.js +67 -0
- package/{Updaters → cjs/Updaters}/Life/index.js +0 -0
- package/cjs/Updaters/Opacity/OpacityUpdater.js +122 -0
- package/{Updaters → cjs/Updaters}/Opacity/index.js +0 -0
- package/{Updaters → cjs/Updaters}/OutModes/IBounceData.js +0 -0
- package/cjs/Updaters/OutModes/OutOfCanvasUpdater.js +146 -0
- package/cjs/Updaters/OutModes/Utils.js +65 -0
- package/{Updaters → cjs/Updaters}/OutModes/index.js +0 -0
- package/cjs/Updaters/Roll/RollUpdater.js +64 -0
- package/{Updaters → cjs/Updaters}/Roll/index.js +0 -0
- package/cjs/Updaters/Size/SizeUpdater.js +77 -0
- package/{Updaters → cjs/Updaters}/Size/index.js +0 -0
- package/cjs/Updaters/StrokeColor/StrokeColorUpdater.js +86 -0
- package/{Updaters → cjs/Updaters}/StrokeColor/index.js +0 -0
- package/cjs/Updaters/Tilt/TiltUpdater.js +79 -0
- package/{Updaters → cjs/Updaters}/Tilt/index.js +0 -0
- package/cjs/Updaters/Twinkle/TwinkleUpdater.js +21 -0
- package/cjs/Updaters/Twinkle/index.js +8 -0
- package/cjs/Updaters/Wobble/WobbleUpdater.js +51 -0
- package/{Updaters → cjs/Updaters}/Wobble/index.js +0 -0
- package/cjs/Utils/CanvasUtils.js +256 -0
- package/cjs/Utils/ColorUtils.js +460 -0
- package/cjs/Utils/NumberUtils.js +174 -0
- package/cjs/Utils/Utils.js +252 -0
- package/cjs/engine.js +103 -0
- package/cjs/full.js +24 -0
- package/cjs/index.engine.js +119 -0
- package/cjs/index.js +133 -0
- package/cjs/index.slim.js +121 -0
- package/{pjs.js → cjs/pjs.js} +0 -0
- package/cjs/slim.js +62 -0
- package/esm/Core/Canvas.js +47 -60
- package/esm/Core/Container.js +15 -9
- package/{browser/Enums/Types/OrbitType.js → esm/Core/Interfaces/IParticleColorStyle.js} +0 -0
- package/esm/Core/Interfaces/{IAttract.js → IParticlesMover.js} +0 -0
- package/esm/Core/Interfaces/{IBubble.js → IPositionFromSizeParams.js} +0 -0
- package/esm/Core/Loader.js +6 -10
- package/esm/Core/Particle.js +29 -48
- package/esm/Core/Particles.js +24 -26
- package/esm/Core/Retina.js +4 -13
- package/esm/Core/Utils/Circle.js +4 -13
- package/esm/Core/Utils/CircleWarp.js +2 -7
- package/esm/Core/Utils/EventListeners.js +23 -94
- package/esm/Core/Utils/FrameManager.js +1 -2
- package/esm/Core/Utils/InteractionManager.js +7 -0
- package/esm/Core/Utils/Plugins.js +16 -3
- package/esm/Core/Utils/QuadTree.js +20 -27
- package/esm/Core/Utils/Rectangle.js +6 -15
- package/esm/Core/Utils/Vector.js +13 -15
- package/esm/Core/Utils/Vector3d.js +17 -5
- package/esm/Interactions/External/Attract/Attractor.js +36 -2
- package/esm/Interactions/External/Bounce/Bouncer.js +8 -6
- package/esm/Interactions/External/Bubble/Bubbler.js +25 -2
- package/esm/Interactions/External/Connect/Connector.js +2 -2
- package/esm/Interactions/External/Grab/Grabber.js +30 -25
- package/esm/Interactions/External/Pause/Pauser.js +25 -0
- package/esm/Interactions/External/Pause/index.js +4 -0
- package/esm/Interactions/External/Push/Pusher.js +29 -0
- package/esm/Interactions/External/Push/index.js +4 -0
- package/esm/Interactions/External/Remove/Remover.js +22 -0
- package/esm/Interactions/External/Remove/index.js +4 -0
- package/esm/Interactions/External/Repulse/Repulser.js +37 -2
- package/esm/Interactions/External/Trail/TrailMaker.js +2 -2
- package/esm/Interactions/Particles/Attract/Attractor.js +2 -2
- package/esm/Interactions/Particles/Collisions/Collider.js +9 -17
- package/esm/Interactions/Particles/Links/LinkInstance.js +37 -55
- package/esm/Interactions/Particles/Links/Linker.js +9 -14
- package/esm/Movers/Base/BaseMover.js +76 -0
- package/esm/{Core/Interfaces/IParticleGradientAnimation.js → Movers/Base/IParticleSpin.js} +0 -0
- package/esm/{Core/Interfaces/IParticleGradientColorAnimation.js → Movers/Base/Types.js} +0 -0
- package/esm/Movers/Base/Utils.js +97 -0
- package/esm/Movers/Base/index.js +4 -0
- package/esm/Movers/Parallax/ParallaxMover.js +29 -0
- package/esm/Movers/Parallax/index.js +4 -0
- package/esm/Options/Classes/AnimatableGradient.js +1 -1
- package/esm/Options/Classes/AnimationOptions.js +1 -1
- package/esm/Options/Classes/ColorAnimation.js +1 -1
- package/esm/Options/Classes/Interactivity/Modes/Trail.js +1 -1
- package/esm/Options/Classes/ManualParticle.js +1 -1
- package/esm/Options/Classes/Options.js +1 -1
- package/esm/Options/Classes/Particles/Destroy/Split.js +1 -1
- package/esm/Options/Classes/Particles/Move/Attract.js +1 -1
- package/esm/Options/Classes/Particles/Move/Move.js +2 -1
- package/esm/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/esm/Options/Classes/Particles/Move/Path/Path.js +1 -1
- package/esm/Options/Classes/Particles/Move/Spin.js +2 -1
- package/esm/Options/Classes/Particles/Opacity/Opacity.js +1 -1
- package/esm/Options/Classes/Particles/Orbit/Orbit.js +1 -1
- package/esm/Options/Classes/Particles/ParticlesOptions.js +1 -1
- package/esm/Options/Classes/Particles/Repulse/Repulse.js +1 -1
- package/esm/Options/Classes/Particles/Roll/Roll.js +1 -1
- package/esm/Options/Classes/Particles/Roll/RollLight.js +1 -1
- package/esm/Options/Classes/Particles/Rotate/RotateAnimation.js +1 -1
- package/esm/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/esm/Options/Classes/Particles/Size/Size.js +1 -1
- package/esm/Options/Classes/Particles/Tilt/TiltAnimation.js +1 -1
- package/esm/Options/Classes/Particles/Twinkle/TwinkleValues.js +1 -1
- package/esm/Options/Classes/Particles/Wobble/Wobble.js +1 -1
- package/esm/Options/Classes/Responsive.js +1 -1
- package/esm/Options/Classes/Theme/Theme.js +1 -1
- package/esm/Options/Classes/ValueWithRandom.js +1 -1
- package/esm/Plugins/Absorbers/AbsorberInstance.js +16 -20
- package/esm/Plugins/Absorbers/Absorbers.js +3 -6
- package/esm/Plugins/Absorbers/Options/Classes/Absorber.js +1 -1
- package/esm/Plugins/Absorbers/index.js +8 -9
- package/esm/Plugins/Emitters/EmitterInstance.js +20 -25
- package/esm/Plugins/Emitters/Emitters.js +3 -6
- package/esm/Plugins/Emitters/Options/Classes/Emitter.js +2 -1
- package/esm/Plugins/Emitters/Options/Classes/EmitterRate.js +1 -1
- package/esm/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -7
- package/esm/Plugins/Emitters/index.js +4 -1
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.js +1 -1
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +1 -1
- package/esm/Plugins/PolygonMask/PolygonMaskInstance.js +19 -42
- package/esm/Plugins/PolygonMask/Utils.js +6 -13
- package/esm/Plugins/PolygonMask/index.js +6 -2
- package/esm/Shapes/Image/ImageDrawer.js +20 -20
- package/esm/Shapes/Image/Utils.js +1 -1
- package/esm/Shapes/Text/TextDrawer.js +1 -1
- package/esm/Updaters/Angle/AngleUpdater.js +1 -1
- package/esm/Updaters/Color/ColorUpdater.js +2 -1
- package/esm/Updaters/Life/LifeUpdater.js +1 -1
- package/esm/Updaters/Opacity/OpacityUpdater.js +1 -1
- package/esm/Updaters/OutModes/OutOfCanvasUpdater.js +1 -1
- package/esm/Updaters/OutModes/Utils.js +1 -1
- package/esm/Updaters/Roll/RollUpdater.js +2 -1
- package/esm/Updaters/Size/SizeUpdater.js +1 -1
- package/esm/Updaters/StrokeColor/StrokeColorUpdater.js +3 -1
- package/esm/Updaters/Tilt/TiltUpdater.js +1 -1
- package/esm/Updaters/Twinkle/TwinkleUpdater.js +17 -0
- package/esm/Updaters/Twinkle/index.js +4 -0
- package/esm/Updaters/Wobble/WobbleUpdater.js +1 -1
- package/esm/Utils/CanvasUtils.js +26 -57
- package/esm/Utils/ColorUtils.js +13 -29
- package/esm/Utils/NumberUtils.js +48 -7
- package/esm/Utils/Utils.js +30 -47
- package/esm/engine.js +6 -1
- package/esm/full.js +3 -1
- package/esm/index.engine.js +93 -5
- package/esm/index.js +101 -8
- package/esm/index.slim.js +92 -5
- package/esm/slim.js +10 -0
- package/package.json +252 -4
- package/report.html +2 -2
- package/report.slim.html +2 -2
- package/tsparticles.engine.js +1153 -1460
- package/tsparticles.engine.min.js +2 -2
- package/tsparticles.interaction.external.attract.js +297 -4974
- package/tsparticles.interaction.external.attract.min.js +2 -2
- package/tsparticles.interaction.external.bounce.js +263 -4988
- package/tsparticles.interaction.external.bounce.min.js +2 -2
- package/tsparticles.interaction.external.bubble.js +247 -4546
- package/tsparticles.interaction.external.bubble.min.js +2 -2
- package/tsparticles.interaction.external.connect.js +42 -4968
- package/tsparticles.interaction.external.connect.min.js +2 -2
- package/tsparticles.interaction.external.grab.js +174 -4507
- package/tsparticles.interaction.external.grab.min.js +2 -2
- package/tsparticles.interaction.external.repulse.js +264 -4949
- package/tsparticles.interaction.external.repulse.min.js +2 -2
- package/tsparticles.interaction.external.trail.js +42 -4968
- package/tsparticles.interaction.external.trail.min.js +2 -2
- package/tsparticles.interaction.particles.attract.js +60 -5019
- package/tsparticles.interaction.particles.attract.min.js +2 -2
- package/tsparticles.interaction.particles.collisions.js +149 -4919
- package/tsparticles.interaction.particles.collisions.min.js +2 -2
- package/tsparticles.interaction.particles.links.js +415 -4462
- package/tsparticles.interaction.particles.links.min.js +2 -2
- package/tsparticles.js +1662 -1672
- package/tsparticles.min.js +2 -2
- package/tsparticles.pathseg.min.js +1 -1
- package/tsparticles.plugins.absorbers.js +347 -4676
- package/tsparticles.plugins.absorbers.min.js +2 -2
- package/tsparticles.plugins.emitters.js +424 -4696
- package/tsparticles.plugins.emitters.min.js +2 -2
- package/tsparticles.plugins.polygonMask.js +263 -4633
- package/tsparticles.plugins.polygonMask.min.js +2 -2
- package/tsparticles.shape.circle.min.js +1 -1
- package/tsparticles.shape.image.js +67 -4777
- package/tsparticles.shape.image.min.js +2 -2
- package/tsparticles.shape.line.min.js +1 -1
- package/tsparticles.shape.polygon.min.js +1 -1
- package/tsparticles.shape.square.min.js +1 -1
- package/tsparticles.shape.star.min.js +1 -1
- package/tsparticles.shape.text.js +39 -4965
- package/tsparticles.shape.text.min.js +2 -2
- package/tsparticles.slim.js +1575 -1554
- package/tsparticles.slim.min.js +2 -2
- package/tsparticles.updater.angle.js +55 -5014
- package/tsparticles.updater.angle.min.js +2 -2
- package/tsparticles.updater.color.js +146 -4481
- package/tsparticles.updater.color.min.js +2 -2
- package/tsparticles.updater.life.js +58 -5017
- package/tsparticles.updater.life.min.js +2 -2
- package/tsparticles.updater.opacity.js +62 -5021
- package/tsparticles.updater.opacity.min.js +2 -2
- package/tsparticles.updater.outModes.js +152 -4907
- package/tsparticles.updater.outModes.min.js +2 -2
- package/tsparticles.updater.roll.js +143 -4478
- package/tsparticles.updater.roll.min.js +2 -2
- package/tsparticles.updater.size.js +54 -5013
- package/tsparticles.updater.size.min.js +2 -2
- package/tsparticles.updater.strokeColor.js +147 -4482
- package/tsparticles.updater.strokeColor.min.js +2 -2
- package/tsparticles.updater.tilt.js +55 -5014
- package/tsparticles.updater.tilt.min.js +2 -2
- package/tsparticles.updater.wobble.js +55 -5014
- package/tsparticles.updater.wobble.min.js +2 -2
- package/types/Core/Canvas.d.ts +40 -0
- package/types/Core/Container.d.ts +71 -0
- package/types/Core/Interfaces/Colors.d.ts +33 -0
- package/types/Core/Interfaces/Gradients.d.ts +21 -0
- package/{Core → types/Core}/Interfaces/IBounds.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IBubbleParticleData.d.ts +0 -0
- package/types/Core/Interfaces/ICircleBouncer.d.ts +9 -0
- package/{Core → types/Core}/Interfaces/IContainerInteractivity.d.ts +0 -0
- package/types/Core/Interfaces/IContainerPlugin.d.ts +33 -0
- package/types/Core/Interfaces/ICoordinates.d.ts +15 -0
- package/{Core → types/Core}/Interfaces/IDelta.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IDimension.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IDistance.d.ts +0 -0
- package/types/Core/Interfaces/IExternalInteractor.d.ts +8 -0
- package/types/Core/Interfaces/IInteractor.d.ts +6 -0
- package/{Core → types/Core}/Interfaces/IMouseData.d.ts +0 -0
- package/types/Core/Interfaces/IMovePathGenerator.d.ts +8 -0
- package/types/Core/Interfaces/IParticle.d.ts +51 -0
- package/types/Core/Interfaces/IParticleColorStyle.d.ts +4 -0
- package/{Core → types/Core}/Interfaces/IParticleGravity.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticleHslAnimation.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticleLife.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticleLoops.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticleRetinaProps.d.ts +0 -0
- package/types/Core/Interfaces/IParticleRoll.d.ts +9 -0
- package/types/Core/Interfaces/IParticleSpin.d.ts +9 -0
- package/types/Core/Interfaces/IParticleUpdater.d.ts +11 -0
- package/types/Core/Interfaces/IParticleValueAnimation.d.ts +17 -0
- package/{Core → types/Core}/Interfaces/IParticleWobble.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticlesFrequencies.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IParticlesInteractor.d.ts +0 -0
- package/types/Core/Interfaces/IParticlesMover.d.ts +7 -0
- package/types/Core/Interfaces/IPlugin.d.ts +11 -0
- package/types/Core/Interfaces/IPositionFromSizeParams.d.ts +10 -0
- package/{Core → types/Core}/Interfaces/IRangeValue.d.ts +0 -0
- package/{Core → types/Core}/Interfaces/IRectSideResult.d.ts +0 -0
- package/types/Core/Interfaces/IShapeDrawer.d.ts +10 -0
- package/types/Core/Interfaces/IShapeValues.d.ts +8 -0
- package/types/Core/Loader.d.ts +32 -0
- package/types/Core/Particle.d.ts +84 -0
- package/types/Core/Particles.d.ts +52 -0
- package/types/Core/Retina.d.ts +25 -0
- package/types/Core/Utils/Circle.d.ts +8 -0
- package/types/Core/Utils/CircleWarp.d.ts +10 -0
- package/{Core → types/Core}/Utils/Constants.d.ts +0 -0
- package/{Core → types/Core}/Utils/EventListeners.d.ts +0 -0
- package/types/Core/Utils/ExternalInteractorBase.d.ts +13 -0
- package/{Core → types/Core}/Utils/FrameManager.d.ts +0 -0
- package/types/Core/Utils/InteractionManager.d.ts +16 -0
- package/types/Core/Utils/ParticlesInteractorBase.d.ts +13 -0
- package/types/Core/Utils/Plugins.d.ts +47 -0
- package/types/Core/Utils/Point.d.ts +7 -0
- package/types/Core/Utils/QuadTree.d.ts +24 -0
- package/types/Core/Utils/Range.d.ts +7 -0
- package/types/Core/Utils/Rectangle.d.ts +9 -0
- package/types/Core/Utils/Vector.d.ts +29 -0
- package/types/Core/Utils/Vector3d.d.ts +19 -0
- package/{Enums → types/Enums}/AnimationStatus.d.ts +0 -0
- package/{Enums → types/Enums}/Directions/MoveDirection.d.ts +0 -0
- package/{Enums → types/Enums}/Directions/OutModeDirection.d.ts +0 -0
- package/{Enums → types/Enums}/Directions/RotateDirection.d.ts +0 -0
- package/{Enums → types/Enums}/Directions/TiltDirection.d.ts +0 -0
- package/{Enums → types/Enums}/InteractivityDetect.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/ClickMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/CollisionMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/DestroyMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/DivMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/HoverMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/OutMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/ResponsiveMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/RollMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/SizeMode.d.ts +0 -0
- package/{Enums → types/Enums}/Modes/ThemeMode.d.ts +0 -0
- package/{Enums → types/Enums}/Types/AlterType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/DestroyType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/DivType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/EasingType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/GradientType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/InteractorType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/ShapeType.d.ts +0 -0
- package/{Enums → types/Enums}/Types/StartValueType.d.ts +0 -0
- package/types/Interactions/External/Attract/Attractor.d.ts +24 -0
- package/{Interactions → types/Interactions}/External/Attract/index.d.ts +0 -0
- package/types/Interactions/External/Bounce/Bouncer.d.ts +11 -0
- package/{Interactions → types/Interactions}/External/Bounce/index.d.ts +0 -0
- package/types/Interactions/External/Bubble/Bubbler.d.ts +26 -0
- package/{Interactions → types/Interactions}/External/Bubble/IBubblerProcessParam.d.ts +0 -0
- package/{Interactions → types/Interactions}/External/Bubble/ProcessBubbleType.d.ts +0 -0
- package/{Interactions → types/Interactions}/External/Bubble/index.d.ts +0 -0
- package/types/Interactions/External/Connect/Connector.d.ts +8 -0
- package/{Interactions → types/Interactions}/External/Connect/index.d.ts +0 -0
- package/types/Interactions/External/Grab/Grabber.d.ts +8 -0
- package/{Interactions → types/Interactions}/External/Grab/index.d.ts +0 -0
- package/types/Interactions/External/Pause/Pauser.d.ts +9 -0
- package/types/Interactions/External/Pause/index.d.ts +2 -0
- package/types/Interactions/External/Push/Pusher.d.ts +10 -0
- package/types/Interactions/External/Push/index.d.ts +2 -0
- package/types/Interactions/External/Remove/Remover.d.ts +9 -0
- package/types/Interactions/External/Remove/index.d.ts +2 -0
- package/types/Interactions/External/Repulse/Repulser.d.ts +24 -0
- package/{Interactions → types/Interactions}/External/Repulse/index.d.ts +0 -0
- package/types/Interactions/External/Trail/TrailMaker.d.ts +11 -0
- package/{Interactions → types/Interactions}/External/Trail/index.d.ts +0 -0
- package/types/Interactions/Particles/Attract/Attractor.d.ts +10 -0
- package/{Interactions → types/Interactions}/Particles/Attract/index.d.ts +0 -0
- package/types/Interactions/Particles/Collisions/Collider.d.ts +11 -0
- package/{Interactions → types/Interactions}/Particles/Collisions/index.d.ts +0 -0
- package/{Interactions → types/Interactions}/Particles/Links/ILink.d.ts +0 -0
- package/types/Interactions/Particles/Links/LinkInstance.d.ts +12 -0
- package/types/Interactions/Particles/Links/LinkParticle.d.ts +5 -0
- package/types/Interactions/Particles/Links/Linker.d.ts +11 -0
- package/{Interactions → types/Interactions}/Particles/Links/index.d.ts +0 -0
- package/{Interactions → types/Interactions}/Particles/Links/interaction.d.ts +0 -0
- package/{Interactions → types/Interactions}/Particles/Links/plugin.d.ts +0 -0
- package/types/Movers/Base/BaseMover.d.ts +9 -0
- package/types/Movers/Base/IParticleSpin.d.ts +9 -0
- package/types/Movers/Base/Types.d.ts +8 -0
- package/types/Movers/Base/Utils.d.ts +7 -0
- package/types/Movers/Base/index.d.ts +2 -0
- package/types/Movers/Parallax/ParallaxMover.d.ts +7 -0
- package/types/Movers/Parallax/index.d.ts +2 -0
- package/types/Options/Classes/AnimatableColor.d.ts +12 -0
- package/types/Options/Classes/AnimatableGradient.d.ts +56 -0
- package/types/Options/Classes/AnimationOptions.d.ts +12 -0
- package/types/Options/Classes/Background/Background.d.ts +14 -0
- package/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts +11 -0
- package/types/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +10 -0
- package/types/Options/Classes/ColorAnimation.d.ts +13 -0
- package/types/Options/Classes/FullScreen/FullScreen.d.ts +9 -0
- package/types/Options/Classes/HslAnimation.d.ts +11 -0
- package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +11 -0
- package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +20 -0
- package/types/Options/Classes/Interactivity/Events/Events.d.ts +21 -0
- package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +13 -0
- package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Interactivity.d.ts +15 -0
- package/types/Options/Classes/Interactivity/Modes/Attract.d.ts +14 -0
- package/types/Options/Classes/Interactivity/Modes/Bounce.d.ts +8 -0
- package/types/Options/Classes/Interactivity/Modes/Bubble.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +14 -0
- package/types/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +12 -0
- package/types/Options/Classes/Interactivity/Modes/Connect.d.ts +15 -0
- package/types/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +8 -0
- package/types/Options/Classes/Interactivity/Modes/Grab.d.ts +14 -0
- package/types/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +12 -0
- package/types/Options/Classes/Interactivity/Modes/Light.d.ts +11 -0
- package/types/Options/Classes/Interactivity/Modes/LightArea.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/LightGradient.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/LightShadow.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +29 -0
- package/types/Options/Classes/Interactivity/Modes/Push.d.ts +12 -0
- package/types/Options/Classes/Interactivity/Modes/Remove.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/Repulse.d.ts +10 -0
- package/types/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +14 -0
- package/types/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +12 -0
- package/types/Options/Classes/Interactivity/Modes/Slow.d.ts +11 -0
- package/types/Options/Classes/Interactivity/Modes/Trail.d.ts +12 -0
- package/types/Options/Classes/ManualParticle.d.ts +10 -0
- package/types/Options/Classes/Motion/Motion.d.ts +10 -0
- package/types/Options/Classes/Motion/MotionReduce.d.ts +9 -0
- package/types/Options/Classes/Options.d.ts +49 -0
- package/types/Options/Classes/OptionsColor.d.ts +11 -0
- package/types/Options/Classes/Particles/Bounce/Bounce.d.ts +10 -0
- package/{Options → types/Options}/Classes/Particles/Bounce/BounceFactor.d.ts +0 -0
- package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +14 -0
- package/types/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +9 -0
- package/types/Options/Classes/Particles/Destroy/Destroy.d.ts +11 -0
- package/types/Options/Classes/Particles/Destroy/Split.d.ts +15 -0
- package/{Options → types/Options}/Classes/Particles/Destroy/SplitFactor.d.ts +0 -0
- package/{Options → types/Options}/Classes/Particles/Destroy/SplitRate.d.ts +0 -0
- package/types/Options/Classes/Particles/Life/Life.d.ts +12 -0
- package/types/Options/Classes/Particles/Life/LifeDelay.d.ts +9 -0
- package/types/Options/Classes/Particles/Life/LifeDuration.d.ts +9 -0
- package/types/Options/Classes/Particles/Links/Links.d.ts +22 -0
- package/types/Options/Classes/Particles/Links/LinksShadow.d.ts +11 -0
- package/types/Options/Classes/Particles/Links/LinksTriangle.d.ts +12 -0
- package/types/Options/Classes/Particles/Move/Attract.d.ts +16 -0
- package/types/Options/Classes/Particles/Move/Move.d.ts +46 -0
- package/types/Options/Classes/Particles/Move/MoveAngle.d.ts +10 -0
- package/types/Options/Classes/Particles/Move/MoveGravity.d.ts +12 -0
- package/types/Options/Classes/Particles/Move/OutModes.d.ts +13 -0
- package/types/Options/Classes/Particles/Move/Path/Path.d.ts +14 -0
- package/{Options → types/Options}/Classes/Particles/Move/Path/PathDelay.d.ts +0 -0
- package/types/Options/Classes/Particles/Move/Spin.d.ts +12 -0
- package/types/Options/Classes/Particles/Move/Trail.d.ts +11 -0
- package/types/Options/Classes/Particles/Number/Density.d.ts +12 -0
- package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +13 -0
- package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +12 -0
- package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +15 -0
- package/types/Options/Classes/Particles/Orbit/Orbit.d.ts +19 -0
- package/types/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +7 -0
- package/types/Options/Classes/Particles/ParticlesOptions.d.ts +59 -0
- package/types/Options/Classes/Particles/Repulse/Repulse.d.ts +14 -0
- package/types/Options/Classes/Particles/Roll/Roll.d.ts +17 -0
- package/types/Options/Classes/Particles/Roll/RollLight.d.ts +10 -0
- package/types/Options/Classes/Particles/Rotate/Rotate.d.ts +13 -0
- package/types/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +11 -0
- package/types/Options/Classes/Particles/Shadow.d.ts +13 -0
- package/types/Options/Classes/Particles/Shape/Shape.d.ts +29 -0
- package/types/Options/Classes/Particles/Size/Size.d.ts +12 -0
- package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +15 -0
- package/types/Options/Classes/Particles/Stroke.d.ts +11 -0
- package/types/Options/Classes/Particles/Tilt/Tilt.d.ts +13 -0
- package/types/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +11 -0
- package/types/Options/Classes/Particles/Twinkle/Twinkle.d.ts +10 -0
- package/types/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +13 -0
- package/types/Options/Classes/Particles/Wobble/Wobble.d.ts +11 -0
- package/types/Options/Classes/Particles/ZIndex/ZIndex.d.ts +11 -0
- package/types/Options/Classes/Random.d.ts +9 -0
- package/types/Options/Classes/Responsive.d.ts +12 -0
- package/types/Options/Classes/Theme/Theme.d.ts +12 -0
- package/types/Options/Classes/Theme/ThemeDefault.d.ts +11 -0
- package/types/Options/Classes/ValueWithRandom.d.ts +11 -0
- package/{Options → types/Options}/Interfaces/Background/IBackground.d.ts +0 -0
- package/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +7 -0
- package/{Options → types/Options}/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/FullScreen/IFullScreen.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/IAnimatable.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/IAnimatableColor.d.ts +0 -0
- package/types/Options/Interfaces/IAnimatableGradient.d.ts +8 -0
- package/types/Options/Interfaces/IAnimation.d.ts +7 -0
- package/types/Options/Interfaces/IColorAnimation.d.ts +5 -0
- package/{Options → types/Options}/Interfaces/IHslAnimation.d.ts +0 -0
- package/types/Options/Interfaces/IManualParticle.d.ts +7 -0
- package/types/Options/Interfaces/IOptionLoader.d.ts +4 -0
- package/types/Options/Interfaces/IOptions.d.ts +36 -0
- package/types/Options/Interfaces/IOptionsColor.d.ts +2 -0
- package/types/Options/Interfaces/IOptionsGradient.d.ts +13 -0
- package/{Options → types/Options}/Interfaces/IRandom.d.ts +0 -0
- package/types/Options/Interfaces/IResponsive.d.ts +8 -0
- package/types/Options/Interfaces/IValueWithRandom.d.ts +6 -0
- package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +6 -0
- package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +12 -0
- package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +13 -0
- package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +8 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Events/IParallax.d.ts +0 -0
- package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +9 -0
- package/types/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +9 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IBounce.d.ts +0 -0
- package/types/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +6 -0
- package/types/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +10 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IConnect.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IGrab.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/ILight.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/ILightArea.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/ILightShadow.d.ts +0 -0
- package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +5 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IModes.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IPush.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IRemove.d.ts +0 -0
- package/types/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +6 -0
- package/types/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +9 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Interactivity/Modes/ISlow.d.ts +0 -0
- package/types/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +8 -0
- package/{Options → types/Options}/Interfaces/Motion/IMotion.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Motion/IMotionReduce.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Bounce/IBounce.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +9 -0
- package/{Options → types/Options}/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +6 -0
- package/types/Options/Interfaces/Particles/Destroy/ISplit.d.ts +10 -0
- package/types/Options/Interfaces/Particles/IParticles.d.ts +52 -0
- package/{Options → types/Options}/Interfaces/Particles/IShadow.d.ts +0 -0
- package/types/Options/Interfaces/Particles/IStroke.d.ts +7 -0
- package/{Options → types/Options}/Interfaces/Particles/Life/ILife.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Life/ILifeDelay.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Life/ILifeDuration.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Links/ILinks.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Links/ILinksShadow.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Links/ILinksTriangle.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Move/IAttract.d.ts +9 -0
- package/types/Options/Interfaces/Particles/Move/IMove.d.ts +36 -0
- package/types/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +5 -0
- package/types/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +7 -0
- package/types/Options/Interfaces/Particles/Move/IOutModes.d.ts +8 -0
- package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +7 -0
- package/{Options → types/Options}/Interfaces/Particles/Move/ITrail.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Move/Path/IPath.d.ts +9 -0
- package/{Options → types/Options}/Interfaces/Particles/Number/IDensity.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Number/IParticlesNumber.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Opacity/IOpacity.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +9 -0
- package/types/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +13 -0
- package/types/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +9 -0
- package/types/Options/Interfaces/Particles/Roll/IRoll.d.ts +13 -0
- package/types/Options/Interfaces/Particles/Roll/IRollLight.d.ts +5 -0
- package/types/Options/Interfaces/Particles/Rotate/IRotate.d.ts +8 -0
- package/types/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +6 -0
- package/types/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +8 -0
- package/{Options → types/Options}/Interfaces/Particles/Shape/IImageShape.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Shape/IPolygonShape.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +17 -0
- package/{Options → types/Options}/Interfaces/Particles/Shape/IShapeValues.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Shape/IStarShape.d.ts +0 -0
- package/{Options → types/Options}/Interfaces/Particles/Size/ISize.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +9 -0
- package/types/Options/Interfaces/Particles/Tilt/ITilt.d.ts +8 -0
- package/types/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +6 -0
- package/{Options → types/Options}/Interfaces/Particles/Twinkle/ITwinkle.d.ts +0 -0
- package/types/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +8 -0
- package/types/Options/Interfaces/Particles/Wobble/IWobble.d.ts +6 -0
- package/{Options → types/Options}/Interfaces/Particles/ZIndex/IZIndex.d.ts +0 -0
- package/types/Options/Interfaces/Theme/ITheme.d.ts +8 -0
- package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +6 -0
- package/types/Plugins/Absorbers/AbsorberContainer.d.ts +7 -0
- package/types/Plugins/Absorbers/AbsorberInstance.d.ts +36 -0
- package/types/Plugins/Absorbers/Absorbers.d.ts +26 -0
- package/{Plugins → types/Plugins}/Absorbers/Enums/AbsorberClickMode.d.ts +0 -0
- package/types/Plugins/Absorbers/Options/Classes/Absorber.d.ts +18 -0
- package/types/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +11 -0
- package/types/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +9 -0
- package/types/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +14 -0
- package/types/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +12 -0
- package/{Plugins → types/Plugins}/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +0 -0
- package/{Plugins → types/Plugins}/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +0 -0
- package/types/Plugins/Absorbers/index.d.ts +4 -0
- package/types/Plugins/Emitters/EmitterContainer.d.ts +10 -0
- package/types/Plugins/Emitters/EmitterInstance.d.ts +49 -0
- package/types/Plugins/Emitters/Emitters.d.ts +29 -0
- package/{Plugins → types/Plugins}/Emitters/EmittersEngine.d.ts +0 -0
- package/{Plugins → types/Plugins}/Emitters/Enums/EmitterClickMode.d.ts +0 -0
- package/{Plugins → types/Plugins}/Emitters/Enums/EmitterShapeType.d.ts +0 -0
- package/types/Plugins/Emitters/IEmitterShape.d.ts +5 -0
- package/types/Plugins/Emitters/Options/Classes/Emitter.d.ts +28 -0
- package/types/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +11 -0
- package/types/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +10 -0
- package/types/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +11 -0
- package/types/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +24 -0
- package/{Plugins → types/Plugins}/Emitters/Options/Interfaces/IEmitterLife.d.ts +0 -0
- package/types/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +12 -0
- package/types/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +5 -0
- package/types/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +5 -0
- package/{Plugins → types/Plugins}/Emitters/ShapeManager.d.ts +0 -0
- package/types/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +6 -0
- package/types/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +6 -0
- package/types/Plugins/Emitters/index.d.ts +6 -0
- package/{Plugins → types/Plugins}/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +0 -0
- package/{Plugins → types/Plugins}/PolygonMask/Enums/PolygonMaskMoveType.d.ts +0 -0
- package/{Plugins → types/Plugins}/PolygonMask/Enums/PolygonMaskType.d.ts +0 -0
- package/{Plugins → types/Plugins}/PolygonMask/Interfaces/ISvgPath.d.ts +0 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +25 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +15 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +11 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +9 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +11 -0
- package/types/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +10 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +19 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +8 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +6 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +4 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +6 -0
- package/types/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +5 -0
- package/{Plugins → types/Plugins}/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +0 -0
- package/types/Plugins/PolygonMask/PolygonMaskInstance.d.ts +43 -0
- package/{Plugins → types/Plugins}/PolygonMask/Types.d.ts +0 -0
- package/types/Plugins/PolygonMask/Utils.d.ts +11 -0
- package/types/Plugins/PolygonMask/index.d.ts +6 -0
- package/{Plugins → types/Plugins}/PolygonMask/pathseg.d.ts +0 -0
- package/types/Shapes/Circle/CircleDrawer.d.ts +6 -0
- package/{Shapes → types/Shapes}/Circle/index.d.ts +0 -0
- package/types/Shapes/Image/ImageDrawer.d.ts +15 -0
- package/types/Shapes/Image/Utils.d.ts +30 -0
- package/{Shapes → types/Shapes}/Image/index.d.ts +0 -0
- package/types/Shapes/Line/LineDrawer.d.ts +6 -0
- package/{Shapes → types/Shapes}/Line/index.d.ts +0 -0
- package/types/Shapes/Polygon/PolygonDrawer.d.ts +8 -0
- package/types/Shapes/Polygon/PolygonDrawerBase.d.ts +17 -0
- package/types/Shapes/Polygon/TriangleDrawer.d.ts +9 -0
- package/{Shapes → types/Shapes}/Polygon/index.d.ts +0 -0
- package/types/Shapes/Square/SquareDrawer.d.ts +6 -0
- package/{Shapes → types/Shapes}/Square/index.d.ts +0 -0
- package/types/Shapes/Star/StarDrawer.d.ts +6 -0
- package/{Shapes → types/Shapes}/Star/index.d.ts +0 -0
- package/types/Shapes/Text/TextDrawer.d.ts +9 -0
- package/{Shapes → types/Shapes}/Text/index.d.ts +0 -0
- package/{Types → types/Types}/ParticlesGroups.d.ts +0 -0
- package/{Types → types/Types}/PathOptions.d.ts +0 -0
- package/{Types → types/Types}/RangeValue.d.ts +0 -0
- package/{Types → types/Types}/RecursivePartial.d.ts +0 -0
- package/types/Types/ShapeData.d.ts +5 -0
- package/types/Types/ShapeDrawerFunctions.d.ts +11 -0
- package/{Types → types/Types}/SingleOrMultiple.d.ts +0 -0
- package/types/Updaters/Angle/AngleUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/Angle/index.d.ts +0 -0
- package/types/Updaters/Color/ColorUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/Color/index.d.ts +0 -0
- package/types/Updaters/Life/LifeUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/Life/index.d.ts +0 -0
- package/types/Updaters/Opacity/OpacityUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/Opacity/index.d.ts +0 -0
- package/types/Updaters/OutModes/IBounceData.d.ts +15 -0
- package/types/Updaters/OutModes/OutOfCanvasUpdater.d.ts +16 -0
- package/{Updaters → types/Updaters}/OutModes/Utils.d.ts +0 -0
- package/{Updaters → types/Updaters}/OutModes/index.d.ts +0 -0
- package/types/Updaters/Roll/RollUpdater.d.ts +8 -0
- package/{Updaters → types/Updaters}/Roll/index.d.ts +0 -0
- package/types/Updaters/Size/SizeUpdater.d.ts +8 -0
- package/{Updaters → types/Updaters}/Size/index.d.ts +0 -0
- package/types/Updaters/StrokeColor/StrokeColorUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/StrokeColor/index.d.ts +0 -0
- package/types/Updaters/Tilt/TiltUpdater.d.ts +11 -0
- package/{Updaters → types/Updaters}/Tilt/index.d.ts +0 -0
- package/types/Updaters/Twinkle/TwinkleUpdater.d.ts +9 -0
- package/types/Updaters/Twinkle/index.d.ts +2 -0
- package/types/Updaters/Wobble/WobbleUpdater.d.ts +17 -0
- package/{Updaters → types/Updaters}/Wobble/index.d.ts +0 -0
- package/types/Utils/CanvasUtils.d.ts +26 -0
- package/types/Utils/ColorUtils.d.ts +28 -0
- package/types/Utils/NumberUtils.d.ts +30 -0
- package/types/Utils/Utils.d.ts +43 -0
- package/types/engine.d.ts +36 -0
- package/{browser → types}/full.d.ts +0 -0
- package/types/index.d.ts +114 -0
- package/types/index.engine.d.ts +102 -0
- package/types/index.slim.d.ts +102 -0
- package/types/pjs.d.ts +14 -0
- package/{browser → types}/slim.d.ts +0 -0
- package/umd/Core/Canvas.js +65 -78
- package/umd/Core/Container.js +22 -16
- package/umd/Core/Interfaces/{IAttract.js → IParticleColorStyle.js} +0 -0
- package/umd/Core/Interfaces/{IBubble.js → IParticlesMover.js} +0 -0
- package/umd/Core/Interfaces/{IParticleGradientAnimation.js → IPositionFromSizeParams.js} +0 -0
- package/umd/Core/Loader.js +10 -14
- package/umd/Core/Particle.js +56 -75
- package/umd/Core/Particles.js +33 -35
- package/umd/Core/Retina.js +13 -22
- package/umd/Core/Utils/Circle.js +6 -15
- package/umd/Core/Utils/CircleWarp.js +2 -7
- package/umd/Core/Utils/EventListeners.js +24 -95
- package/umd/Core/Utils/FrameManager.js +1 -2
- package/umd/Core/Utils/InteractionManager.js +7 -0
- package/umd/Core/Utils/Plugins.js +16 -3
- package/umd/Core/Utils/QuadTree.js +21 -28
- package/umd/Core/Utils/Rectangle.js +6 -15
- package/umd/Core/Utils/Vector.js +13 -15
- package/umd/Core/Utils/Vector3d.js +17 -5
- package/umd/Interactions/External/Attract/Attractor.js +44 -10
- package/umd/Interactions/External/Bounce/Bouncer.js +18 -16
- package/umd/Interactions/External/Bubble/Bubbler.js +41 -18
- package/umd/Interactions/External/Connect/Connector.js +4 -4
- package/umd/Interactions/External/Grab/Grabber.js +32 -27
- package/umd/Interactions/External/Pause/Pauser.js +39 -0
- package/umd/Interactions/External/Pause/index.js +18 -0
- package/umd/Interactions/External/Push/Pusher.js +43 -0
- package/umd/Interactions/External/Push/index.js +18 -0
- package/umd/Interactions/External/Remove/Remover.js +36 -0
- package/umd/Interactions/External/Remove/index.js +18 -0
- package/umd/Interactions/External/Repulse/Repulser.js +47 -12
- package/umd/Interactions/External/Trail/TrailMaker.js +4 -4
- package/umd/Interactions/Particles/Attract/Attractor.js +5 -5
- package/umd/Interactions/Particles/Collisions/Collider.js +13 -21
- package/umd/Interactions/Particles/Links/LinkInstance.js +47 -65
- package/umd/Interactions/Particles/Links/Linker.js +17 -22
- package/umd/Movers/Base/BaseMover.js +90 -0
- package/umd/{Core/Interfaces/IParticleGradientColorAnimation.js → Movers/Base/IParticleSpin.js} +0 -0
- package/umd/{Core/Interfaces/IRepulse.js → Movers/Base/Types.js} +0 -0
- package/umd/Movers/Base/Utils.js +114 -0
- package/umd/Movers/Base/index.js +18 -0
- package/umd/Movers/Parallax/ParallaxMover.js +43 -0
- package/umd/Movers/Parallax/index.js +18 -0
- package/umd/Options/Classes/AnimatableGradient.js +7 -7
- package/umd/Options/Classes/AnimationOptions.js +4 -4
- package/umd/Options/Classes/ColorAnimation.js +5 -5
- package/umd/Options/Classes/Interactivity/Modes/Trail.js +2 -2
- package/umd/Options/Classes/ManualParticle.js +2 -2
- package/umd/Options/Classes/Options.js +2 -2
- package/umd/Options/Classes/Particles/Destroy/Split.js +2 -2
- package/umd/Options/Classes/Particles/Move/Attract.js +3 -3
- package/umd/Options/Classes/Particles/Move/Move.js +5 -4
- package/umd/Options/Classes/Particles/Move/MoveAngle.js +4 -4
- package/umd/Options/Classes/Particles/Move/MoveGravity.js +4 -4
- package/umd/Options/Classes/Particles/Move/Path/Path.js +2 -2
- package/umd/Options/Classes/Particles/Move/Spin.js +4 -3
- package/umd/Options/Classes/Particles/Opacity/Opacity.js +3 -3
- package/umd/Options/Classes/Particles/Orbit/Orbit.js +5 -5
- package/umd/Options/Classes/Particles/ParticlesOptions.js +2 -2
- package/umd/Options/Classes/Particles/Repulse/Repulse.js +6 -6
- package/umd/Options/Classes/Particles/Roll/Roll.js +3 -3
- package/umd/Options/Classes/Particles/Roll/RollLight.js +3 -3
- package/umd/Options/Classes/Particles/Rotate/RotateAnimation.js +3 -3
- package/umd/Options/Classes/Particles/Shape/Shape.js +2 -2
- package/umd/Options/Classes/Particles/Size/Size.js +3 -3
- package/umd/Options/Classes/Particles/Tilt/TiltAnimation.js +3 -3
- package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.js +3 -3
- package/umd/Options/Classes/Particles/Wobble/Wobble.js +4 -4
- package/umd/Options/Classes/Responsive.js +2 -2
- package/umd/Options/Classes/Theme/Theme.js +2 -2
- package/umd/Options/Classes/ValueWithRandom.js +3 -3
- package/umd/Options/Interfaces/Particles/Shape/IShapeValues.js +5 -1
- package/umd/Plugins/Absorbers/AbsorberInstance.js +25 -29
- package/umd/Plugins/Absorbers/Absorbers.js +4 -7
- package/umd/Plugins/Absorbers/Options/Classes/Absorber.js +4 -4
- package/umd/Plugins/Absorbers/index.js +23 -10
- package/umd/Plugins/Emitters/EmitterInstance.js +23 -28
- package/umd/Plugins/Emitters/Emitters.js +4 -7
- package/umd/Plugins/Emitters/Options/Classes/Emitter.js +5 -4
- package/umd/Plugins/Emitters/Options/Classes/EmitterRate.js +4 -4
- package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.js +2 -7
- package/umd/Plugins/Emitters/index.js +10 -3
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.js +2 -2
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +3 -3
- package/umd/Plugins/PolygonMask/PolygonMaskInstance.js +27 -50
- package/umd/Plugins/PolygonMask/Utils.js +11 -18
- package/umd/Plugins/PolygonMask/index.js +15 -4
- package/umd/Shapes/Image/ImageDrawer.js +20 -20
- package/umd/Shapes/Image/Utils.js +3 -3
- package/umd/Shapes/Text/TextDrawer.js +2 -2
- package/umd/Updaters/Angle/AngleUpdater.js +4 -4
- package/umd/Updaters/Color/ColorUpdater.js +6 -5
- package/umd/Updaters/Life/LifeUpdater.js +7 -7
- package/umd/Updaters/Opacity/OpacityUpdater.js +11 -11
- package/umd/Updaters/OutModes/OutOfCanvasUpdater.js +2 -2
- package/umd/Updaters/OutModes/Utils.js +4 -4
- package/umd/Updaters/Roll/RollUpdater.js +8 -7
- package/umd/Updaters/Size/SizeUpdater.js +3 -3
- package/umd/Updaters/StrokeColor/StrokeColorUpdater.js +7 -5
- package/umd/Updaters/Tilt/TiltUpdater.js +4 -4
- package/umd/Updaters/Twinkle/TwinkleUpdater.js +31 -0
- package/umd/Updaters/Twinkle/index.js +18 -0
- package/umd/Updaters/Wobble/WobbleUpdater.js +4 -4
- package/umd/Utils/CanvasUtils.js +26 -57
- package/umd/Utils/ColorUtils.js +18 -34
- package/umd/Utils/NumberUtils.js +57 -11
- package/umd/Utils/Utils.js +32 -49
- package/umd/engine.js +9 -4
- package/umd/full.js +4 -2
- package/umd/index.engine.js +99 -7
- package/umd/index.js +111 -11
- package/umd/index.slim.js +98 -7
- package/umd/slim.js +11 -1
- package/Core/Canvas.d.ts +0 -35
- package/Core/Canvas.js +0 -319
- package/Core/Container.d.ts +0 -68
- package/Core/Container.js +0 -395
- package/Core/Interfaces/Colors.d.ts +0 -33
- package/Core/Interfaces/Gradients.d.ts +0 -21
- package/Core/Interfaces/IAttract.d.ts +0 -7
- package/Core/Interfaces/IBubble.d.ts +0 -4
- package/Core/Interfaces/ICircleBouncer.d.ts +0 -9
- package/Core/Interfaces/IContainerPlugin.d.ts +0 -32
- package/Core/Interfaces/ICoordinates.d.ts +0 -15
- package/Core/Interfaces/IExternalInteractor.d.ts +0 -6
- package/Core/Interfaces/IInteractor.d.ts +0 -6
- package/Core/Interfaces/IMovePathGenerator.d.ts +0 -8
- package/Core/Interfaces/IParticle.d.ts +0 -55
- package/Core/Interfaces/IParticleGradientAnimation.d.ts +0 -8
- package/Core/Interfaces/IParticleGradientColorAnimation.d.ts +0 -7
- package/Core/Interfaces/IParticleRoll.d.ts +0 -9
- package/Core/Interfaces/IParticleSpin.d.ts +0 -9
- package/Core/Interfaces/IParticleUpdater.d.ts +0 -9
- package/Core/Interfaces/IParticleValueAnimation.d.ts +0 -17
- package/Core/Interfaces/IPlugin.d.ts +0 -11
- package/Core/Interfaces/IRepulse.d.ts +0 -7
- package/Core/Interfaces/IShapeDrawer.d.ts +0 -10
- package/Core/Interfaces/IShapeValues.d.ts +0 -8
- package/Core/Interfaces/index.d.ts +0 -37
- package/Core/Interfaces/index.js +0 -49
- package/Core/Loader.d.ts +0 -32
- package/Core/Loader.js +0 -183
- package/Core/Particle.d.ts +0 -73
- package/Core/Particle.js +0 -386
- package/Core/Particles.d.ts +0 -46
- package/Core/Particles.js +0 -322
- package/Core/Retina.d.ts +0 -26
- package/Core/Retina.js +0 -97
- package/Core/Utils/Circle.d.ts +0 -8
- package/Core/Utils/Circle.js +0 -42
- package/Core/Utils/CircleWarp.d.ts +0 -9
- package/Core/Utils/CircleWarp.js +0 -60
- package/Core/Utils/EventListeners.js +0 -373
- package/Core/Utils/ExternalInteractorBase.d.ts +0 -12
- package/Core/Utils/FrameManager.js +0 -43
- package/Core/Utils/InteractionManager.d.ts +0 -14
- package/Core/Utils/InteractionManager.js +0 -59
- package/Core/Utils/ParticlesInteractorBase.d.ts +0 -12
- package/Core/Utils/ParticlesMover.d.ts +0 -13
- package/Core/Utils/ParticlesMover.js +0 -186
- package/Core/Utils/Plugins.d.ts +0 -36
- package/Core/Utils/Plugins.js +0 -98
- package/Core/Utils/Point.d.ts +0 -7
- package/Core/Utils/QuadTree.d.ts +0 -23
- package/Core/Utils/QuadTree.js +0 -78
- package/Core/Utils/Range.d.ts +0 -7
- package/Core/Utils/Rectangle.d.ts +0 -8
- package/Core/Utils/Rectangle.js +0 -38
- package/Core/Utils/Vector.d.ts +0 -29
- package/Core/Utils/Vector.js +0 -96
- package/Core/Utils/Vector3d.d.ts +0 -18
- package/Core/Utils/Vector3d.js +0 -58
- package/Core/Utils/index.d.ts +0 -16
- package/Core/Utils/index.js +0 -28
- package/Core/index.d.ts +0 -8
- package/Core/index.js +0 -20
- package/Enums/Directions/index.d.ts +0 -4
- package/Enums/Directions/index.js +0 -16
- package/Enums/Modes/index.d.ts +0 -10
- package/Enums/Modes/index.js +0 -22
- package/Enums/Types/OrbitType.d.ts +0 -4
- package/Enums/Types/OrbitType.js +0 -2
- package/Enums/Types/index.d.ts +0 -9
- package/Enums/Types/index.js +0 -21
- package/Enums/index.d.ts +0 -5
- package/Enums/index.js +0 -17
- package/Interactions/External/Attract/Attractor.d.ts +0 -11
- package/Interactions/External/Attract/Attractor.js +0 -75
- package/Interactions/External/Bounce/Bouncer.d.ts +0 -11
- package/Interactions/External/Bounce/Bouncer.js +0 -67
- package/Interactions/External/Bubble/Bubbler.d.ts +0 -16
- package/Interactions/External/Bubble/Bubbler.js +0 -251
- package/Interactions/External/Connect/Connector.d.ts +0 -8
- package/Interactions/External/Connect/Connector.js +0 -41
- package/Interactions/External/Grab/Grabber.d.ts +0 -8
- package/Interactions/External/Grab/Grabber.js +0 -47
- package/Interactions/External/Repulse/Repulser.d.ts +0 -12
- package/Interactions/External/Repulse/Repulser.js +0 -98
- package/Interactions/External/Trail/TrailMaker.d.ts +0 -10
- package/Interactions/External/Trail/TrailMaker.js +0 -53
- package/Interactions/Particles/Attract/Attractor.d.ts +0 -8
- package/Interactions/Particles/Attract/Attractor.js +0 -30
- package/Interactions/Particles/Collisions/Collider.d.ts +0 -10
- package/Interactions/Particles/Collisions/Collider.js +0 -109
- package/Interactions/Particles/Links/LinkInstance.d.ts +0 -10
- package/Interactions/Particles/Links/LinkInstance.js +0 -124
- package/Interactions/Particles/Links/LinkParticle.d.ts +0 -5
- package/Interactions/Particles/Links/Linker.d.ts +0 -10
- package/Interactions/Particles/Links/Linker.js +0 -105
- package/Options/Classes/AnimatableColor.d.ts +0 -11
- package/Options/Classes/AnimatableGradient.d.ts +0 -53
- package/Options/Classes/AnimatableGradient.js +0 -146
- package/Options/Classes/AnimationOptions.d.ts +0 -11
- package/Options/Classes/AnimationOptions.js +0 -30
- package/Options/Classes/Background/Background.d.ts +0 -14
- package/Options/Classes/BackgroundMask/BackgroundMask.d.ts +0 -11
- package/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +0 -10
- package/Options/Classes/ColorAnimation.d.ts +0 -12
- package/Options/Classes/ColorAnimation.js +0 -34
- package/Options/Classes/FullScreen/FullScreen.d.ts +0 -9
- package/Options/Classes/HslAnimation.d.ts +0 -11
- package/Options/Classes/Interactivity/Events/ClickEvent.d.ts +0 -10
- package/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -18
- package/Options/Classes/Interactivity/Events/Events.d.ts +0 -20
- package/Options/Classes/Interactivity/Events/HoverEvent.d.ts +0 -12
- package/Options/Classes/Interactivity/Events/Parallax.d.ts +0 -10
- package/Options/Classes/Interactivity/Interactivity.d.ts +0 -15
- package/Options/Classes/Interactivity/Modes/Attract.d.ts +0 -14
- package/Options/Classes/Interactivity/Modes/Bounce.d.ts +0 -8
- package/Options/Classes/Interactivity/Modes/Bubble.d.ts +0 -9
- package/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +0 -13
- package/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +0 -11
- package/Options/Classes/Interactivity/Modes/Connect.d.ts +0 -15
- package/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +0 -8
- package/Options/Classes/Interactivity/Modes/Grab.d.ts +0 -14
- package/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +0 -12
- package/Options/Classes/Interactivity/Modes/Light.d.ts +0 -11
- package/Options/Classes/Interactivity/Modes/LightArea.d.ts +0 -10
- package/Options/Classes/Interactivity/Modes/LightGradient.d.ts +0 -10
- package/Options/Classes/Interactivity/Modes/LightShadow.d.ts +0 -10
- package/Options/Classes/Interactivity/Modes/Modes.d.ts +0 -29
- package/Options/Classes/Interactivity/Modes/Push.d.ts +0 -12
- package/Options/Classes/Interactivity/Modes/Remove.d.ts +0 -10
- package/Options/Classes/Interactivity/Modes/Repulse.d.ts +0 -9
- package/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +0 -14
- package/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +0 -11
- package/Options/Classes/Interactivity/Modes/Slow.d.ts +0 -11
- package/Options/Classes/Interactivity/Modes/Trail.d.ts +0 -12
- package/Options/Classes/Interactivity/Modes/Trail.js +0 -29
- package/Options/Classes/ManualParticle.d.ts +0 -10
- package/Options/Classes/ManualParticle.js +0 -22
- package/Options/Classes/Motion/Motion.d.ts +0 -10
- package/Options/Classes/Motion/MotionReduce.d.ts +0 -9
- package/Options/Classes/Options.d.ts +0 -48
- package/Options/Classes/Options.js +0 -174
- package/Options/Classes/OptionsColor.d.ts +0 -10
- package/Options/Classes/Particles/Bounce/Bounce.d.ts +0 -10
- package/Options/Classes/Particles/Collisions/Collisions.d.ts +0 -14
- package/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +0 -9
- package/Options/Classes/Particles/Destroy/Destroy.d.ts +0 -11
- package/Options/Classes/Particles/Destroy/Split.d.ts +0 -15
- package/Options/Classes/Particles/Destroy/Split.js +0 -31
- package/Options/Classes/Particles/Life/Life.d.ts +0 -12
- package/Options/Classes/Particles/Life/LifeDelay.d.ts +0 -9
- package/Options/Classes/Particles/Life/LifeDuration.d.ts +0 -9
- package/Options/Classes/Particles/Links/Links.d.ts +0 -22
- package/Options/Classes/Particles/Links/LinksShadow.d.ts +0 -11
- package/Options/Classes/Particles/Links/LinksTriangle.d.ts +0 -12
- package/Options/Classes/Particles/Move/Attract.d.ts +0 -15
- package/Options/Classes/Particles/Move/Attract.js +0 -47
- package/Options/Classes/Particles/Move/Move.d.ts +0 -44
- package/Options/Classes/Particles/Move/Move.js +0 -132
- package/Options/Classes/Particles/Move/MoveAngle.d.ts +0 -9
- package/Options/Classes/Particles/Move/MoveAngle.js +0 -22
- package/Options/Classes/Particles/Move/MoveGravity.d.ts +0 -11
- package/Options/Classes/Particles/Move/MoveGravity.js +0 -30
- package/Options/Classes/Particles/Move/OutModes.d.ts +0 -13
- package/Options/Classes/Particles/Move/Path/Path.d.ts +0 -13
- package/Options/Classes/Particles/Move/Path/Path.js +0 -30
- package/Options/Classes/Particles/Move/Spin.d.ts +0 -11
- package/Options/Classes/Particles/Move/Spin.js +0 -23
- package/Options/Classes/Particles/Move/Trail.d.ts +0 -11
- package/Options/Classes/Particles/Number/Density.d.ts +0 -12
- package/Options/Classes/Particles/Number/ParticlesNumber.d.ts +0 -13
- package/Options/Classes/Particles/Opacity/Opacity.d.ts +0 -12
- package/Options/Classes/Particles/Opacity/Opacity.js +0 -33
- package/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +0 -14
- package/Options/Classes/Particles/Orbit/Orbit.d.ts +0 -18
- package/Options/Classes/Particles/Orbit/Orbit.js +0 -39
- package/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +0 -7
- package/Options/Classes/Particles/ParticlesOptions.d.ts +0 -58
- package/Options/Classes/Particles/ParticlesOptions.js +0 -143
- package/Options/Classes/Particles/Repulse/Repulse.d.ts +0 -13
- package/Options/Classes/Particles/Repulse/Repulse.js +0 -37
- package/Options/Classes/Particles/Roll/Roll.d.ts +0 -16
- package/Options/Classes/Particles/Roll/Roll.js +0 -35
- package/Options/Classes/Particles/Roll/RollLight.d.ts +0 -9
- package/Options/Classes/Particles/Roll/RollLight.js +0 -22
- package/Options/Classes/Particles/Rotate/Rotate.d.ts +0 -13
- package/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +0 -10
- package/Options/Classes/Particles/Rotate/RotateAnimation.js +0 -26
- package/Options/Classes/Particles/Shadow.d.ts +0 -13
- package/Options/Classes/Particles/Shape/Shape.d.ts +0 -27
- package/Options/Classes/Particles/Shape/Shape.js +0 -103
- package/Options/Classes/Particles/Size/Size.d.ts +0 -12
- package/Options/Classes/Particles/Size/Size.js +0 -33
- package/Options/Classes/Particles/Size/SizeAnimation.d.ts +0 -14
- package/Options/Classes/Particles/Stroke.d.ts +0 -11
- package/Options/Classes/Particles/Tilt/Tilt.d.ts +0 -13
- package/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +0 -10
- package/Options/Classes/Particles/Tilt/TiltAnimation.js +0 -26
- package/Options/Classes/Particles/Twinkle/Twinkle.d.ts +0 -10
- package/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +0 -12
- package/Options/Classes/Particles/Twinkle/TwinkleValues.js +0 -30
- package/Options/Classes/Particles/Wobble/Wobble.d.ts +0 -10
- package/Options/Classes/Particles/Wobble/Wobble.js +0 -26
- package/Options/Classes/Particles/ZIndex/ZIndex.d.ts +0 -11
- package/Options/Classes/Random.d.ts +0 -9
- package/Options/Classes/Responsive.d.ts +0 -12
- package/Options/Classes/Responsive.js +0 -31
- package/Options/Classes/Theme/Theme.d.ts +0 -12
- package/Options/Classes/Theme/Theme.js +0 -24
- package/Options/Classes/Theme/ThemeDefault.d.ts +0 -11
- package/Options/Classes/ValueWithRandom.d.ts +0 -10
- package/Options/Classes/ValueWithRandom.js +0 -26
- package/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +0 -7
- package/Options/Interfaces/IAnimatableGradient.d.ts +0 -8
- package/Options/Interfaces/IAnimation.d.ts +0 -7
- package/Options/Interfaces/IColorAnimation.d.ts +0 -5
- package/Options/Interfaces/IManualParticle.d.ts +0 -7
- package/Options/Interfaces/IOptionLoader.d.ts +0 -4
- package/Options/Interfaces/IOptions.d.ts +0 -34
- package/Options/Interfaces/IOptionsColor.d.ts +0 -2
- package/Options/Interfaces/IOptionsGradient.d.ts +0 -13
- package/Options/Interfaces/IResponsive.d.ts +0 -8
- package/Options/Interfaces/IValueWithRandom.d.ts +0 -6
- package/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +0 -6
- package/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -11
- package/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -13
- package/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +0 -8
- package/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -9
- package/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +0 -9
- package/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +0 -6
- package/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +0 -10
- package/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -5
- package/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +0 -6
- package/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +0 -9
- package/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +0 -8
- package/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +0 -9
- package/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +0 -6
- package/Options/Interfaces/Particles/Destroy/ISplit.d.ts +0 -10
- package/Options/Interfaces/Particles/IParticles.d.ts +0 -52
- package/Options/Interfaces/Particles/IStroke.d.ts +0 -7
- package/Options/Interfaces/Particles/Move/IAttract.d.ts +0 -9
- package/Options/Interfaces/Particles/Move/IMove.d.ts +0 -35
- package/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +0 -5
- package/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +0 -7
- package/Options/Interfaces/Particles/Move/IOutModes.d.ts +0 -8
- package/Options/Interfaces/Particles/Move/ISpin.d.ts +0 -7
- package/Options/Interfaces/Particles/Move/Path/IPath.d.ts +0 -9
- package/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +0 -8
- package/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +0 -13
- package/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +0 -9
- package/Options/Interfaces/Particles/Roll/IRoll.d.ts +0 -12
- package/Options/Interfaces/Particles/Roll/IRollLight.d.ts +0 -5
- package/Options/Interfaces/Particles/Rotate/IRotate.d.ts +0 -8
- package/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +0 -6
- package/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +0 -8
- package/Options/Interfaces/Particles/Shape/IShape.d.ts +0 -16
- package/Options/Interfaces/Particles/Shape/IShapeValues.js +0 -13
- package/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +0 -8
- package/Options/Interfaces/Particles/Tilt/ITilt.d.ts +0 -8
- package/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +0 -6
- package/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +0 -8
- package/Options/Interfaces/Particles/Wobble/IWobble.d.ts +0 -6
- package/Options/Interfaces/Theme/ITheme.d.ts +0 -8
- package/Options/Interfaces/Theme/IThemeDefault.d.ts +0 -6
- package/Plugins/Absorbers/AbsorberContainer.d.ts +0 -7
- package/Plugins/Absorbers/AbsorberInstance.d.ts +0 -33
- package/Plugins/Absorbers/AbsorberInstance.js +0 -162
- package/Plugins/Absorbers/Absorbers.d.ts +0 -22
- package/Plugins/Absorbers/Absorbers.js +0 -118
- package/Plugins/Absorbers/Enums/index.d.ts +0 -1
- package/Plugins/Absorbers/Enums/index.js +0 -13
- package/Plugins/Absorbers/Options/Classes/Absorber.d.ts +0 -18
- package/Plugins/Absorbers/Options/Classes/Absorber.js +0 -51
- package/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +0 -11
- package/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +0 -9
- package/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +0 -13
- package/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +0 -12
- package/Plugins/Absorbers/index.d.ts +0 -2
- package/Plugins/Absorbers/index.js +0 -80
- package/Plugins/Emitters/EmitterContainer.d.ts +0 -10
- package/Plugins/Emitters/EmitterInstance.d.ts +0 -45
- package/Plugins/Emitters/EmitterInstance.js +0 -269
- package/Plugins/Emitters/Emitters.d.ts +0 -25
- package/Plugins/Emitters/Emitters.js +0 -153
- package/Plugins/Emitters/Enums/index.d.ts +0 -2
- package/Plugins/Emitters/Enums/index.js +0 -14
- package/Plugins/Emitters/IEmitterShape.d.ts +0 -4
- package/Plugins/Emitters/Options/Classes/Emitter.d.ts +0 -28
- package/Plugins/Emitters/Options/Classes/Emitter.js +0 -67
- package/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +0 -11
- package/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +0 -9
- package/Plugins/Emitters/Options/Classes/EmitterRate.js +0 -22
- package/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +0 -11
- package/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +0 -24
- package/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +0 -12
- package/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +0 -5
- package/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +0 -5
- package/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +0 -5
- package/Plugins/Emitters/Shapes/Circle/CircleShape.js +0 -32
- package/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +0 -5
- package/Plugins/Emitters/index.d.ts +0 -3
- package/Plugins/Emitters/index.js +0 -110
- package/Plugins/PolygonMask/Enums/index.d.ts +0 -3
- package/Plugins/PolygonMask/Enums/index.js +0 -15
- package/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +0 -24
- package/Plugins/PolygonMask/Options/Classes/PolygonMask.js +0 -66
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +0 -15
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +0 -11
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.js +0 -29
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +0 -9
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +0 -11
- package/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +0 -10
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +0 -18
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +0 -8
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +0 -6
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +0 -4
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +0 -6
- package/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +0 -5
- package/Plugins/PolygonMask/PolygonMaskInstance.d.ts +0 -38
- package/Plugins/PolygonMask/PolygonMaskInstance.js +0 -386
- package/Plugins/PolygonMask/Utils.d.ts +0 -11
- package/Plugins/PolygonMask/Utils.js +0 -124
- package/Plugins/PolygonMask/index.d.ts +0 -2
- package/Plugins/PolygonMask/index.js +0 -56
- package/Shapes/Circle/CircleDrawer.d.ts +0 -5
- package/Shapes/Image/ImageDrawer.d.ts +0 -18
- package/Shapes/Image/ImageDrawer.js +0 -132
- package/Shapes/Image/Utils.d.ts +0 -28
- package/Shapes/Image/Utils.js +0 -89
- package/Shapes/Line/LineDrawer.d.ts +0 -5
- package/Shapes/Polygon/PolygonDrawer.d.ts +0 -7
- package/Shapes/Polygon/PolygonDrawerBase.d.ts +0 -15
- package/Shapes/Polygon/TriangleDrawer.d.ts +0 -8
- package/Shapes/Square/SquareDrawer.d.ts +0 -5
- package/Shapes/Star/StarDrawer.d.ts +0 -5
- package/Shapes/Text/TextDrawer.d.ts +0 -7
- package/Shapes/Text/TextDrawer.js +0 -65
- package/Types/ShapeData.d.ts +0 -5
- package/Types/ShapeDrawerFunctions.d.ts +0 -11
- package/Types/index.d.ts +0 -6
- package/Types/index.js +0 -18
- package/Updaters/Angle/AngleUpdater.d.ts +0 -8
- package/Updaters/Angle/AngleUpdater.js +0 -79
- package/Updaters/Color/ColorUpdater.d.ts +0 -8
- package/Updaters/Color/ColorUpdater.js +0 -67
- package/Updaters/Life/LifeUpdater.d.ts +0 -8
- package/Updaters/Life/LifeUpdater.js +0 -67
- package/Updaters/Opacity/OpacityUpdater.d.ts +0 -8
- package/Updaters/Opacity/OpacityUpdater.js +0 -122
- package/Updaters/OutModes/IBounceData.d.ts +0 -11
- package/Updaters/OutModes/OutOfCanvasUpdater.d.ts +0 -13
- package/Updaters/OutModes/OutOfCanvasUpdater.js +0 -146
- package/Updaters/OutModes/Utils.js +0 -65
- package/Updaters/Roll/RollUpdater.d.ts +0 -6
- package/Updaters/Roll/RollUpdater.js +0 -63
- package/Updaters/Size/SizeUpdater.d.ts +0 -6
- package/Updaters/Size/SizeUpdater.js +0 -77
- package/Updaters/StrokeColor/StrokeColorUpdater.d.ts +0 -8
- package/Updaters/StrokeColor/StrokeColorUpdater.js +0 -84
- package/Updaters/Tilt/TiltUpdater.d.ts +0 -8
- package/Updaters/Tilt/TiltUpdater.js +0 -79
- package/Updaters/Wobble/WobbleUpdater.d.ts +0 -14
- package/Updaters/Wobble/WobbleUpdater.js +0 -51
- package/Utils/CanvasUtils.d.ts +0 -19
- package/Utils/CanvasUtils.js +0 -287
- package/Utils/ColorUtils.d.ts +0 -26
- package/Utils/ColorUtils.js +0 -476
- package/Utils/NumberUtils.d.ts +0 -23
- package/Utils/NumberUtils.js +0 -128
- package/Utils/Utils.d.ts +0 -38
- package/Utils/Utils.js +0 -269
- package/Utils/index.d.ts +0 -4
- package/Utils/index.js +0 -16
- package/browser/Core/Canvas.d.ts +0 -64
- package/browser/Core/Container.d.ts +0 -163
- package/browser/Core/Interfaces/Colors.d.ts +0 -56
- package/browser/Core/Interfaces/Gradients.d.ts +0 -21
- package/browser/Core/Interfaces/IAttract.d.ts +0 -10
- package/browser/Core/Interfaces/IBounds.d.ts +0 -9
- package/browser/Core/Interfaces/IBubble.d.ts +0 -7
- package/browser/Core/Interfaces/IBubbleParticleData.d.ts +0 -12
- package/browser/Core/Interfaces/ICircleBouncer.d.ts +0 -9
- package/browser/Core/Interfaces/IContainerInteractivity.d.ts +0 -9
- package/browser/Core/Interfaces/IContainerPlugin.d.ts +0 -35
- package/browser/Core/Interfaces/ICoordinates.d.ts +0 -18
- package/browser/Core/Interfaces/IDelta.d.ts +0 -7
- package/browser/Core/Interfaces/IDimension.d.ts +0 -7
- package/browser/Core/Interfaces/IDistance.d.ts +0 -4
- package/browser/Core/Interfaces/IExternalInteractor.d.ts +0 -9
- package/browser/Core/Interfaces/IInteractor.d.ts +0 -9
- package/browser/Core/Interfaces/IMouseData.d.ts +0 -12
- package/browser/Core/Interfaces/IMovePathGenerator.d.ts +0 -11
- package/browser/Core/Interfaces/IParticle.d.ts +0 -58
- package/browser/Core/Interfaces/IParticleGradientAnimation.d.ts +0 -8
- package/browser/Core/Interfaces/IParticleGradientColorAnimation.d.ts +0 -7
- package/browser/Core/Interfaces/IParticleGravity.d.ts +0 -5
- package/browser/Core/Interfaces/IParticleHslAnimation.d.ts +0 -6
- package/browser/Core/Interfaces/IParticleLife.d.ts +0 -7
- package/browser/Core/Interfaces/IParticleLoops.d.ts +0 -4
- package/browser/Core/Interfaces/IParticleRetinaProps.d.ts +0 -12
- package/browser/Core/Interfaces/IParticleRoll.d.ts +0 -9
- package/browser/Core/Interfaces/IParticleSpin.d.ts +0 -9
- package/browser/Core/Interfaces/IParticleUpdater.d.ts +0 -9
- package/browser/Core/Interfaces/IParticleValueAnimation.d.ts +0 -20
- package/browser/Core/Interfaces/IParticleWobble.d.ts +0 -4
- package/browser/Core/Interfaces/IParticlesFrequencies.d.ts +0 -4
- package/browser/Core/Interfaces/IParticlesInteractor.d.ts +0 -10
- package/browser/Core/Interfaces/IPlugin.d.ts +0 -19
- package/browser/Core/Interfaces/IRangeValue.d.ts +0 -4
- package/browser/Core/Interfaces/IRectSideResult.d.ts +0 -5
- package/browser/Core/Interfaces/IRepulse.d.ts +0 -10
- package/browser/Core/Interfaces/IShapeDrawer.d.ts +0 -13
- package/browser/Core/Interfaces/IShapeValues.d.ts +0 -11
- package/browser/Core/Interfaces/index.d.ts +0 -37
- package/browser/Core/Interfaces/index.js +0 -37
- package/browser/Core/Loader.d.ts +0 -77
- package/browser/Core/Particle.d.ts +0 -80
- package/browser/Core/Particles.d.ts +0 -59
- package/browser/Core/Retina.d.ts +0 -32
- package/browser/Core/Utils/Circle.d.ts +0 -11
- package/browser/Core/Utils/CircleWarp.d.ts +0 -12
- package/browser/Core/Utils/Constants.d.ts +0 -22
- package/browser/Core/Utils/EventListeners.d.ts +0 -65
- package/browser/Core/Utils/ExternalInteractorBase.d.ts +0 -12
- package/browser/Core/Utils/FrameManager.d.ts +0 -14
- package/browser/Core/Utils/InteractionManager.d.ts +0 -17
- package/browser/Core/Utils/ParticlesInteractorBase.d.ts +0 -12
- package/browser/Core/Utils/ParticlesMover.d.ts +0 -16
- package/browser/Core/Utils/ParticlesMover.js +0 -187
- package/browser/Core/Utils/Plugins.d.ts +0 -39
- package/browser/Core/Utils/Point.d.ts +0 -10
- package/browser/Core/Utils/QuadTree.d.ts +0 -26
- package/browser/Core/Utils/Range.d.ts +0 -10
- package/browser/Core/Utils/Rectangle.d.ts +0 -11
- package/browser/Core/Utils/Vector.d.ts +0 -29
- package/browser/Core/Utils/Vector3d.d.ts +0 -18
- package/browser/Core/Utils/index.d.ts +0 -16
- package/browser/Core/Utils/index.js +0 -16
- package/browser/Core/index.d.ts +0 -8
- package/browser/Core/index.js +0 -8
- package/browser/Enums/AnimationStatus.d.ts +0 -4
- package/browser/Enums/Directions/MoveDirection.d.ts +0 -15
- package/browser/Enums/Directions/OutModeDirection.d.ts +0 -6
- package/browser/Enums/Directions/RotateDirection.d.ts +0 -9
- package/browser/Enums/Directions/TiltDirection.d.ts +0 -9
- package/browser/Enums/Directions/index.d.ts +0 -4
- package/browser/Enums/Directions/index.js +0 -4
- package/browser/Enums/InteractivityDetect.d.ts +0 -8
- package/browser/Enums/Modes/ClickMode.d.ts +0 -12
- package/browser/Enums/Modes/CollisionMode.d.ts +0 -8
- package/browser/Enums/Modes/DestroyMode.d.ts +0 -4
- package/browser/Enums/Modes/DivMode.d.ts +0 -8
- package/browser/Enums/Modes/HoverMode.d.ts +0 -14
- package/browser/Enums/Modes/OutMode.d.ts +0 -13
- package/browser/Enums/Modes/ResponsiveMode.d.ts +0 -4
- package/browser/Enums/Modes/RollMode.d.ts +0 -5
- package/browser/Enums/Modes/SizeMode.d.ts +0 -7
- package/browser/Enums/Modes/ThemeMode.d.ts +0 -5
- package/browser/Enums/Modes/index.d.ts +0 -10
- package/browser/Enums/Modes/index.js +0 -10
- package/browser/Enums/Types/AlterType.d.ts +0 -4
- package/browser/Enums/Types/DestroyType.d.ts +0 -8
- package/browser/Enums/Types/DivType.d.ts +0 -7
- package/browser/Enums/Types/EasingType.d.ts +0 -10
- package/browser/Enums/Types/GradientType.d.ts +0 -5
- package/browser/Enums/Types/InteractorType.d.ts +0 -4
- package/browser/Enums/Types/OrbitType.d.ts +0 -7
- package/browser/Enums/Types/ShapeType.d.ts +0 -16
- package/browser/Enums/Types/StartValueType.d.ts +0 -8
- package/browser/Enums/Types/index.d.ts +0 -9
- package/browser/Enums/Types/index.js +0 -9
- package/browser/Enums/index.d.ts +0 -5
- package/browser/Enums/index.js +0 -5
- package/browser/Interactions/External/Attract/Attractor.d.ts +0 -15
- package/browser/Interactions/External/Attract/index.d.ts +0 -2
- package/browser/Interactions/External/Bounce/Bouncer.d.ts +0 -11
- package/browser/Interactions/External/Bounce/index.d.ts +0 -2
- package/browser/Interactions/External/Bubble/Bubbler.d.ts +0 -20
- package/browser/Interactions/External/Bubble/IBubblerProcessParam.d.ts +0 -16
- package/browser/Interactions/External/Bubble/ProcessBubbleType.d.ts +0 -8
- package/browser/Interactions/External/Bubble/index.d.ts +0 -2
- package/browser/Interactions/External/Connect/Connector.d.ts +0 -15
- package/browser/Interactions/External/Connect/index.d.ts +0 -2
- package/browser/Interactions/External/Grab/Grabber.d.ts +0 -12
- package/browser/Interactions/External/Grab/index.d.ts +0 -2
- package/browser/Interactions/External/Repulse/Repulser.d.ts +0 -16
- package/browser/Interactions/External/Repulse/index.d.ts +0 -2
- package/browser/Interactions/External/Trail/TrailMaker.d.ts +0 -13
- package/browser/Interactions/External/Trail/index.d.ts +0 -2
- package/browser/Interactions/Particles/Attract/Attractor.d.ts +0 -11
- package/browser/Interactions/Particles/Attract/index.d.ts +0 -2
- package/browser/Interactions/Particles/Collisions/Collider.d.ts +0 -13
- package/browser/Interactions/Particles/Collisions/index.d.ts +0 -2
- package/browser/Interactions/Particles/Links/ILink.d.ts +0 -15
- package/browser/Interactions/Particles/Links/LinkInstance.d.ts +0 -10
- package/browser/Interactions/Particles/Links/LinkParticle.d.ts +0 -5
- package/browser/Interactions/Particles/Links/Linker.d.ts +0 -10
- package/browser/Interactions/Particles/Links/index.d.ts +0 -2
- package/browser/Interactions/Particles/Links/interaction.d.ts +0 -2
- package/browser/Interactions/Particles/Links/plugin.d.ts +0 -2
- package/browser/Options/Classes/AnimatableColor.d.ts +0 -15
- package/browser/Options/Classes/AnimatableGradient.d.ts +0 -53
- package/browser/Options/Classes/AnimationOptions.d.ts +0 -11
- package/browser/Options/Classes/Background/Background.d.ts +0 -18
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.d.ts +0 -25
- package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +0 -13
- package/browser/Options/Classes/ColorAnimation.d.ts +0 -15
- package/browser/Options/Classes/FullScreen/FullScreen.d.ts +0 -25
- package/browser/Options/Classes/HslAnimation.d.ts +0 -11
- package/browser/Options/Classes/Interactivity/Events/ClickEvent.d.ts +0 -20
- package/browser/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -55
- package/browser/Options/Classes/Interactivity/Events/Events.d.ts +0 -51
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.d.ts +0 -16
- package/browser/Options/Classes/Interactivity/Events/Parallax.d.ts +0 -13
- package/browser/Options/Classes/Interactivity/Interactivity.d.ts +0 -28
- package/browser/Options/Classes/Interactivity/Modes/Attract.d.ts +0 -17
- package/browser/Options/Classes/Interactivity/Modes/Bounce.d.ts +0 -8
- package/browser/Options/Classes/Interactivity/Modes/Bubble.d.ts +0 -12
- package/browser/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +0 -16
- package/browser/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +0 -20
- package/browser/Options/Classes/Interactivity/Modes/Connect.d.ts +0 -36
- package/browser/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +0 -11
- package/browser/Options/Classes/Interactivity/Modes/Grab.d.ts +0 -35
- package/browser/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +0 -15
- package/browser/Options/Classes/Interactivity/Modes/Light.d.ts +0 -11
- package/browser/Options/Classes/Interactivity/Modes/LightArea.d.ts +0 -10
- package/browser/Options/Classes/Interactivity/Modes/LightGradient.d.ts +0 -10
- package/browser/Options/Classes/Interactivity/Modes/LightShadow.d.ts +0 -10
- package/browser/Options/Classes/Interactivity/Modes/Modes.d.ts +0 -33
- package/browser/Options/Classes/Interactivity/Modes/Push.d.ts +0 -24
- package/browser/Options/Classes/Interactivity/Modes/Remove.d.ts +0 -22
- package/browser/Options/Classes/Interactivity/Modes/Repulse.d.ts +0 -12
- package/browser/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +0 -17
- package/browser/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +0 -20
- package/browser/Options/Classes/Interactivity/Modes/Slow.d.ts +0 -20
- package/browser/Options/Classes/Interactivity/Modes/Trail.d.ts +0 -15
- package/browser/Options/Classes/ManualParticle.d.ts +0 -10
- package/browser/Options/Classes/Motion/Motion.d.ts +0 -21
- package/browser/Options/Classes/Motion/MotionReduce.d.ts +0 -18
- package/browser/Options/Classes/Options.d.ts +0 -78
- package/browser/Options/Classes/OptionsColor.d.ts +0 -14
- package/browser/Options/Classes/Particles/Bounce/Bounce.d.ts +0 -10
- package/browser/Options/Classes/Particles/Bounce/BounceFactor.d.ts +0 -4
- package/browser/Options/Classes/Particles/Collisions/Collisions.d.ts +0 -18
- package/browser/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +0 -9
- package/browser/Options/Classes/Particles/Destroy/Destroy.d.ts +0 -11
- package/browser/Options/Classes/Particles/Destroy/Split.d.ts +0 -15
- package/browser/Options/Classes/Particles/Destroy/SplitFactor.d.ts +0 -4
- package/browser/Options/Classes/Particles/Destroy/SplitRate.d.ts +0 -4
- package/browser/Options/Classes/Particles/Life/Life.d.ts +0 -12
- package/browser/Options/Classes/Particles/Life/LifeDelay.d.ts +0 -9
- package/browser/Options/Classes/Particles/Life/LifeDuration.d.ts +0 -9
- package/browser/Options/Classes/Particles/Links/Links.d.ts +0 -26
- package/browser/Options/Classes/Particles/Links/LinksShadow.d.ts +0 -14
- package/browser/Options/Classes/Particles/Links/LinksTriangle.d.ts +0 -15
- package/browser/Options/Classes/Particles/Move/Attract.d.ts +0 -36
- package/browser/Options/Classes/Particles/Move/Move.d.ts +0 -86
- package/browser/Options/Classes/Particles/Move/MoveAngle.d.ts +0 -12
- package/browser/Options/Classes/Particles/Move/MoveGravity.d.ts +0 -11
- package/browser/Options/Classes/Particles/Move/OutModes.d.ts +0 -13
- package/browser/Options/Classes/Particles/Move/Path/Path.d.ts +0 -16
- package/browser/Options/Classes/Particles/Move/Path/PathDelay.d.ts +0 -4
- package/browser/Options/Classes/Particles/Move/Spin.d.ts +0 -11
- package/browser/Options/Classes/Particles/Move/Trail.d.ts +0 -14
- package/browser/Options/Classes/Particles/Number/Density.d.ts +0 -24
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.d.ts +0 -23
- package/browser/Options/Classes/Particles/Opacity/Opacity.d.ts +0 -25
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +0 -29
- package/browser/Options/Classes/Particles/Orbit/Orbit.d.ts +0 -22
- package/browser/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +0 -10
- package/browser/Options/Classes/Particles/ParticlesOptions.d.ts +0 -80
- package/browser/Options/Classes/Particles/Repulse/Repulse.d.ts +0 -16
- package/browser/Options/Classes/Particles/Roll/Roll.d.ts +0 -16
- package/browser/Options/Classes/Particles/Roll/RollLight.d.ts +0 -9
- package/browser/Options/Classes/Particles/Rotate/Rotate.d.ts +0 -17
- package/browser/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +0 -13
- package/browser/Options/Classes/Particles/Shadow.d.ts +0 -17
- package/browser/Options/Classes/Particles/Shape/Shape.d.ts +0 -69
- package/browser/Options/Classes/Particles/Size/Size.d.ts +0 -25
- package/browser/Options/Classes/Particles/Size/SizeAnimation.d.ts +0 -29
- package/browser/Options/Classes/Particles/Stroke.d.ts +0 -15
- package/browser/Options/Classes/Particles/Tilt/Tilt.d.ts +0 -17
- package/browser/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +0 -13
- package/browser/Options/Classes/Particles/Twinkle/Twinkle.d.ts +0 -14
- package/browser/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +0 -15
- package/browser/Options/Classes/Particles/Wobble/Wobble.d.ts +0 -10
- package/browser/Options/Classes/Particles/ZIndex/ZIndex.d.ts +0 -14
- package/browser/Options/Classes/Random.d.ts +0 -9
- package/browser/Options/Classes/Responsive.d.ts +0 -12
- package/browser/Options/Classes/Theme/Theme.d.ts +0 -12
- package/browser/Options/Classes/Theme/ThemeDefault.d.ts +0 -11
- package/browser/Options/Classes/ValueWithRandom.d.ts +0 -13
- package/browser/Options/Interfaces/Background/IBackground.d.ts +0 -44
- package/browser/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +0 -28
- package/browser/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +0 -15
- package/browser/Options/Interfaces/FullScreen/IFullScreen.d.ts +0 -20
- package/browser/Options/Interfaces/IAnimatable.d.ts +0 -4
- package/browser/Options/Interfaces/IAnimatableColor.d.ts +0 -14
- package/browser/Options/Interfaces/IAnimatableGradient.d.ts +0 -8
- package/browser/Options/Interfaces/IAnimation.d.ts +0 -17
- package/browser/Options/Interfaces/IColorAnimation.d.ts +0 -12
- package/browser/Options/Interfaces/IHslAnimation.d.ts +0 -6
- package/browser/Options/Interfaces/IManualParticle.d.ts +0 -18
- package/browser/Options/Interfaces/IOptionLoader.d.ts +0 -13
- package/browser/Options/Interfaces/IOptions.d.ts +0 -105
- package/browser/Options/Interfaces/IOptionsColor.d.ts +0 -7
- package/browser/Options/Interfaces/IOptionsGradient.d.ts +0 -13
- package/browser/Options/Interfaces/IRandom.d.ts +0 -4
- package/browser/Options/Interfaces/IResponsive.d.ts +0 -8
- package/browser/Options/Interfaces/IValueWithRandom.d.ts +0 -9
- package/browser/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +0 -18
- package/browser/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -24
- package/browser/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -26
- package/browser/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +0 -12
- package/browser/Options/Interfaces/Interactivity/Events/IParallax.d.ts +0 -8
- package/browser/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -29
- package/browser/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +0 -12
- package/browser/Options/Interfaces/Interactivity/Modes/IBounce.d.ts +0 -3
- package/browser/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +0 -9
- package/browser/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +0 -13
- package/browser/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +0 -7
- package/browser/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +0 -17
- package/browser/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +0 -6
- package/browser/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +0 -16
- package/browser/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +0 -10
- package/browser/Options/Interfaces/Interactivity/Modes/ILight.d.ts +0 -6
- package/browser/Options/Interfaces/Interactivity/Modes/ILightArea.d.ts +0 -9
- package/browser/Options/Interfaces/Interactivity/Modes/ILightShadow.d.ts +0 -5
- package/browser/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -11
- package/browser/Options/Interfaces/Interactivity/Modes/IModes.d.ts +0 -26
- package/browser/Options/Interfaces/Interactivity/Modes/IPush.d.ts +0 -12
- package/browser/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +0 -10
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +0 -9
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +0 -12
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +0 -7
- package/browser/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +0 -11
- package/browser/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +0 -11
- package/browser/Options/Interfaces/Motion/IMotion.d.ts +0 -16
- package/browser/Options/Interfaces/Motion/IMotionReduce.d.ts +0 -13
- package/browser/Options/Interfaces/Particles/Bounce/IBounce.d.ts +0 -5
- package/browser/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +0 -13
- package/browser/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +0 -4
- package/browser/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +0 -10
- package/browser/Options/Interfaces/Particles/Destroy/ISplit.d.ts +0 -10
- package/browser/Options/Interfaces/Particles/IParticles.d.ts +0 -62
- package/browser/Options/Interfaces/Particles/IShadow.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/IStroke.d.ts +0 -21
- package/browser/Options/Interfaces/Particles/Life/ILife.d.ts +0 -7
- package/browser/Options/Interfaces/Particles/Life/ILifeDelay.d.ts +0 -4
- package/browser/Options/Interfaces/Particles/Life/ILifeDuration.d.ts +0 -4
- package/browser/Options/Interfaces/Particles/Links/ILinks.d.ts +0 -60
- package/browser/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +0 -9
- package/browser/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +0 -10
- package/browser/Options/Interfaces/Particles/Move/IAttract.d.ts +0 -18
- package/browser/Options/Interfaces/Particles/Move/IMove.d.ts +0 -54
- package/browser/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +0 -8
- package/browser/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +0 -7
- package/browser/Options/Interfaces/Particles/Move/IOutModes.d.ts +0 -8
- package/browser/Options/Interfaces/Particles/Move/ISpin.d.ts +0 -7
- package/browser/Options/Interfaces/Particles/Move/ITrail.d.ts +0 -9
- package/browser/Options/Interfaces/Particles/Move/Path/IPath.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Number/IDensity.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +0 -14
- package/browser/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +0 -13
- package/browser/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +0 -17
- package/browser/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +0 -20
- package/browser/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +0 -13
- package/browser/Options/Interfaces/Particles/Roll/IRoll.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Roll/IRollLight.d.ts +0 -5
- package/browser/Options/Interfaces/Particles/Rotate/IRotate.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +0 -9
- package/browser/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +0 -11
- package/browser/Options/Interfaces/Particles/Shape/IImageShape.d.ts +0 -14
- package/browser/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +0 -11
- package/browser/Options/Interfaces/Particles/Shape/IShape.d.ts +0 -38
- package/browser/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +0 -1
- package/browser/Options/Interfaces/Particles/Shape/IStarShape.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Size/ISize.d.ts +0 -13
- package/browser/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +0 -17
- package/browser/Options/Interfaces/Particles/Tilt/ITilt.d.ts +0 -12
- package/browser/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +0 -9
- package/browser/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +0 -9
- package/browser/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +0 -11
- package/browser/Options/Interfaces/Particles/Wobble/IWobble.d.ts +0 -6
- package/browser/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +0 -10
- package/browser/Options/Interfaces/Theme/ITheme.d.ts +0 -22
- package/browser/Options/Interfaces/Theme/IThemeDefault.d.ts +0 -22
- package/browser/Plugins/Absorbers/AbsorberContainer.d.ts +0 -7
- package/browser/Plugins/Absorbers/AbsorberInstance.d.ts +0 -36
- package/browser/Plugins/Absorbers/Absorbers.d.ts +0 -25
- package/browser/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +0 -6
- package/browser/Plugins/Absorbers/Enums/index.d.ts +0 -1
- package/browser/Plugins/Absorbers/Enums/index.js +0 -1
- package/browser/Plugins/Absorbers/Options/Classes/Absorber.d.ts +0 -22
- package/browser/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +0 -11
- package/browser/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +0 -9
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +0 -42
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +0 -15
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +0 -6
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +0 -4
- package/browser/Plugins/Absorbers/index.d.ts +0 -2
- package/browser/Plugins/Emitters/EmitterContainer.d.ts +0 -10
- package/browser/Plugins/Emitters/EmitterInstance.d.ts +0 -48
- package/browser/Plugins/Emitters/Emitters.d.ts +0 -28
- package/browser/Plugins/Emitters/EmittersEngine.d.ts +0 -7
- package/browser/Plugins/Emitters/Enums/EmitterClickMode.d.ts +0 -6
- package/browser/Plugins/Emitters/Enums/EmitterShapeType.d.ts +0 -4
- package/browser/Plugins/Emitters/Enums/index.d.ts +0 -2
- package/browser/Plugins/Emitters/Enums/index.js +0 -2
- package/browser/Plugins/Emitters/IEmitterShape.d.ts +0 -4
- package/browser/Plugins/Emitters/Options/Classes/Emitter.d.ts +0 -32
- package/browser/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +0 -14
- package/browser/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +0 -12
- package/browser/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +0 -14
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +0 -71
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +0 -25
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +0 -15
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +0 -16
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +0 -8
- package/browser/Plugins/Emitters/ShapeManager.d.ts +0 -9
- package/browser/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +0 -5
- package/browser/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +0 -5
- package/browser/Plugins/Emitters/index.d.ts +0 -3
- package/browser/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +0 -8
- package/browser/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +0 -4
- package/browser/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts +0 -6
- package/browser/Plugins/PolygonMask/Enums/index.d.ts +0 -3
- package/browser/Plugins/PolygonMask/Enums/index.js +0 -3
- package/browser/Plugins/PolygonMask/Interfaces/ISvgPath.d.ts +0 -6
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +0 -34
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +0 -30
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +0 -14
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +0 -12
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +0 -14
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +0 -13
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +0 -25
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +0 -17
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +0 -9
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +0 -7
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +0 -9
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +0 -8
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +0 -7
- package/browser/Plugins/PolygonMask/PolygonMaskInstance.d.ts +0 -50
- package/browser/Plugins/PolygonMask/Types.d.ts +0 -8
- package/browser/Plugins/PolygonMask/Utils.d.ts +0 -11
- package/browser/Plugins/PolygonMask/index.d.ts +0 -2
- package/browser/Plugins/PolygonMask/pathseg.d.ts +0 -0
- package/browser/Shapes/Circle/CircleDrawer.d.ts +0 -8
- package/browser/Shapes/Circle/index.d.ts +0 -2
- package/browser/Shapes/Image/ImageDrawer.d.ts +0 -21
- package/browser/Shapes/Image/Utils.d.ts +0 -31
- package/browser/Shapes/Image/index.d.ts +0 -2
- package/browser/Shapes/Line/LineDrawer.d.ts +0 -8
- package/browser/Shapes/Line/index.d.ts +0 -2
- package/browser/Shapes/Polygon/PolygonDrawer.d.ts +0 -10
- package/browser/Shapes/Polygon/PolygonDrawerBase.d.ts +0 -18
- package/browser/Shapes/Polygon/TriangleDrawer.d.ts +0 -11
- package/browser/Shapes/Polygon/index.d.ts +0 -4
- package/browser/Shapes/Square/SquareDrawer.d.ts +0 -8
- package/browser/Shapes/Square/index.d.ts +0 -2
- package/browser/Shapes/Star/StarDrawer.d.ts +0 -8
- package/browser/Shapes/Star/index.d.ts +0 -2
- package/browser/Shapes/Text/TextDrawer.d.ts +0 -10
- package/browser/Shapes/Text/index.d.ts +0 -2
- package/browser/Types/ParticlesGroups.d.ts +0 -8
- package/browser/Types/PathOptions.d.ts +0 -3
- package/browser/Types/RangeValue.d.ts +0 -2
- package/browser/Types/RecursivePartial.d.ts +0 -6
- package/browser/Types/ShapeData.d.ts +0 -8
- package/browser/Types/ShapeDrawerFunctions.d.ts +0 -32
- package/browser/Types/SingleOrMultiple.d.ts +0 -4
- package/browser/Types/index.d.ts +0 -6
- package/browser/Types/index.js +0 -6
- package/browser/Updaters/Angle/AngleUpdater.d.ts +0 -8
- package/browser/Updaters/Angle/index.d.ts +0 -2
- package/browser/Updaters/Color/ColorUpdater.d.ts +0 -8
- package/browser/Updaters/Color/index.d.ts +0 -2
- package/browser/Updaters/Life/LifeUpdater.d.ts +0 -8
- package/browser/Updaters/Life/index.d.ts +0 -2
- package/browser/Updaters/Opacity/OpacityUpdater.d.ts +0 -8
- package/browser/Updaters/Opacity/index.d.ts +0 -2
- package/browser/Updaters/OutModes/IBounceData.d.ts +0 -11
- package/browser/Updaters/OutModes/OutOfCanvasUpdater.d.ts +0 -13
- package/browser/Updaters/OutModes/Utils.d.ts +0 -3
- package/browser/Updaters/OutModes/index.d.ts +0 -2
- package/browser/Updaters/Roll/RollUpdater.d.ts +0 -6
- package/browser/Updaters/Roll/index.d.ts +0 -2
- package/browser/Updaters/Size/SizeUpdater.d.ts +0 -6
- package/browser/Updaters/Size/index.d.ts +0 -2
- package/browser/Updaters/StrokeColor/StrokeColorUpdater.d.ts +0 -8
- package/browser/Updaters/StrokeColor/index.d.ts +0 -2
- package/browser/Updaters/Tilt/TiltUpdater.d.ts +0 -8
- package/browser/Updaters/Tilt/index.d.ts +0 -2
- package/browser/Updaters/Wobble/WobbleUpdater.d.ts +0 -14
- package/browser/Updaters/Wobble/index.d.ts +0 -2
- package/browser/Utils/CanvasUtils.d.ts +0 -19
- package/browser/Utils/ColorUtils.d.ts +0 -46
- package/browser/Utils/NumberUtils.d.ts +0 -50
- package/browser/Utils/Utils.d.ts +0 -43
- package/browser/Utils/index.d.ts +0 -4
- package/browser/Utils/index.js +0 -4
- package/browser/engine.d.ts +0 -119
- package/browser/index.d.ts +0 -20
- package/browser/index.engine.d.ts +0 -13
- package/browser/index.slim.d.ts +0 -14
- package/browser/pjs.d.ts +0 -41
- package/engine.d.ts +0 -26
- package/engine.js +0 -98
- package/esm/Core/Canvas.d.ts +0 -35
- package/esm/Core/Container.d.ts +0 -68
- package/esm/Core/Interfaces/Colors.d.ts +0 -33
- package/esm/Core/Interfaces/Gradients.d.ts +0 -21
- package/esm/Core/Interfaces/IAttract.d.ts +0 -7
- package/esm/Core/Interfaces/IBounds.d.ts +0 -6
- package/esm/Core/Interfaces/IBubble.d.ts +0 -4
- package/esm/Core/Interfaces/IBubbleParticleData.d.ts +0 -9
- package/esm/Core/Interfaces/ICircleBouncer.d.ts +0 -9
- package/esm/Core/Interfaces/IContainerInteractivity.d.ts +0 -6
- package/esm/Core/Interfaces/IContainerPlugin.d.ts +0 -32
- package/esm/Core/Interfaces/ICoordinates.d.ts +0 -15
- package/esm/Core/Interfaces/IDelta.d.ts +0 -4
- package/esm/Core/Interfaces/IDimension.d.ts +0 -4
- package/esm/Core/Interfaces/IDistance.d.ts +0 -4
- package/esm/Core/Interfaces/IExternalInteractor.d.ts +0 -6
- package/esm/Core/Interfaces/IInteractor.d.ts +0 -6
- package/esm/Core/Interfaces/IMouseData.d.ts +0 -9
- package/esm/Core/Interfaces/IMovePathGenerator.d.ts +0 -8
- package/esm/Core/Interfaces/IParticle.d.ts +0 -55
- package/esm/Core/Interfaces/IParticleGradientAnimation.d.ts +0 -8
- package/esm/Core/Interfaces/IParticleGradientColorAnimation.d.ts +0 -7
- package/esm/Core/Interfaces/IParticleGravity.d.ts +0 -5
- package/esm/Core/Interfaces/IParticleHslAnimation.d.ts +0 -6
- package/esm/Core/Interfaces/IParticleLife.d.ts +0 -7
- package/esm/Core/Interfaces/IParticleLoops.d.ts +0 -4
- package/esm/Core/Interfaces/IParticleRetinaProps.d.ts +0 -12
- package/esm/Core/Interfaces/IParticleRoll.d.ts +0 -9
- package/esm/Core/Interfaces/IParticleSpin.d.ts +0 -9
- package/esm/Core/Interfaces/IParticleUpdater.d.ts +0 -9
- package/esm/Core/Interfaces/IParticleValueAnimation.d.ts +0 -17
- package/esm/Core/Interfaces/IParticleWobble.d.ts +0 -4
- package/esm/Core/Interfaces/IParticlesFrequencies.d.ts +0 -4
- package/esm/Core/Interfaces/IParticlesInteractor.d.ts +0 -7
- package/esm/Core/Interfaces/IPlugin.d.ts +0 -11
- package/esm/Core/Interfaces/IRangeValue.d.ts +0 -4
- package/esm/Core/Interfaces/IRectSideResult.d.ts +0 -5
- package/esm/Core/Interfaces/IRepulse.d.ts +0 -7
- package/esm/Core/Interfaces/IRepulse.js +0 -1
- package/esm/Core/Interfaces/IShapeDrawer.d.ts +0 -10
- package/esm/Core/Interfaces/IShapeValues.d.ts +0 -8
- package/esm/Core/Interfaces/index.d.ts +0 -37
- package/esm/Core/Interfaces/index.js +0 -37
- package/esm/Core/Loader.d.ts +0 -32
- package/esm/Core/Particle.d.ts +0 -73
- package/esm/Core/Particles.d.ts +0 -46
- package/esm/Core/Retina.d.ts +0 -26
- package/esm/Core/Utils/Circle.d.ts +0 -8
- package/esm/Core/Utils/CircleWarp.d.ts +0 -9
- package/esm/Core/Utils/Constants.d.ts +0 -18
- package/esm/Core/Utils/EventListeners.d.ts +0 -33
- package/esm/Core/Utils/ExternalInteractorBase.d.ts +0 -12
- package/esm/Core/Utils/FrameManager.d.ts +0 -6
- package/esm/Core/Utils/InteractionManager.d.ts +0 -14
- package/esm/Core/Utils/ParticlesInteractorBase.d.ts +0 -12
- package/esm/Core/Utils/ParticlesMover.d.ts +0 -13
- package/esm/Core/Utils/ParticlesMover.js +0 -182
- package/esm/Core/Utils/Plugins.d.ts +0 -36
- package/esm/Core/Utils/Point.d.ts +0 -7
- package/esm/Core/Utils/QuadTree.d.ts +0 -23
- package/esm/Core/Utils/Range.d.ts +0 -7
- package/esm/Core/Utils/Rectangle.d.ts +0 -8
- package/esm/Core/Utils/Vector.d.ts +0 -29
- package/esm/Core/Utils/Vector3d.d.ts +0 -18
- package/esm/Core/Utils/index.d.ts +0 -16
- package/esm/Core/Utils/index.js +0 -16
- package/esm/Core/index.d.ts +0 -8
- package/esm/Core/index.js +0 -8
- package/esm/Enums/AnimationStatus.d.ts +0 -4
- package/esm/Enums/Directions/MoveDirection.d.ts +0 -12
- package/esm/Enums/Directions/OutModeDirection.d.ts +0 -6
- package/esm/Enums/Directions/RotateDirection.d.ts +0 -6
- package/esm/Enums/Directions/TiltDirection.d.ts +0 -6
- package/esm/Enums/Directions/index.d.ts +0 -4
- package/esm/Enums/Directions/index.js +0 -4
- package/esm/Enums/InteractivityDetect.d.ts +0 -5
- package/esm/Enums/Modes/ClickMode.d.ts +0 -9
- package/esm/Enums/Modes/CollisionMode.d.ts +0 -5
- package/esm/Enums/Modes/DestroyMode.d.ts +0 -4
- package/esm/Enums/Modes/DivMode.d.ts +0 -5
- package/esm/Enums/Modes/HoverMode.d.ts +0 -11
- package/esm/Enums/Modes/OutMode.d.ts +0 -10
- package/esm/Enums/Modes/ResponsiveMode.d.ts +0 -4
- package/esm/Enums/Modes/RollMode.d.ts +0 -5
- package/esm/Enums/Modes/SizeMode.d.ts +0 -4
- package/esm/Enums/Modes/ThemeMode.d.ts +0 -5
- package/esm/Enums/Modes/index.d.ts +0 -10
- package/esm/Enums/Modes/index.js +0 -10
- package/esm/Enums/Types/AlterType.d.ts +0 -4
- package/esm/Enums/Types/DestroyType.d.ts +0 -5
- package/esm/Enums/Types/DivType.d.ts +0 -4
- package/esm/Enums/Types/EasingType.d.ts +0 -10
- package/esm/Enums/Types/GradientType.d.ts +0 -5
- package/esm/Enums/Types/InteractorType.d.ts +0 -4
- package/esm/Enums/Types/OrbitType.d.ts +0 -4
- package/esm/Enums/Types/OrbitType.js +0 -1
- package/esm/Enums/Types/ShapeType.d.ts +0 -13
- package/esm/Enums/Types/StartValueType.d.ts +0 -5
- package/esm/Enums/Types/index.d.ts +0 -9
- package/esm/Enums/Types/index.js +0 -9
- package/esm/Enums/index.d.ts +0 -5
- package/esm/Enums/index.js +0 -5
- package/esm/Interactions/External/Attract/Attractor.d.ts +0 -11
- package/esm/Interactions/External/Attract/index.d.ts +0 -2
- package/esm/Interactions/External/Bounce/Bouncer.d.ts +0 -11
- package/esm/Interactions/External/Bounce/index.d.ts +0 -2
- package/esm/Interactions/External/Bubble/Bubbler.d.ts +0 -16
- package/esm/Interactions/External/Bubble/IBubblerProcessParam.d.ts +0 -10
- package/esm/Interactions/External/Bubble/ProcessBubbleType.d.ts +0 -5
- package/esm/Interactions/External/Bubble/index.d.ts +0 -2
- package/esm/Interactions/External/Connect/Connector.d.ts +0 -8
- package/esm/Interactions/External/Connect/index.d.ts +0 -2
- package/esm/Interactions/External/Grab/Grabber.d.ts +0 -8
- package/esm/Interactions/External/Grab/index.d.ts +0 -2
- package/esm/Interactions/External/Repulse/Repulser.d.ts +0 -12
- package/esm/Interactions/External/Repulse/index.d.ts +0 -2
- package/esm/Interactions/External/Trail/TrailMaker.d.ts +0 -10
- package/esm/Interactions/External/Trail/index.d.ts +0 -2
- package/esm/Interactions/Particles/Attract/Attractor.d.ts +0 -8
- package/esm/Interactions/Particles/Attract/index.d.ts +0 -2
- package/esm/Interactions/Particles/Collisions/Collider.d.ts +0 -10
- package/esm/Interactions/Particles/Collisions/index.d.ts +0 -2
- package/esm/Interactions/Particles/Links/ILink.d.ts +0 -9
- package/esm/Interactions/Particles/Links/LinkInstance.d.ts +0 -10
- package/esm/Interactions/Particles/Links/LinkParticle.d.ts +0 -5
- package/esm/Interactions/Particles/Links/Linker.d.ts +0 -10
- package/esm/Interactions/Particles/Links/index.d.ts +0 -2
- package/esm/Interactions/Particles/Links/interaction.d.ts +0 -2
- package/esm/Interactions/Particles/Links/plugin.d.ts +0 -2
- package/esm/Options/Classes/AnimatableColor.d.ts +0 -11
- package/esm/Options/Classes/AnimatableGradient.d.ts +0 -53
- package/esm/Options/Classes/AnimationOptions.d.ts +0 -11
- package/esm/Options/Classes/Background/Background.d.ts +0 -14
- package/esm/Options/Classes/BackgroundMask/BackgroundMask.d.ts +0 -11
- package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +0 -10
- package/esm/Options/Classes/ColorAnimation.d.ts +0 -12
- package/esm/Options/Classes/FullScreen/FullScreen.d.ts +0 -9
- package/esm/Options/Classes/HslAnimation.d.ts +0 -11
- package/esm/Options/Classes/Interactivity/Events/ClickEvent.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -18
- package/esm/Options/Classes/Interactivity/Events/Events.d.ts +0 -20
- package/esm/Options/Classes/Interactivity/Events/HoverEvent.d.ts +0 -12
- package/esm/Options/Classes/Interactivity/Events/Parallax.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Interactivity.d.ts +0 -15
- package/esm/Options/Classes/Interactivity/Modes/Attract.d.ts +0 -14
- package/esm/Options/Classes/Interactivity/Modes/Bounce.d.ts +0 -8
- package/esm/Options/Classes/Interactivity/Modes/Bubble.d.ts +0 -9
- package/esm/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +0 -13
- package/esm/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +0 -11
- package/esm/Options/Classes/Interactivity/Modes/Connect.d.ts +0 -15
- package/esm/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +0 -8
- package/esm/Options/Classes/Interactivity/Modes/Grab.d.ts +0 -14
- package/esm/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +0 -12
- package/esm/Options/Classes/Interactivity/Modes/Light.d.ts +0 -11
- package/esm/Options/Classes/Interactivity/Modes/LightArea.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Modes/LightGradient.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Modes/LightShadow.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Modes/Modes.d.ts +0 -29
- package/esm/Options/Classes/Interactivity/Modes/Push.d.ts +0 -12
- package/esm/Options/Classes/Interactivity/Modes/Remove.d.ts +0 -10
- package/esm/Options/Classes/Interactivity/Modes/Repulse.d.ts +0 -9
- package/esm/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +0 -14
- package/esm/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +0 -11
- package/esm/Options/Classes/Interactivity/Modes/Slow.d.ts +0 -11
- package/esm/Options/Classes/Interactivity/Modes/Trail.d.ts +0 -12
- package/esm/Options/Classes/ManualParticle.d.ts +0 -10
- package/esm/Options/Classes/Motion/Motion.d.ts +0 -10
- package/esm/Options/Classes/Motion/MotionReduce.d.ts +0 -9
- package/esm/Options/Classes/Options.d.ts +0 -48
- package/esm/Options/Classes/OptionsColor.d.ts +0 -10
- package/esm/Options/Classes/Particles/Bounce/Bounce.d.ts +0 -10
- package/esm/Options/Classes/Particles/Bounce/BounceFactor.d.ts +0 -4
- package/esm/Options/Classes/Particles/Collisions/Collisions.d.ts +0 -14
- package/esm/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +0 -9
- package/esm/Options/Classes/Particles/Destroy/Destroy.d.ts +0 -11
- package/esm/Options/Classes/Particles/Destroy/Split.d.ts +0 -15
- package/esm/Options/Classes/Particles/Destroy/SplitFactor.d.ts +0 -4
- package/esm/Options/Classes/Particles/Destroy/SplitRate.d.ts +0 -4
- package/esm/Options/Classes/Particles/Life/Life.d.ts +0 -12
- package/esm/Options/Classes/Particles/Life/LifeDelay.d.ts +0 -9
- package/esm/Options/Classes/Particles/Life/LifeDuration.d.ts +0 -9
- package/esm/Options/Classes/Particles/Links/Links.d.ts +0 -22
- package/esm/Options/Classes/Particles/Links/LinksShadow.d.ts +0 -11
- package/esm/Options/Classes/Particles/Links/LinksTriangle.d.ts +0 -12
- package/esm/Options/Classes/Particles/Move/Attract.d.ts +0 -15
- package/esm/Options/Classes/Particles/Move/Move.d.ts +0 -44
- package/esm/Options/Classes/Particles/Move/MoveAngle.d.ts +0 -9
- package/esm/Options/Classes/Particles/Move/MoveGravity.d.ts +0 -11
- package/esm/Options/Classes/Particles/Move/OutModes.d.ts +0 -13
- package/esm/Options/Classes/Particles/Move/Path/Path.d.ts +0 -13
- package/esm/Options/Classes/Particles/Move/Path/PathDelay.d.ts +0 -4
- package/esm/Options/Classes/Particles/Move/Spin.d.ts +0 -11
- package/esm/Options/Classes/Particles/Move/Trail.d.ts +0 -11
- package/esm/Options/Classes/Particles/Number/Density.d.ts +0 -12
- package/esm/Options/Classes/Particles/Number/ParticlesNumber.d.ts +0 -13
- package/esm/Options/Classes/Particles/Opacity/Opacity.d.ts +0 -12
- package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +0 -14
- package/esm/Options/Classes/Particles/Orbit/Orbit.d.ts +0 -18
- package/esm/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +0 -7
- package/esm/Options/Classes/Particles/ParticlesOptions.d.ts +0 -58
- package/esm/Options/Classes/Particles/Repulse/Repulse.d.ts +0 -13
- package/esm/Options/Classes/Particles/Roll/Roll.d.ts +0 -16
- package/esm/Options/Classes/Particles/Roll/RollLight.d.ts +0 -9
- package/esm/Options/Classes/Particles/Rotate/Rotate.d.ts +0 -13
- package/esm/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +0 -10
- package/esm/Options/Classes/Particles/Shadow.d.ts +0 -13
- package/esm/Options/Classes/Particles/Shape/Shape.d.ts +0 -27
- package/esm/Options/Classes/Particles/Size/Size.d.ts +0 -12
- package/esm/Options/Classes/Particles/Size/SizeAnimation.d.ts +0 -14
- package/esm/Options/Classes/Particles/Stroke.d.ts +0 -11
- package/esm/Options/Classes/Particles/Tilt/Tilt.d.ts +0 -13
- package/esm/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +0 -10
- package/esm/Options/Classes/Particles/Twinkle/Twinkle.d.ts +0 -10
- package/esm/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +0 -12
- package/esm/Options/Classes/Particles/Wobble/Wobble.d.ts +0 -10
- package/esm/Options/Classes/Particles/ZIndex/ZIndex.d.ts +0 -11
- package/esm/Options/Classes/Random.d.ts +0 -9
- package/esm/Options/Classes/Responsive.d.ts +0 -12
- package/esm/Options/Classes/Theme/Theme.d.ts +0 -12
- package/esm/Options/Classes/Theme/ThemeDefault.d.ts +0 -11
- package/esm/Options/Classes/ValueWithRandom.d.ts +0 -10
- package/esm/Options/Interfaces/Background/IBackground.d.ts +0 -9
- package/esm/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +0 -7
- package/esm/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +0 -5
- package/esm/Options/Interfaces/FullScreen/IFullScreen.d.ts +0 -4
- package/esm/Options/Interfaces/IAnimatable.d.ts +0 -4
- package/esm/Options/Interfaces/IAnimatableColor.d.ts +0 -6
- package/esm/Options/Interfaces/IAnimatableGradient.d.ts +0 -8
- package/esm/Options/Interfaces/IAnimation.d.ts +0 -7
- package/esm/Options/Interfaces/IColorAnimation.d.ts +0 -5
- package/esm/Options/Interfaces/IHslAnimation.d.ts +0 -6
- package/esm/Options/Interfaces/IManualParticle.d.ts +0 -7
- package/esm/Options/Interfaces/IOptionLoader.d.ts +0 -4
- package/esm/Options/Interfaces/IOptions.d.ts +0 -34
- package/esm/Options/Interfaces/IOptionsColor.d.ts +0 -2
- package/esm/Options/Interfaces/IOptionsGradient.d.ts +0 -13
- package/esm/Options/Interfaces/IRandom.d.ts +0 -4
- package/esm/Options/Interfaces/IResponsive.d.ts +0 -8
- package/esm/Options/Interfaces/IValueWithRandom.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -11
- package/esm/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -13
- package/esm/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +0 -8
- package/esm/Options/Interfaces/Interactivity/Events/IParallax.d.ts +0 -5
- package/esm/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -9
- package/esm/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +0 -9
- package/esm/Options/Interfaces/Interactivity/Modes/IBounce.d.ts +0 -3
- package/esm/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +0 -10
- package/esm/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +0 -4
- package/esm/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +0 -8
- package/esm/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +0 -3
- package/esm/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +0 -7
- package/esm/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +0 -7
- package/esm/Options/Interfaces/Interactivity/Modes/ILight.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Modes/ILightArea.d.ts +0 -9
- package/esm/Options/Interfaces/Interactivity/Modes/ILightShadow.d.ts +0 -5
- package/esm/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -5
- package/esm/Options/Interfaces/Interactivity/Modes/IModes.d.ts +0 -22
- package/esm/Options/Interfaces/Interactivity/Modes/IPush.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +0 -4
- package/esm/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +0 -6
- package/esm/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +0 -9
- package/esm/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +0 -4
- package/esm/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +0 -5
- package/esm/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +0 -8
- package/esm/Options/Interfaces/Motion/IMotion.d.ts +0 -5
- package/esm/Options/Interfaces/Motion/IMotionReduce.d.ts +0 -4
- package/esm/Options/Interfaces/Particles/Bounce/IBounce.d.ts +0 -5
- package/esm/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +0 -9
- package/esm/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +0 -4
- package/esm/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Destroy/ISplit.d.ts +0 -10
- package/esm/Options/Interfaces/Particles/IParticles.d.ts +0 -52
- package/esm/Options/Interfaces/Particles/IShadow.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/IStroke.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Life/ILife.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Life/ILifeDelay.d.ts +0 -4
- package/esm/Options/Interfaces/Particles/Life/ILifeDuration.d.ts +0 -4
- package/esm/Options/Interfaces/Particles/Links/ILinks.d.ts +0 -17
- package/esm/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Move/IAttract.d.ts +0 -9
- package/esm/Options/Interfaces/Particles/Move/IMove.d.ts +0 -35
- package/esm/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +0 -5
- package/esm/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Move/IOutModes.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Move/ISpin.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Move/ITrail.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Move/Path/IPath.d.ts +0 -9
- package/esm/Options/Interfaces/Particles/Number/IDensity.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +0 -7
- package/esm/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +0 -13
- package/esm/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +0 -9
- package/esm/Options/Interfaces/Particles/Roll/IRoll.d.ts +0 -12
- package/esm/Options/Interfaces/Particles/Roll/IRollLight.d.ts +0 -5
- package/esm/Options/Interfaces/Particles/Rotate/IRotate.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Shape/IImageShape.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +0 -5
- package/esm/Options/Interfaces/Particles/Shape/IShape.d.ts +0 -16
- package/esm/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +0 -1
- package/esm/Options/Interfaces/Particles/Shape/IStarShape.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Size/ISize.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Tilt/ITilt.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +0 -5
- package/esm/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +0 -8
- package/esm/Options/Interfaces/Particles/Wobble/IWobble.d.ts +0 -6
- package/esm/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +0 -6
- package/esm/Options/Interfaces/Theme/ITheme.d.ts +0 -8
- package/esm/Options/Interfaces/Theme/IThemeDefault.d.ts +0 -6
- package/esm/Plugins/Absorbers/AbsorberContainer.d.ts +0 -7
- package/esm/Plugins/Absorbers/AbsorberInstance.d.ts +0 -33
- package/esm/Plugins/Absorbers/Absorbers.d.ts +0 -22
- package/esm/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +0 -3
- package/esm/Plugins/Absorbers/Enums/index.d.ts +0 -1
- package/esm/Plugins/Absorbers/Enums/index.js +0 -1
- package/esm/Plugins/Absorbers/Options/Classes/Absorber.d.ts +0 -18
- package/esm/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +0 -11
- package/esm/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +0 -9
- package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +0 -13
- package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +0 -12
- package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +0 -6
- package/esm/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +0 -4
- package/esm/Plugins/Absorbers/index.d.ts +0 -2
- package/esm/Plugins/Emitters/EmitterContainer.d.ts +0 -10
- package/esm/Plugins/Emitters/EmitterInstance.d.ts +0 -45
- package/esm/Plugins/Emitters/Emitters.d.ts +0 -25
- package/esm/Plugins/Emitters/EmittersEngine.d.ts +0 -7
- package/esm/Plugins/Emitters/Enums/EmitterClickMode.d.ts +0 -3
- package/esm/Plugins/Emitters/Enums/EmitterShapeType.d.ts +0 -4
- package/esm/Plugins/Emitters/Enums/index.d.ts +0 -2
- package/esm/Plugins/Emitters/Enums/index.js +0 -2
- package/esm/Plugins/Emitters/IEmitterShape.d.ts +0 -4
- package/esm/Plugins/Emitters/Options/Classes/Emitter.d.ts +0 -28
- package/esm/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +0 -11
- package/esm/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +0 -9
- package/esm/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +0 -11
- package/esm/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +0 -24
- package/esm/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +0 -6
- package/esm/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +0 -12
- package/esm/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +0 -5
- package/esm/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +0 -5
- package/esm/Plugins/Emitters/ShapeManager.d.ts +0 -9
- package/esm/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +0 -5
- package/esm/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +0 -5
- package/esm/Plugins/Emitters/index.d.ts +0 -3
- package/esm/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +0 -8
- package/esm/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +0 -4
- package/esm/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts +0 -6
- package/esm/Plugins/PolygonMask/Enums/index.d.ts +0 -3
- package/esm/Plugins/PolygonMask/Enums/index.js +0 -3
- package/esm/Plugins/PolygonMask/Interfaces/ISvgPath.d.ts +0 -6
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +0 -24
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +0 -15
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +0 -11
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +0 -9
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +0 -11
- package/esm/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +0 -10
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +0 -18
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +0 -8
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +0 -6
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +0 -4
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +0 -6
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +0 -5
- package/esm/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +0 -4
- package/esm/Plugins/PolygonMask/PolygonMaskInstance.d.ts +0 -38
- package/esm/Plugins/PolygonMask/Types.d.ts +0 -8
- package/esm/Plugins/PolygonMask/Utils.d.ts +0 -11
- package/esm/Plugins/PolygonMask/index.d.ts +0 -2
- package/esm/Plugins/PolygonMask/pathseg.d.ts +0 -0
- package/esm/Shapes/Circle/CircleDrawer.d.ts +0 -5
- package/esm/Shapes/Circle/index.d.ts +0 -2
- package/esm/Shapes/Image/ImageDrawer.d.ts +0 -18
- package/esm/Shapes/Image/Utils.d.ts +0 -28
- package/esm/Shapes/Image/index.d.ts +0 -2
- package/esm/Shapes/Line/LineDrawer.d.ts +0 -5
- package/esm/Shapes/Line/index.d.ts +0 -2
- package/esm/Shapes/Polygon/PolygonDrawer.d.ts +0 -7
- package/esm/Shapes/Polygon/PolygonDrawerBase.d.ts +0 -15
- package/esm/Shapes/Polygon/TriangleDrawer.d.ts +0 -8
- package/esm/Shapes/Polygon/index.d.ts +0 -4
- package/esm/Shapes/Square/SquareDrawer.d.ts +0 -5
- package/esm/Shapes/Square/index.d.ts +0 -2
- package/esm/Shapes/Star/StarDrawer.d.ts +0 -5
- package/esm/Shapes/Star/index.d.ts +0 -2
- package/esm/Shapes/Text/TextDrawer.d.ts +0 -7
- package/esm/Shapes/Text/index.d.ts +0 -2
- package/esm/Types/ParticlesGroups.d.ts +0 -4
- package/esm/Types/PathOptions.d.ts +0 -3
- package/esm/Types/RangeValue.d.ts +0 -2
- package/esm/Types/RecursivePartial.d.ts +0 -3
- package/esm/Types/ShapeData.d.ts +0 -5
- package/esm/Types/ShapeDrawerFunctions.d.ts +0 -11
- package/esm/Types/SingleOrMultiple.d.ts +0 -1
- package/esm/Types/index.d.ts +0 -6
- package/esm/Types/index.js +0 -6
- package/esm/Updaters/Angle/AngleUpdater.d.ts +0 -8
- package/esm/Updaters/Angle/index.d.ts +0 -2
- package/esm/Updaters/Color/ColorUpdater.d.ts +0 -8
- package/esm/Updaters/Color/index.d.ts +0 -2
- package/esm/Updaters/Life/LifeUpdater.d.ts +0 -8
- package/esm/Updaters/Life/index.d.ts +0 -2
- package/esm/Updaters/Opacity/OpacityUpdater.d.ts +0 -8
- package/esm/Updaters/Opacity/index.d.ts +0 -2
- package/esm/Updaters/OutModes/IBounceData.d.ts +0 -11
- package/esm/Updaters/OutModes/OutOfCanvasUpdater.d.ts +0 -13
- package/esm/Updaters/OutModes/Utils.d.ts +0 -3
- package/esm/Updaters/OutModes/index.d.ts +0 -2
- package/esm/Updaters/Roll/RollUpdater.d.ts +0 -6
- package/esm/Updaters/Roll/index.d.ts +0 -2
- package/esm/Updaters/Size/SizeUpdater.d.ts +0 -6
- package/esm/Updaters/Size/index.d.ts +0 -2
- package/esm/Updaters/StrokeColor/StrokeColorUpdater.d.ts +0 -8
- package/esm/Updaters/StrokeColor/index.d.ts +0 -2
- package/esm/Updaters/Tilt/TiltUpdater.d.ts +0 -8
- package/esm/Updaters/Tilt/index.d.ts +0 -2
- package/esm/Updaters/Wobble/WobbleUpdater.d.ts +0 -14
- package/esm/Updaters/Wobble/index.d.ts +0 -2
- package/esm/Utils/CanvasUtils.d.ts +0 -19
- package/esm/Utils/ColorUtils.d.ts +0 -26
- package/esm/Utils/NumberUtils.d.ts +0 -23
- package/esm/Utils/Utils.d.ts +0 -38
- package/esm/Utils/index.d.ts +0 -4
- package/esm/Utils/index.js +0 -4
- package/esm/engine.d.ts +0 -26
- package/esm/full.d.ts +0 -2
- package/esm/index.d.ts +0 -20
- package/esm/index.engine.d.ts +0 -13
- package/esm/index.slim.d.ts +0 -14
- package/esm/pjs.d.ts +0 -14
- package/esm/slim.d.ts +0 -2
- package/full.d.ts +0 -2
- package/full.js +0 -22
- package/index.d.ts +0 -20
- package/index.engine.d.ts +0 -13
- package/index.engine.js +0 -27
- package/index.js +0 -33
- package/index.slim.d.ts +0 -14
- package/index.slim.js +0 -30
- package/pjs.d.ts +0 -14
- package/slim.d.ts +0 -2
- package/slim.js +0 -52
- package/umd/Core/Canvas.d.ts +0 -35
- package/umd/Core/Container.d.ts +0 -68
- package/umd/Core/Interfaces/Colors.d.ts +0 -33
- package/umd/Core/Interfaces/Gradients.d.ts +0 -21
- package/umd/Core/Interfaces/IAttract.d.ts +0 -7
- package/umd/Core/Interfaces/IBounds.d.ts +0 -6
- package/umd/Core/Interfaces/IBubble.d.ts +0 -4
- package/umd/Core/Interfaces/IBubbleParticleData.d.ts +0 -9
- package/umd/Core/Interfaces/ICircleBouncer.d.ts +0 -9
- package/umd/Core/Interfaces/IContainerInteractivity.d.ts +0 -6
- package/umd/Core/Interfaces/IContainerPlugin.d.ts +0 -32
- package/umd/Core/Interfaces/ICoordinates.d.ts +0 -15
- package/umd/Core/Interfaces/IDelta.d.ts +0 -4
- package/umd/Core/Interfaces/IDimension.d.ts +0 -4
- package/umd/Core/Interfaces/IDistance.d.ts +0 -4
- package/umd/Core/Interfaces/IExternalInteractor.d.ts +0 -6
- package/umd/Core/Interfaces/IInteractor.d.ts +0 -6
- package/umd/Core/Interfaces/IMouseData.d.ts +0 -9
- package/umd/Core/Interfaces/IMovePathGenerator.d.ts +0 -8
- package/umd/Core/Interfaces/IParticle.d.ts +0 -55
- package/umd/Core/Interfaces/IParticleGradientAnimation.d.ts +0 -8
- package/umd/Core/Interfaces/IParticleGradientColorAnimation.d.ts +0 -7
- package/umd/Core/Interfaces/IParticleGravity.d.ts +0 -5
- package/umd/Core/Interfaces/IParticleHslAnimation.d.ts +0 -6
- package/umd/Core/Interfaces/IParticleLife.d.ts +0 -7
- package/umd/Core/Interfaces/IParticleLoops.d.ts +0 -4
- package/umd/Core/Interfaces/IParticleRetinaProps.d.ts +0 -12
- package/umd/Core/Interfaces/IParticleRoll.d.ts +0 -9
- package/umd/Core/Interfaces/IParticleSpin.d.ts +0 -9
- package/umd/Core/Interfaces/IParticleUpdater.d.ts +0 -9
- package/umd/Core/Interfaces/IParticleValueAnimation.d.ts +0 -17
- package/umd/Core/Interfaces/IParticleWobble.d.ts +0 -4
- package/umd/Core/Interfaces/IParticlesFrequencies.d.ts +0 -4
- package/umd/Core/Interfaces/IParticlesInteractor.d.ts +0 -7
- package/umd/Core/Interfaces/IPlugin.d.ts +0 -11
- package/umd/Core/Interfaces/IRangeValue.d.ts +0 -4
- package/umd/Core/Interfaces/IRectSideResult.d.ts +0 -5
- package/umd/Core/Interfaces/IRepulse.d.ts +0 -7
- package/umd/Core/Interfaces/IShapeDrawer.d.ts +0 -10
- package/umd/Core/Interfaces/IShapeValues.d.ts +0 -8
- package/umd/Core/Interfaces/index.d.ts +0 -37
- package/umd/Core/Interfaces/index.js +0 -59
- package/umd/Core/Loader.d.ts +0 -32
- package/umd/Core/Particle.d.ts +0 -73
- package/umd/Core/Particles.d.ts +0 -46
- package/umd/Core/Retina.d.ts +0 -26
- package/umd/Core/Utils/Circle.d.ts +0 -8
- package/umd/Core/Utils/CircleWarp.d.ts +0 -9
- package/umd/Core/Utils/Constants.d.ts +0 -18
- package/umd/Core/Utils/EventListeners.d.ts +0 -33
- package/umd/Core/Utils/ExternalInteractorBase.d.ts +0 -12
- package/umd/Core/Utils/FrameManager.d.ts +0 -6
- package/umd/Core/Utils/InteractionManager.d.ts +0 -14
- package/umd/Core/Utils/ParticlesInteractorBase.d.ts +0 -12
- package/umd/Core/Utils/ParticlesMover.d.ts +0 -13
- package/umd/Core/Utils/ParticlesMover.js +0 -196
- package/umd/Core/Utils/Plugins.d.ts +0 -36
- package/umd/Core/Utils/Point.d.ts +0 -7
- package/umd/Core/Utils/QuadTree.d.ts +0 -23
- package/umd/Core/Utils/Range.d.ts +0 -7
- package/umd/Core/Utils/Rectangle.d.ts +0 -8
- package/umd/Core/Utils/Vector.d.ts +0 -29
- package/umd/Core/Utils/Vector3d.d.ts +0 -18
- package/umd/Core/Utils/index.d.ts +0 -16
- package/umd/Core/Utils/index.js +0 -38
- package/umd/Core/index.d.ts +0 -8
- package/umd/Core/index.js +0 -30
- package/umd/Enums/AnimationStatus.d.ts +0 -4
- package/umd/Enums/Directions/MoveDirection.d.ts +0 -12
- package/umd/Enums/Directions/OutModeDirection.d.ts +0 -6
- package/umd/Enums/Directions/RotateDirection.d.ts +0 -6
- package/umd/Enums/Directions/TiltDirection.d.ts +0 -6
- package/umd/Enums/Directions/index.d.ts +0 -4
- package/umd/Enums/Directions/index.js +0 -26
- package/umd/Enums/InteractivityDetect.d.ts +0 -5
- package/umd/Enums/Modes/ClickMode.d.ts +0 -9
- package/umd/Enums/Modes/CollisionMode.d.ts +0 -5
- package/umd/Enums/Modes/DestroyMode.d.ts +0 -4
- package/umd/Enums/Modes/DivMode.d.ts +0 -5
- package/umd/Enums/Modes/HoverMode.d.ts +0 -11
- package/umd/Enums/Modes/OutMode.d.ts +0 -10
- package/umd/Enums/Modes/ResponsiveMode.d.ts +0 -4
- package/umd/Enums/Modes/RollMode.d.ts +0 -5
- package/umd/Enums/Modes/SizeMode.d.ts +0 -4
- package/umd/Enums/Modes/ThemeMode.d.ts +0 -5
- package/umd/Enums/Modes/index.d.ts +0 -10
- package/umd/Enums/Modes/index.js +0 -32
- package/umd/Enums/Types/AlterType.d.ts +0 -4
- package/umd/Enums/Types/DestroyType.d.ts +0 -5
- package/umd/Enums/Types/DivType.d.ts +0 -4
- package/umd/Enums/Types/EasingType.d.ts +0 -10
- package/umd/Enums/Types/GradientType.d.ts +0 -5
- package/umd/Enums/Types/InteractorType.d.ts +0 -4
- package/umd/Enums/Types/OrbitType.d.ts +0 -4
- package/umd/Enums/Types/OrbitType.js +0 -12
- package/umd/Enums/Types/ShapeType.d.ts +0 -13
- package/umd/Enums/Types/StartValueType.d.ts +0 -5
- package/umd/Enums/Types/index.d.ts +0 -9
- package/umd/Enums/Types/index.js +0 -31
- package/umd/Enums/index.d.ts +0 -5
- package/umd/Enums/index.js +0 -27
- package/umd/Interactions/External/Attract/Attractor.d.ts +0 -11
- package/umd/Interactions/External/Attract/index.d.ts +0 -2
- package/umd/Interactions/External/Bounce/Bouncer.d.ts +0 -11
- package/umd/Interactions/External/Bounce/index.d.ts +0 -2
- package/umd/Interactions/External/Bubble/Bubbler.d.ts +0 -16
- package/umd/Interactions/External/Bubble/IBubblerProcessParam.d.ts +0 -10
- package/umd/Interactions/External/Bubble/ProcessBubbleType.d.ts +0 -5
- package/umd/Interactions/External/Bubble/index.d.ts +0 -2
- package/umd/Interactions/External/Connect/Connector.d.ts +0 -8
- package/umd/Interactions/External/Connect/index.d.ts +0 -2
- package/umd/Interactions/External/Grab/Grabber.d.ts +0 -8
- package/umd/Interactions/External/Grab/index.d.ts +0 -2
- package/umd/Interactions/External/Repulse/Repulser.d.ts +0 -12
- package/umd/Interactions/External/Repulse/index.d.ts +0 -2
- package/umd/Interactions/External/Trail/TrailMaker.d.ts +0 -10
- package/umd/Interactions/External/Trail/index.d.ts +0 -2
- package/umd/Interactions/Particles/Attract/Attractor.d.ts +0 -8
- package/umd/Interactions/Particles/Attract/index.d.ts +0 -2
- package/umd/Interactions/Particles/Collisions/Collider.d.ts +0 -10
- package/umd/Interactions/Particles/Collisions/index.d.ts +0 -2
- package/umd/Interactions/Particles/Links/ILink.d.ts +0 -9
- package/umd/Interactions/Particles/Links/LinkInstance.d.ts +0 -10
- package/umd/Interactions/Particles/Links/LinkParticle.d.ts +0 -5
- package/umd/Interactions/Particles/Links/Linker.d.ts +0 -10
- package/umd/Interactions/Particles/Links/index.d.ts +0 -2
- package/umd/Interactions/Particles/Links/interaction.d.ts +0 -2
- package/umd/Interactions/Particles/Links/plugin.d.ts +0 -2
- package/umd/Options/Classes/AnimatableColor.d.ts +0 -11
- package/umd/Options/Classes/AnimatableGradient.d.ts +0 -53
- package/umd/Options/Classes/AnimationOptions.d.ts +0 -11
- package/umd/Options/Classes/Background/Background.d.ts +0 -14
- package/umd/Options/Classes/BackgroundMask/BackgroundMask.d.ts +0 -11
- package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +0 -10
- package/umd/Options/Classes/ColorAnimation.d.ts +0 -12
- package/umd/Options/Classes/FullScreen/FullScreen.d.ts +0 -9
- package/umd/Options/Classes/HslAnimation.d.ts +0 -11
- package/umd/Options/Classes/Interactivity/Events/ClickEvent.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -18
- package/umd/Options/Classes/Interactivity/Events/Events.d.ts +0 -20
- package/umd/Options/Classes/Interactivity/Events/HoverEvent.d.ts +0 -12
- package/umd/Options/Classes/Interactivity/Events/Parallax.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Interactivity.d.ts +0 -15
- package/umd/Options/Classes/Interactivity/Modes/Attract.d.ts +0 -14
- package/umd/Options/Classes/Interactivity/Modes/Bounce.d.ts +0 -8
- package/umd/Options/Classes/Interactivity/Modes/Bubble.d.ts +0 -9
- package/umd/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +0 -13
- package/umd/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +0 -11
- package/umd/Options/Classes/Interactivity/Modes/Connect.d.ts +0 -15
- package/umd/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +0 -8
- package/umd/Options/Classes/Interactivity/Modes/Grab.d.ts +0 -14
- package/umd/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +0 -12
- package/umd/Options/Classes/Interactivity/Modes/Light.d.ts +0 -11
- package/umd/Options/Classes/Interactivity/Modes/LightArea.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Modes/LightGradient.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Modes/LightShadow.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Modes/Modes.d.ts +0 -29
- package/umd/Options/Classes/Interactivity/Modes/Push.d.ts +0 -12
- package/umd/Options/Classes/Interactivity/Modes/Remove.d.ts +0 -10
- package/umd/Options/Classes/Interactivity/Modes/Repulse.d.ts +0 -9
- package/umd/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +0 -14
- package/umd/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +0 -11
- package/umd/Options/Classes/Interactivity/Modes/Slow.d.ts +0 -11
- package/umd/Options/Classes/Interactivity/Modes/Trail.d.ts +0 -12
- package/umd/Options/Classes/ManualParticle.d.ts +0 -10
- package/umd/Options/Classes/Motion/Motion.d.ts +0 -10
- package/umd/Options/Classes/Motion/MotionReduce.d.ts +0 -9
- package/umd/Options/Classes/Options.d.ts +0 -48
- package/umd/Options/Classes/OptionsColor.d.ts +0 -10
- package/umd/Options/Classes/Particles/Bounce/Bounce.d.ts +0 -10
- package/umd/Options/Classes/Particles/Bounce/BounceFactor.d.ts +0 -4
- package/umd/Options/Classes/Particles/Collisions/Collisions.d.ts +0 -14
- package/umd/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +0 -9
- package/umd/Options/Classes/Particles/Destroy/Destroy.d.ts +0 -11
- package/umd/Options/Classes/Particles/Destroy/Split.d.ts +0 -15
- package/umd/Options/Classes/Particles/Destroy/SplitFactor.d.ts +0 -4
- package/umd/Options/Classes/Particles/Destroy/SplitRate.d.ts +0 -4
- package/umd/Options/Classes/Particles/Life/Life.d.ts +0 -12
- package/umd/Options/Classes/Particles/Life/LifeDelay.d.ts +0 -9
- package/umd/Options/Classes/Particles/Life/LifeDuration.d.ts +0 -9
- package/umd/Options/Classes/Particles/Links/Links.d.ts +0 -22
- package/umd/Options/Classes/Particles/Links/LinksShadow.d.ts +0 -11
- package/umd/Options/Classes/Particles/Links/LinksTriangle.d.ts +0 -12
- package/umd/Options/Classes/Particles/Move/Attract.d.ts +0 -15
- package/umd/Options/Classes/Particles/Move/Move.d.ts +0 -44
- package/umd/Options/Classes/Particles/Move/MoveAngle.d.ts +0 -9
- package/umd/Options/Classes/Particles/Move/MoveGravity.d.ts +0 -11
- package/umd/Options/Classes/Particles/Move/OutModes.d.ts +0 -13
- package/umd/Options/Classes/Particles/Move/Path/Path.d.ts +0 -13
- package/umd/Options/Classes/Particles/Move/Path/PathDelay.d.ts +0 -4
- package/umd/Options/Classes/Particles/Move/Spin.d.ts +0 -11
- package/umd/Options/Classes/Particles/Move/Trail.d.ts +0 -11
- package/umd/Options/Classes/Particles/Number/Density.d.ts +0 -12
- package/umd/Options/Classes/Particles/Number/ParticlesNumber.d.ts +0 -13
- package/umd/Options/Classes/Particles/Opacity/Opacity.d.ts +0 -12
- package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +0 -14
- package/umd/Options/Classes/Particles/Orbit/Orbit.d.ts +0 -18
- package/umd/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +0 -7
- package/umd/Options/Classes/Particles/ParticlesOptions.d.ts +0 -58
- package/umd/Options/Classes/Particles/Repulse/Repulse.d.ts +0 -13
- package/umd/Options/Classes/Particles/Roll/Roll.d.ts +0 -16
- package/umd/Options/Classes/Particles/Roll/RollLight.d.ts +0 -9
- package/umd/Options/Classes/Particles/Rotate/Rotate.d.ts +0 -13
- package/umd/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +0 -10
- package/umd/Options/Classes/Particles/Shadow.d.ts +0 -13
- package/umd/Options/Classes/Particles/Shape/Shape.d.ts +0 -27
- package/umd/Options/Classes/Particles/Size/Size.d.ts +0 -12
- package/umd/Options/Classes/Particles/Size/SizeAnimation.d.ts +0 -14
- package/umd/Options/Classes/Particles/Stroke.d.ts +0 -11
- package/umd/Options/Classes/Particles/Tilt/Tilt.d.ts +0 -13
- package/umd/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +0 -10
- package/umd/Options/Classes/Particles/Twinkle/Twinkle.d.ts +0 -10
- package/umd/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +0 -12
- package/umd/Options/Classes/Particles/Wobble/Wobble.d.ts +0 -10
- package/umd/Options/Classes/Particles/ZIndex/ZIndex.d.ts +0 -11
- package/umd/Options/Classes/Random.d.ts +0 -9
- package/umd/Options/Classes/Responsive.d.ts +0 -12
- package/umd/Options/Classes/Theme/Theme.d.ts +0 -12
- package/umd/Options/Classes/Theme/ThemeDefault.d.ts +0 -11
- package/umd/Options/Classes/ValueWithRandom.d.ts +0 -10
- package/umd/Options/Interfaces/Background/IBackground.d.ts +0 -9
- package/umd/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +0 -7
- package/umd/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +0 -5
- package/umd/Options/Interfaces/FullScreen/IFullScreen.d.ts +0 -4
- package/umd/Options/Interfaces/IAnimatable.d.ts +0 -4
- package/umd/Options/Interfaces/IAnimatableColor.d.ts +0 -6
- package/umd/Options/Interfaces/IAnimatableGradient.d.ts +0 -8
- package/umd/Options/Interfaces/IAnimation.d.ts +0 -7
- package/umd/Options/Interfaces/IColorAnimation.d.ts +0 -5
- package/umd/Options/Interfaces/IHslAnimation.d.ts +0 -6
- package/umd/Options/Interfaces/IManualParticle.d.ts +0 -7
- package/umd/Options/Interfaces/IOptionLoader.d.ts +0 -4
- package/umd/Options/Interfaces/IOptions.d.ts +0 -34
- package/umd/Options/Interfaces/IOptionsColor.d.ts +0 -2
- package/umd/Options/Interfaces/IOptionsGradient.d.ts +0 -13
- package/umd/Options/Interfaces/IRandom.d.ts +0 -4
- package/umd/Options/Interfaces/IResponsive.d.ts +0 -8
- package/umd/Options/Interfaces/IValueWithRandom.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -11
- package/umd/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -13
- package/umd/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +0 -8
- package/umd/Options/Interfaces/Interactivity/Events/IParallax.d.ts +0 -5
- package/umd/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -9
- package/umd/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +0 -9
- package/umd/Options/Interfaces/Interactivity/Modes/IBounce.d.ts +0 -3
- package/umd/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +0 -10
- package/umd/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +0 -4
- package/umd/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +0 -8
- package/umd/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +0 -3
- package/umd/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +0 -7
- package/umd/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +0 -7
- package/umd/Options/Interfaces/Interactivity/Modes/ILight.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Modes/ILightArea.d.ts +0 -9
- package/umd/Options/Interfaces/Interactivity/Modes/ILightShadow.d.ts +0 -5
- package/umd/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -5
- package/umd/Options/Interfaces/Interactivity/Modes/IModes.d.ts +0 -22
- package/umd/Options/Interfaces/Interactivity/Modes/IPush.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +0 -4
- package/umd/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +0 -6
- package/umd/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +0 -9
- package/umd/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +0 -4
- package/umd/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +0 -5
- package/umd/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +0 -8
- package/umd/Options/Interfaces/Motion/IMotion.d.ts +0 -5
- package/umd/Options/Interfaces/Motion/IMotionReduce.d.ts +0 -4
- package/umd/Options/Interfaces/Particles/Bounce/IBounce.d.ts +0 -5
- package/umd/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +0 -9
- package/umd/Options/Interfaces/Particles/Collisions/ICollisionsOverlap.d.ts +0 -4
- package/umd/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Destroy/ISplit.d.ts +0 -10
- package/umd/Options/Interfaces/Particles/IParticles.d.ts +0 -52
- package/umd/Options/Interfaces/Particles/IShadow.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/IStroke.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Life/ILife.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Life/ILifeDelay.d.ts +0 -4
- package/umd/Options/Interfaces/Particles/Life/ILifeDuration.d.ts +0 -4
- package/umd/Options/Interfaces/Particles/Links/ILinks.d.ts +0 -17
- package/umd/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Move/IAttract.d.ts +0 -9
- package/umd/Options/Interfaces/Particles/Move/IMove.d.ts +0 -35
- package/umd/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +0 -5
- package/umd/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Move/IOutModes.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Move/ISpin.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Move/ITrail.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Move/Path/IPath.d.ts +0 -9
- package/umd/Options/Interfaces/Particles/Number/IDensity.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +0 -7
- package/umd/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +0 -13
- package/umd/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +0 -9
- package/umd/Options/Interfaces/Particles/Roll/IRoll.d.ts +0 -12
- package/umd/Options/Interfaces/Particles/Roll/IRollLight.d.ts +0 -5
- package/umd/Options/Interfaces/Particles/Rotate/IRotate.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Shape/IImageShape.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +0 -5
- package/umd/Options/Interfaces/Particles/Shape/IShape.d.ts +0 -16
- package/umd/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +0 -1
- package/umd/Options/Interfaces/Particles/Shape/IStarShape.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Size/ISize.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Tilt/ITilt.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +0 -5
- package/umd/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +0 -8
- package/umd/Options/Interfaces/Particles/Wobble/IWobble.d.ts +0 -6
- package/umd/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +0 -6
- package/umd/Options/Interfaces/Theme/ITheme.d.ts +0 -8
- package/umd/Options/Interfaces/Theme/IThemeDefault.d.ts +0 -6
- package/umd/Plugins/Absorbers/AbsorberContainer.d.ts +0 -7
- package/umd/Plugins/Absorbers/AbsorberInstance.d.ts +0 -33
- package/umd/Plugins/Absorbers/Absorbers.d.ts +0 -22
- package/umd/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +0 -3
- package/umd/Plugins/Absorbers/Enums/index.d.ts +0 -1
- package/umd/Plugins/Absorbers/Enums/index.js +0 -23
- package/umd/Plugins/Absorbers/Options/Classes/Absorber.d.ts +0 -18
- package/umd/Plugins/Absorbers/Options/Classes/AbsorberSize.d.ts +0 -11
- package/umd/Plugins/Absorbers/Options/Classes/AbsorberSizeLimit.d.ts +0 -9
- package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +0 -13
- package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +0 -12
- package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSize.d.ts +0 -6
- package/umd/Plugins/Absorbers/Options/Interfaces/IAbsorberSizeLimit.d.ts +0 -4
- package/umd/Plugins/Absorbers/index.d.ts +0 -2
- package/umd/Plugins/Emitters/EmitterContainer.d.ts +0 -10
- package/umd/Plugins/Emitters/EmitterInstance.d.ts +0 -45
- package/umd/Plugins/Emitters/Emitters.d.ts +0 -25
- package/umd/Plugins/Emitters/EmittersEngine.d.ts +0 -7
- package/umd/Plugins/Emitters/Enums/EmitterClickMode.d.ts +0 -3
- package/umd/Plugins/Emitters/Enums/EmitterShapeType.d.ts +0 -4
- package/umd/Plugins/Emitters/Enums/index.d.ts +0 -2
- package/umd/Plugins/Emitters/Enums/index.js +0 -24
- package/umd/Plugins/Emitters/IEmitterShape.d.ts +0 -4
- package/umd/Plugins/Emitters/Options/Classes/Emitter.d.ts +0 -28
- package/umd/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +0 -11
- package/umd/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +0 -9
- package/umd/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +0 -11
- package/umd/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +0 -24
- package/umd/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +0 -6
- package/umd/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +0 -12
- package/umd/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +0 -5
- package/umd/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +0 -5
- package/umd/Plugins/Emitters/ShapeManager.d.ts +0 -9
- package/umd/Plugins/Emitters/Shapes/Circle/CircleShape.d.ts +0 -5
- package/umd/Plugins/Emitters/Shapes/Square/SquareShape.d.ts +0 -5
- package/umd/Plugins/Emitters/index.d.ts +0 -3
- package/umd/Plugins/PolygonMask/Enums/PolygonMaskInlineArrangement.d.ts +0 -8
- package/umd/Plugins/PolygonMask/Enums/PolygonMaskMoveType.d.ts +0 -4
- package/umd/Plugins/PolygonMask/Enums/PolygonMaskType.d.ts +0 -6
- package/umd/Plugins/PolygonMask/Enums/index.d.ts +0 -3
- package/umd/Plugins/PolygonMask/Enums/index.js +0 -25
- package/umd/Plugins/PolygonMask/Interfaces/ISvgPath.d.ts +0 -6
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +0 -24
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDraw.d.ts +0 -15
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskDrawStroke.d.ts +0 -11
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskInline.d.ts +0 -9
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskLocalSvg.d.ts +0 -11
- package/umd/Plugins/PolygonMask/Options/Classes/PolygonMaskMove.d.ts +0 -10
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +0 -18
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDraw.d.ts +0 -8
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskDrawStroke.d.ts +0 -6
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskInline.d.ts +0 -4
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskLocalSvg.d.ts +0 -6
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskMove.d.ts +0 -5
- package/umd/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +0 -4
- package/umd/Plugins/PolygonMask/PolygonMaskInstance.d.ts +0 -38
- package/umd/Plugins/PolygonMask/Types.d.ts +0 -8
- package/umd/Plugins/PolygonMask/Utils.d.ts +0 -11
- package/umd/Plugins/PolygonMask/index.d.ts +0 -2
- package/umd/Plugins/PolygonMask/pathseg.d.ts +0 -0
- package/umd/Shapes/Circle/CircleDrawer.d.ts +0 -5
- package/umd/Shapes/Circle/index.d.ts +0 -2
- package/umd/Shapes/Image/ImageDrawer.d.ts +0 -18
- package/umd/Shapes/Image/Utils.d.ts +0 -28
- package/umd/Shapes/Image/index.d.ts +0 -2
- package/umd/Shapes/Line/LineDrawer.d.ts +0 -5
- package/umd/Shapes/Line/index.d.ts +0 -2
- package/umd/Shapes/Polygon/PolygonDrawer.d.ts +0 -7
- package/umd/Shapes/Polygon/PolygonDrawerBase.d.ts +0 -15
- package/umd/Shapes/Polygon/TriangleDrawer.d.ts +0 -8
- package/umd/Shapes/Polygon/index.d.ts +0 -4
- package/umd/Shapes/Square/SquareDrawer.d.ts +0 -5
- package/umd/Shapes/Square/index.d.ts +0 -2
- package/umd/Shapes/Star/StarDrawer.d.ts +0 -5
- package/umd/Shapes/Star/index.d.ts +0 -2
- package/umd/Shapes/Text/TextDrawer.d.ts +0 -7
- package/umd/Shapes/Text/index.d.ts +0 -2
- package/umd/Types/ParticlesGroups.d.ts +0 -4
- package/umd/Types/PathOptions.d.ts +0 -3
- package/umd/Types/RangeValue.d.ts +0 -2
- package/umd/Types/RecursivePartial.d.ts +0 -3
- package/umd/Types/ShapeData.d.ts +0 -5
- package/umd/Types/ShapeDrawerFunctions.d.ts +0 -11
- package/umd/Types/SingleOrMultiple.d.ts +0 -1
- package/umd/Types/index.d.ts +0 -6
- package/umd/Types/index.js +0 -28
- package/umd/Updaters/Angle/AngleUpdater.d.ts +0 -8
- package/umd/Updaters/Angle/index.d.ts +0 -2
- package/umd/Updaters/Color/ColorUpdater.d.ts +0 -8
- package/umd/Updaters/Color/index.d.ts +0 -2
- package/umd/Updaters/Life/LifeUpdater.d.ts +0 -8
- package/umd/Updaters/Life/index.d.ts +0 -2
- package/umd/Updaters/Opacity/OpacityUpdater.d.ts +0 -8
- package/umd/Updaters/Opacity/index.d.ts +0 -2
- package/umd/Updaters/OutModes/IBounceData.d.ts +0 -11
- package/umd/Updaters/OutModes/OutOfCanvasUpdater.d.ts +0 -13
- package/umd/Updaters/OutModes/Utils.d.ts +0 -3
- package/umd/Updaters/OutModes/index.d.ts +0 -2
- package/umd/Updaters/Roll/RollUpdater.d.ts +0 -6
- package/umd/Updaters/Roll/index.d.ts +0 -2
- package/umd/Updaters/Size/SizeUpdater.d.ts +0 -6
- package/umd/Updaters/Size/index.d.ts +0 -2
- package/umd/Updaters/StrokeColor/StrokeColorUpdater.d.ts +0 -8
- package/umd/Updaters/StrokeColor/index.d.ts +0 -2
- package/umd/Updaters/Tilt/TiltUpdater.d.ts +0 -8
- package/umd/Updaters/Tilt/index.d.ts +0 -2
- package/umd/Updaters/Wobble/WobbleUpdater.d.ts +0 -14
- package/umd/Updaters/Wobble/index.d.ts +0 -2
- package/umd/Utils/CanvasUtils.d.ts +0 -19
- package/umd/Utils/ColorUtils.d.ts +0 -26
- package/umd/Utils/NumberUtils.d.ts +0 -23
- package/umd/Utils/Utils.d.ts +0 -38
- package/umd/Utils/index.d.ts +0 -4
- package/umd/Utils/index.js +0 -26
- package/umd/engine.d.ts +0 -26
- package/umd/full.d.ts +0 -2
- package/umd/index.d.ts +0 -20
- package/umd/index.engine.d.ts +0 -13
- package/umd/index.slim.d.ts +0 -14
- package/umd/pjs.d.ts +0 -14
- package/umd/slim.d.ts +0 -2
|
@@ -10,10 +10,13 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
12
|
var _Particles_engine;
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
13
|
+
import { calcPositionFromSize, getRangeMax, getRangeMin, getRangeValue, randomInRange, setRangeValue, } from "../Utils/NumberUtils";
|
|
14
|
+
import { InteractionManager } from "./Utils/InteractionManager";
|
|
15
15
|
import { Particle } from "./Particle";
|
|
16
16
|
import { ParticlesOptions } from "../Options/Classes/Particles/ParticlesOptions";
|
|
17
|
+
import { Point } from "./Utils/Point";
|
|
18
|
+
import { QuadTree } from "./Utils/QuadTree";
|
|
19
|
+
import { Rectangle } from "./Utils/Rectangle";
|
|
17
20
|
/**
|
|
18
21
|
* Particles manager object
|
|
19
22
|
* @category Core
|
|
@@ -26,7 +29,6 @@ export class Particles {
|
|
|
26
29
|
this.nextId = 0;
|
|
27
30
|
this.array = [];
|
|
28
31
|
this.zArray = [];
|
|
29
|
-
this.mover = new ParticlesMover(container);
|
|
30
32
|
this.limit = 0;
|
|
31
33
|
this.needsSort = false;
|
|
32
34
|
this.lastZIndex = 0;
|
|
@@ -38,6 +40,7 @@ export class Particles {
|
|
|
38
40
|
const canvasSize = this.container.canvas.size;
|
|
39
41
|
this.linksColors = new Map();
|
|
40
42
|
this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, (canvasSize.width * 3) / 2, (canvasSize.height * 3) / 2), 4);
|
|
43
|
+
this.movers = __classPrivateFieldGet(this, _Particles_engine, "f").plugins.getMovers(container, true);
|
|
41
44
|
this.updaters = __classPrivateFieldGet(this, _Particles_engine, "f").plugins.getUpdaters(container, true);
|
|
42
45
|
}
|
|
43
46
|
get count() {
|
|
@@ -46,8 +49,7 @@ export class Particles {
|
|
|
46
49
|
/* --------- tsParticles functions - particles ----------- */
|
|
47
50
|
init() {
|
|
48
51
|
var _a;
|
|
49
|
-
const container = this.container;
|
|
50
|
-
const options = container.actualOptions;
|
|
52
|
+
const container = this.container, options = container.actualOptions;
|
|
51
53
|
this.lastZIndex = 0;
|
|
52
54
|
this.needsSort = false;
|
|
53
55
|
this.freqs.links = new Map();
|
|
@@ -103,8 +105,7 @@ export class Particles {
|
|
|
103
105
|
this.removeAt(this.array.indexOf(particle), undefined, group, override);
|
|
104
106
|
}
|
|
105
107
|
async update(delta) {
|
|
106
|
-
const container = this.container;
|
|
107
|
-
const particlesToDelete = [];
|
|
108
|
+
const container = this.container, particlesToDelete = [];
|
|
108
109
|
container.pathGenerator.update();
|
|
109
110
|
for (const [, plugin] of container.plugins) {
|
|
110
111
|
if (plugin.update !== undefined) {
|
|
@@ -135,7 +136,11 @@ export class Particles {
|
|
|
135
136
|
plugin.particleUpdate(particle, delta);
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
|
-
this.
|
|
139
|
+
for (const mover of this.movers) {
|
|
140
|
+
if (mover.isEnabled(particle)) {
|
|
141
|
+
mover.move(particle, delta);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
139
144
|
if (particle.destroyed) {
|
|
140
145
|
particlesToDelete.push(particle);
|
|
141
146
|
continue;
|
|
@@ -158,11 +163,10 @@ export class Particles {
|
|
|
158
163
|
delete container.canvas.resizeFactor;
|
|
159
164
|
}
|
|
160
165
|
async draw(delta) {
|
|
161
|
-
const container = this.container;
|
|
166
|
+
const container = this.container, canvasSize = this.container.canvas.size;
|
|
167
|
+
this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, (canvasSize.width * 3) / 2, (canvasSize.height * 3) / 2), 4);
|
|
162
168
|
/* clear canvas */
|
|
163
169
|
container.canvas.clear();
|
|
164
|
-
const canvasSize = this.container.canvas.size;
|
|
165
|
-
this.quadTree = new QuadTree(new Rectangle(-canvasSize.width / 4, -canvasSize.height / 4, (canvasSize.width * 3) / 2, (canvasSize.height * 3) / 2), 4);
|
|
166
170
|
/* update each particles param */
|
|
167
171
|
await this.update(delta);
|
|
168
172
|
if (this.needsSort) {
|
|
@@ -189,7 +193,6 @@ export class Particles {
|
|
|
189
193
|
this.array = [];
|
|
190
194
|
this.zArray = [];
|
|
191
195
|
}
|
|
192
|
-
/* ---------- tsParticles functions - modes events ------------ */
|
|
193
196
|
push(nb, mouse, overrideOptions, group) {
|
|
194
197
|
this.pushing = true;
|
|
195
198
|
for (let i = 0; i < nb; i++) {
|
|
@@ -224,8 +227,7 @@ export class Particles {
|
|
|
224
227
|
options.size.value.max /= factor;
|
|
225
228
|
}
|
|
226
229
|
options.load(splitOptions.particles);
|
|
227
|
-
const offset = splitOptions.sizeOffset ? setRangeValue(-parent.size.value, parent.size.value) : 0
|
|
228
|
-
const position = {
|
|
230
|
+
const offset = splitOptions.sizeOffset ? setRangeValue(-parent.size.value, parent.size.value) : 0, position = {
|
|
229
231
|
x: parent.position.x + randomInRange(offset),
|
|
230
232
|
y: parent.position.y + randomInRange(offset),
|
|
231
233
|
};
|
|
@@ -276,13 +278,10 @@ export class Particles {
|
|
|
276
278
|
addManualParticles() {
|
|
277
279
|
const container = this.container, options = container.actualOptions;
|
|
278
280
|
for (const particle of options.manualParticles) {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
: undefined;
|
|
285
|
-
this.addParticle(pos, particle.options);
|
|
281
|
+
this.addParticle(calcPositionFromSize({
|
|
282
|
+
size: container.canvas.size,
|
|
283
|
+
position: particle.position,
|
|
284
|
+
}), particle.options);
|
|
286
285
|
}
|
|
287
286
|
}
|
|
288
287
|
setDensity() {
|
|
@@ -292,17 +291,15 @@ export class Particles {
|
|
|
292
291
|
}
|
|
293
292
|
this.applyDensity(options.particles, options.manualParticles.length);
|
|
294
293
|
}
|
|
294
|
+
handleClickMode(mode) {
|
|
295
|
+
this.interactionManager.handleClickMode(mode);
|
|
296
|
+
}
|
|
295
297
|
applyDensity(options, manualCount, group) {
|
|
296
298
|
var _a;
|
|
297
299
|
if (!((_a = options.number.density) === null || _a === void 0 ? void 0 : _a.enable)) {
|
|
298
300
|
return;
|
|
299
301
|
}
|
|
300
|
-
const numberOptions = options.number;
|
|
301
|
-
const densityFactor = this.initDensityFactor(numberOptions.density);
|
|
302
|
-
const optParticlesNumber = numberOptions.value;
|
|
303
|
-
const optParticlesLimit = numberOptions.limit > 0 ? numberOptions.limit : optParticlesNumber;
|
|
304
|
-
const particlesNumber = Math.min(optParticlesNumber, optParticlesLimit) * densityFactor + manualCount;
|
|
305
|
-
const particlesCount = Math.min(this.count, this.array.filter((t) => t.group === group).length);
|
|
302
|
+
const numberOptions = options.number, densityFactor = this.initDensityFactor(numberOptions.density), optParticlesNumber = numberOptions.value, optParticlesLimit = numberOptions.limit > 0 ? numberOptions.limit : optParticlesNumber, particlesNumber = Math.min(optParticlesNumber, optParticlesLimit) * densityFactor + manualCount, particlesCount = Math.min(this.count, this.array.filter((t) => t.group === group).length);
|
|
306
303
|
this.limit = numberOptions.limit * densityFactor;
|
|
307
304
|
if (particlesCount < particlesNumber) {
|
|
308
305
|
this.push(Math.abs(particlesNumber - particlesCount), undefined, options, group);
|
package/browser/Core/Retina.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { getRangeValue
|
|
1
|
+
import { getRangeValue } from "../Utils/NumberUtils";
|
|
2
|
+
import { isSsr } from "../Utils/Utils";
|
|
2
3
|
/**
|
|
3
4
|
* @category Core
|
|
4
5
|
*/
|
|
@@ -10,8 +11,7 @@ export class Retina {
|
|
|
10
11
|
* Initializes all the values needing a pixel ratio factor (sizes, widths, distances)
|
|
11
12
|
*/
|
|
12
13
|
init() {
|
|
13
|
-
const container = this.container;
|
|
14
|
-
const options = container.actualOptions;
|
|
14
|
+
const container = this.container, options = container.actualOptions;
|
|
15
15
|
this.pixelRatio = !options.detectRetina || isSsr() ? 1 : window.devicePixelRatio;
|
|
16
16
|
const motionOptions = this.container.actualOptions.motion;
|
|
17
17
|
if (motionOptions && (motionOptions.disable || motionOptions.reduce.value)) {
|
|
@@ -54,9 +54,6 @@ export class Retina {
|
|
|
54
54
|
this.linksWidth = particles.links.width * ratio;
|
|
55
55
|
this.sizeAnimationSpeed = getRangeValue(particles.size.animation.speed) * ratio;
|
|
56
56
|
this.maxSpeed = getRangeValue(particles.move.gravity.maxSpeed) * ratio;
|
|
57
|
-
if (particles.orbit.radius !== undefined) {
|
|
58
|
-
this.orbitRadius = getRangeValue(particles.orbit.radius) * this.container.retina.pixelRatio;
|
|
59
|
-
}
|
|
60
57
|
const modes = options.interactivity.modes;
|
|
61
58
|
this.connectModeDistance = modes.connect.distance * ratio;
|
|
62
59
|
this.connectModeRadius = modes.connect.radius * ratio;
|
|
@@ -71,19 +68,13 @@ export class Retina {
|
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
initParticle(particle) {
|
|
74
|
-
const options = particle.options;
|
|
75
|
-
const ratio = this.pixelRatio;
|
|
76
|
-
const moveDistance = options.move.distance;
|
|
77
|
-
const props = particle.retina;
|
|
71
|
+
const options = particle.options, ratio = this.pixelRatio, moveDistance = options.move.distance, props = particle.retina;
|
|
78
72
|
props.attractDistance = getRangeValue(options.move.attract.distance) * ratio;
|
|
79
73
|
props.linksDistance = options.links.distance * ratio;
|
|
80
74
|
props.linksWidth = options.links.width * ratio;
|
|
81
75
|
props.moveDrift = getRangeValue(options.move.drift) * ratio;
|
|
82
76
|
props.moveSpeed = getRangeValue(options.move.speed) * ratio;
|
|
83
77
|
props.sizeAnimationSpeed = getRangeValue(options.size.animation.speed) * ratio;
|
|
84
|
-
if (particle.spin) {
|
|
85
|
-
props.spinAcceleration = getRangeValue(options.move.spin.acceleration) * ratio;
|
|
86
|
-
}
|
|
87
78
|
const maxDistance = props.maxDistance;
|
|
88
79
|
maxDistance.horizontal = moveDistance.horizontal !== undefined ? moveDistance.horizontal * ratio : undefined;
|
|
89
80
|
maxDistance.vertical = moveDistance.vertical !== undefined ? moveDistance.vertical * ratio : undefined;
|
|
@@ -1,33 +1,40 @@
|
|
|
1
1
|
import { Range } from "./Range";
|
|
2
|
-
import { getDistance } from "../../Utils";
|
|
2
|
+
import { getDistance } from "../../Utils/NumberUtils";
|
|
3
3
|
/**
|
|
4
4
|
* @category Utils
|
|
5
5
|
*/
|
|
6
6
|
export class Circle extends Range {
|
|
7
|
+
/**
|
|
8
|
+
* Circle constructor, initialized position and radius
|
|
9
|
+
* @param x X coordinate of the position
|
|
10
|
+
* @param y Y coordinate of the position
|
|
11
|
+
* @param radius Circle's radius
|
|
12
|
+
*/
|
|
7
13
|
constructor(x, y, radius) {
|
|
8
14
|
super(x, y);
|
|
9
15
|
this.radius = radius;
|
|
10
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Check if the given point is inside the circle
|
|
19
|
+
* @param point the point to check
|
|
20
|
+
* @returns true or false, checking if the given point is inside the circle
|
|
21
|
+
*/
|
|
11
22
|
contains(point) {
|
|
12
23
|
return getDistance(point, this.position) <= this.radius;
|
|
13
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if the given range intersects the circle
|
|
27
|
+
* @param range the range to check
|
|
28
|
+
* @returns true or false, checking if the range is intersecting with the circle
|
|
29
|
+
*/
|
|
14
30
|
intersects(range) {
|
|
15
|
-
const rect = range;
|
|
16
|
-
const circle = range;
|
|
17
|
-
const pos1 = this.position;
|
|
18
|
-
const pos2 = range.position;
|
|
19
|
-
const xDist = Math.abs(pos2.x - pos1.x);
|
|
20
|
-
const yDist = Math.abs(pos2.y - pos1.y);
|
|
21
|
-
const r = this.radius;
|
|
31
|
+
const rect = range, circle = range, pos1 = this.position, pos2 = range.position, xDist = Math.abs(pos2.x - pos1.x), yDist = Math.abs(pos2.y - pos1.y), r = this.radius;
|
|
22
32
|
if (circle.radius !== undefined) {
|
|
23
|
-
const rSum = r + circle.radius;
|
|
24
|
-
const dist = Math.sqrt(xDist * xDist + yDist + yDist);
|
|
33
|
+
const rSum = r + circle.radius, dist = Math.sqrt(xDist * xDist + yDist + yDist);
|
|
25
34
|
return rSum > dist;
|
|
26
35
|
}
|
|
27
36
|
else if (rect.size !== undefined) {
|
|
28
|
-
const w = rect.size.width;
|
|
29
|
-
const h = rect.size.height;
|
|
30
|
-
const edges = Math.pow(xDist - w, 2) + Math.pow(yDist - h, 2);
|
|
37
|
+
const w = rect.size.width, h = rect.size.height, edges = Math.pow(xDist - w, 2) + Math.pow(yDist - h, 2);
|
|
31
38
|
if (xDist > r + w || yDist > r + h) {
|
|
32
39
|
return false;
|
|
33
40
|
}
|
|
@@ -4,14 +4,23 @@ import { Rectangle } from "./Rectangle";
|
|
|
4
4
|
* @category Utils
|
|
5
5
|
*/
|
|
6
6
|
export class CircleWarp extends Circle {
|
|
7
|
+
/**
|
|
8
|
+
* Circle constructor, initialized position and radius
|
|
9
|
+
* @param x X coordinate of the position
|
|
10
|
+
* @param y Y coordinate of the position
|
|
11
|
+
* @param radius Circle's radius
|
|
12
|
+
* @param canvasSize the canvas size, used for warp formulas
|
|
13
|
+
*/
|
|
7
14
|
constructor(x, y, radius, canvasSize) {
|
|
8
15
|
super(x, y, radius);
|
|
9
16
|
this.canvasSize = canvasSize;
|
|
10
|
-
this.canvasSize = {
|
|
11
|
-
height: canvasSize.height,
|
|
12
|
-
width: canvasSize.width,
|
|
13
|
-
};
|
|
17
|
+
this.canvasSize = Object.assign({}, canvasSize);
|
|
14
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if the given point is inside the circle
|
|
21
|
+
* @param point the point to check
|
|
22
|
+
* @returns true or false, checking if the given point is inside the circle
|
|
23
|
+
*/
|
|
15
24
|
contains(point) {
|
|
16
25
|
if (super.contains(point)) {
|
|
17
26
|
return true;
|
|
@@ -36,13 +45,16 @@ export class CircleWarp extends Circle {
|
|
|
36
45
|
};
|
|
37
46
|
return super.contains(posSW);
|
|
38
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if the given range intersects the circle
|
|
50
|
+
* @param range the range to check
|
|
51
|
+
* @returns true or false, checking if the range is intersecting with the circle
|
|
52
|
+
*/
|
|
39
53
|
intersects(range) {
|
|
40
54
|
if (super.intersects(range)) {
|
|
41
55
|
return true;
|
|
42
56
|
}
|
|
43
|
-
const rect = range
|
|
44
|
-
const circle = range;
|
|
45
|
-
const newPos = {
|
|
57
|
+
const rect = range, circle = range, newPos = {
|
|
46
58
|
x: range.position.x - this.canvasSize.width,
|
|
47
59
|
y: range.position.y - this.canvasSize.height,
|
|
48
60
|
};
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { isSsr, itemFromArray } from "../../Utils";
|
|
2
1
|
import { Constants } from "./Constants";
|
|
2
|
+
import { isSsr } from "../../Utils/Utils";
|
|
3
|
+
/**
|
|
4
|
+
* Manage the given event listeners
|
|
5
|
+
* @param element the event listener receiver
|
|
6
|
+
* @param event the event to listen
|
|
7
|
+
* @param handler the handler called once the event is triggered
|
|
8
|
+
* @param add flag for adding or removing the event listener
|
|
9
|
+
* @param options event listener options object
|
|
10
|
+
*/
|
|
3
11
|
function manageListener(element, event, handler, add, options) {
|
|
4
12
|
if (add) {
|
|
5
13
|
let addOptions = { passive: true };
|
|
@@ -59,9 +67,7 @@ export class EventListeners {
|
|
|
59
67
|
*/
|
|
60
68
|
manageListeners(add) {
|
|
61
69
|
var _a;
|
|
62
|
-
const container = this.container;
|
|
63
|
-
const options = container.actualOptions;
|
|
64
|
-
const detectType = options.interactivity.detectsOn;
|
|
70
|
+
const container = this.container, options = container.actualOptions, detectType = options.interactivity.detectsOn;
|
|
65
71
|
let mouseLeaveEvent = Constants.mouseLeaveEvent;
|
|
66
72
|
/* events target element */
|
|
67
73
|
if (detectType === "window" /* window */) {
|
|
@@ -147,6 +153,10 @@ export class EventListeners {
|
|
|
147
153
|
manageListener(document, Constants.visibilityChangeEvent, this.visibilityChangeHandler, add, false);
|
|
148
154
|
}
|
|
149
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Handles window resize event
|
|
158
|
+
* @private
|
|
159
|
+
*/
|
|
150
160
|
handleWindowResize() {
|
|
151
161
|
if (this.resizeTimeout) {
|
|
152
162
|
clearTimeout(this.resizeTimeout);
|
|
@@ -154,9 +164,12 @@ export class EventListeners {
|
|
|
154
164
|
}
|
|
155
165
|
this.resizeTimeout = setTimeout(async () => { var _a; return await ((_a = this.container.canvas) === null || _a === void 0 ? void 0 : _a.windowResize()); }, 500);
|
|
156
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Handles blur event
|
|
169
|
+
* @private
|
|
170
|
+
*/
|
|
157
171
|
handleVisibilityChange() {
|
|
158
|
-
const container = this.container;
|
|
159
|
-
const options = container.actualOptions;
|
|
172
|
+
const container = this.container, options = container.actualOptions;
|
|
160
173
|
this.mouseTouchFinish();
|
|
161
174
|
if (!options.pauseOnBlur) {
|
|
162
175
|
return;
|
|
@@ -175,6 +188,10 @@ export class EventListeners {
|
|
|
175
188
|
}
|
|
176
189
|
}
|
|
177
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* Handle mouse down event
|
|
193
|
+
* @private
|
|
194
|
+
*/
|
|
178
195
|
mouseDown() {
|
|
179
196
|
const interactivity = this.container.interactivity;
|
|
180
197
|
if (interactivity) {
|
|
@@ -189,9 +206,8 @@ export class EventListeners {
|
|
|
189
206
|
*/
|
|
190
207
|
mouseTouchMove(e) {
|
|
191
208
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
192
|
-
const container = this.container;
|
|
193
|
-
|
|
194
|
-
if (((_a = container.interactivity) === null || _a === void 0 ? void 0 : _a.element) === undefined) {
|
|
209
|
+
const container = this.container, options = container.actualOptions;
|
|
210
|
+
if (!((_a = container.interactivity) === null || _a === void 0 ? void 0 : _a.element)) {
|
|
195
211
|
return;
|
|
196
212
|
}
|
|
197
213
|
container.interactivity.mouse.inside = true;
|
|
@@ -261,7 +277,7 @@ export class EventListeners {
|
|
|
261
277
|
*/
|
|
262
278
|
mouseTouchFinish() {
|
|
263
279
|
const interactivity = this.container.interactivity;
|
|
264
|
-
if (interactivity
|
|
280
|
+
if (!interactivity) {
|
|
265
281
|
return;
|
|
266
282
|
}
|
|
267
283
|
const mouse = interactivity.mouse;
|
|
@@ -277,21 +293,20 @@ export class EventListeners {
|
|
|
277
293
|
* @param e the click event arguments
|
|
278
294
|
*/
|
|
279
295
|
mouseTouchClick(e) {
|
|
280
|
-
const container = this.container;
|
|
281
|
-
const options = container.actualOptions;
|
|
282
|
-
const mouse = container.interactivity.mouse;
|
|
296
|
+
const container = this.container, options = container.actualOptions, mouse = container.interactivity.mouse;
|
|
283
297
|
mouse.inside = true;
|
|
284
298
|
let handled = false;
|
|
285
299
|
const mousePosition = mouse.position;
|
|
286
|
-
if (mousePosition
|
|
300
|
+
if (!mousePosition || !options.interactivity.events.onClick.enable) {
|
|
287
301
|
return;
|
|
288
302
|
}
|
|
289
303
|
for (const [, plugin] of container.plugins) {
|
|
290
|
-
if (plugin.clickPositionValid
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
304
|
+
if (!plugin.clickPositionValid) {
|
|
305
|
+
continue;
|
|
306
|
+
}
|
|
307
|
+
handled = plugin.clickPositionValid(mousePosition);
|
|
308
|
+
if (handled) {
|
|
309
|
+
break;
|
|
295
310
|
}
|
|
296
311
|
}
|
|
297
312
|
if (!handled) {
|
|
@@ -304,19 +319,16 @@ export class EventListeners {
|
|
|
304
319
|
* @param e the click event arguments
|
|
305
320
|
*/
|
|
306
321
|
doMouseTouchClick(e) {
|
|
307
|
-
const container = this.container;
|
|
308
|
-
const options = container.actualOptions;
|
|
322
|
+
const container = this.container, options = container.actualOptions;
|
|
309
323
|
if (this.canPush) {
|
|
310
324
|
const mousePos = container.interactivity.mouse.position;
|
|
311
|
-
if (mousePos) {
|
|
312
|
-
container.interactivity.mouse.clickPosition = {
|
|
313
|
-
x: mousePos.x,
|
|
314
|
-
y: mousePos.y,
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
325
|
+
if (!mousePos) {
|
|
318
326
|
return;
|
|
319
327
|
}
|
|
328
|
+
container.interactivity.mouse.clickPosition = {
|
|
329
|
+
x: mousePos.x,
|
|
330
|
+
y: mousePos.y,
|
|
331
|
+
};
|
|
320
332
|
container.interactivity.mouse.clickTime = new Date().getTime();
|
|
321
333
|
const onClick = options.interactivity.events.onClick;
|
|
322
334
|
if (onClick.mode instanceof Array) {
|
|
@@ -332,78 +344,25 @@ export class EventListeners {
|
|
|
332
344
|
setTimeout(() => this.mouseTouchFinish(), 500);
|
|
333
345
|
}
|
|
334
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* Handle browser theme change
|
|
349
|
+
* @param e the media query event
|
|
350
|
+
* @private
|
|
351
|
+
*/
|
|
335
352
|
handleThemeChange(e) {
|
|
336
|
-
const mediaEvent = e
|
|
337
|
-
const themeName = mediaEvent.matches
|
|
353
|
+
const mediaEvent = e, themeName = mediaEvent.matches
|
|
338
354
|
? this.container.options.defaultDarkTheme
|
|
339
|
-
: this.container.options.defaultLightTheme;
|
|
340
|
-
const theme = this.container.options.themes.find((theme) => theme.name === themeName);
|
|
355
|
+
: this.container.options.defaultLightTheme, theme = this.container.options.themes.find((theme) => theme.name === themeName);
|
|
341
356
|
if (theme && theme.default.auto) {
|
|
342
357
|
this.container.loadTheme(themeName);
|
|
343
358
|
}
|
|
344
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* Handles click mode event
|
|
362
|
+
* @param mode Click mode type
|
|
363
|
+
* @private
|
|
364
|
+
*/
|
|
345
365
|
handleClickMode(mode) {
|
|
346
|
-
|
|
347
|
-
const options = container.actualOptions;
|
|
348
|
-
const pushNb = options.interactivity.modes.push.quantity;
|
|
349
|
-
const removeNb = options.interactivity.modes.remove.quantity;
|
|
350
|
-
switch (mode) {
|
|
351
|
-
case "push" /* push */: {
|
|
352
|
-
if (pushNb > 0) {
|
|
353
|
-
const pushOptions = options.interactivity.modes.push;
|
|
354
|
-
const group = itemFromArray([undefined, ...pushOptions.groups]);
|
|
355
|
-
const groupOptions = group !== undefined ? container.actualOptions.particles.groups[group] : undefined;
|
|
356
|
-
container.particles.push(pushNb, container.interactivity.mouse, groupOptions, group);
|
|
357
|
-
}
|
|
358
|
-
break;
|
|
359
|
-
}
|
|
360
|
-
case "remove" /* remove */:
|
|
361
|
-
container.particles.removeQuantity(removeNb);
|
|
362
|
-
break;
|
|
363
|
-
case "bubble" /* bubble */:
|
|
364
|
-
container.bubble.clicking = true;
|
|
365
|
-
break;
|
|
366
|
-
case "repulse" /* repulse */:
|
|
367
|
-
container.repulse.clicking = true;
|
|
368
|
-
container.repulse.count = 0;
|
|
369
|
-
for (const particle of container.repulse.particles) {
|
|
370
|
-
particle.velocity.setTo(particle.initialVelocity);
|
|
371
|
-
}
|
|
372
|
-
container.repulse.particles = [];
|
|
373
|
-
container.repulse.finish = false;
|
|
374
|
-
setTimeout(() => {
|
|
375
|
-
if (!container.destroyed) {
|
|
376
|
-
container.repulse.clicking = false;
|
|
377
|
-
}
|
|
378
|
-
}, options.interactivity.modes.repulse.duration * 1000);
|
|
379
|
-
break;
|
|
380
|
-
case "attract" /* attract */:
|
|
381
|
-
container.attract.clicking = true;
|
|
382
|
-
container.attract.count = 0;
|
|
383
|
-
for (const particle of container.attract.particles) {
|
|
384
|
-
particle.velocity.setTo(particle.initialVelocity);
|
|
385
|
-
}
|
|
386
|
-
container.attract.particles = [];
|
|
387
|
-
container.attract.finish = false;
|
|
388
|
-
setTimeout(() => {
|
|
389
|
-
if (!container.destroyed) {
|
|
390
|
-
container.attract.clicking = false;
|
|
391
|
-
}
|
|
392
|
-
}, options.interactivity.modes.attract.duration * 1000);
|
|
393
|
-
break;
|
|
394
|
-
case "pause" /* pause */:
|
|
395
|
-
if (container.getAnimationStatus()) {
|
|
396
|
-
container.pause();
|
|
397
|
-
}
|
|
398
|
-
else {
|
|
399
|
-
container.play();
|
|
400
|
-
}
|
|
401
|
-
break;
|
|
402
|
-
}
|
|
403
|
-
for (const [, plugin] of container.plugins) {
|
|
404
|
-
if (plugin.handleClickMode) {
|
|
405
|
-
plugin.handleClickMode(mode);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
366
|
+
this.container.handleClickMode(mode);
|
|
408
367
|
}
|
|
409
368
|
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External Interactivity manager, base abstract class
|
|
3
|
+
*/
|
|
1
4
|
export class ExternalInteractorBase {
|
|
5
|
+
/**
|
|
6
|
+
* Constructor of external interactivity manager
|
|
7
|
+
* @param container the parent container
|
|
8
|
+
* @protected
|
|
9
|
+
*/
|
|
2
10
|
constructor(container) {
|
|
3
11
|
this.container = container;
|
|
12
|
+
/**
|
|
13
|
+
* External Interactivity type
|
|
14
|
+
*/
|
|
4
15
|
this.type = 0 /* External */;
|
|
5
16
|
}
|
|
6
17
|
}
|
|
@@ -8,7 +8,7 @@ export class FrameManager {
|
|
|
8
8
|
/**
|
|
9
9
|
* Handles the rAF method preparing the next animation frame to be drawn
|
|
10
10
|
* limiting it if it's needed by the current configuration
|
|
11
|
-
* @param timestamp
|
|
11
|
+
* @param timestamp the new frame timestamp
|
|
12
12
|
*/
|
|
13
13
|
async nextFrame(timestamp) {
|
|
14
14
|
var _a;
|
|
@@ -21,8 +21,7 @@ export class FrameManager {
|
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
(_a = container.lastFrameTime) !== null && _a !== void 0 ? _a : (container.lastFrameTime = timestamp);
|
|
24
|
-
const deltaValue = timestamp - container.lastFrameTime
|
|
25
|
-
const delta = {
|
|
24
|
+
const deltaValue = timestamp - container.lastFrameTime, delta = {
|
|
26
25
|
value: deltaValue,
|
|
27
26
|
factor: (60 * deltaValue) / 1000,
|
|
28
27
|
};
|
|
@@ -14,14 +14,26 @@ var _InteractionManager_engine;
|
|
|
14
14
|
* @category Core
|
|
15
15
|
*/
|
|
16
16
|
export class InteractionManager {
|
|
17
|
+
/**
|
|
18
|
+
* The constructor of the interaction manager
|
|
19
|
+
* @param engine the parent engine
|
|
20
|
+
* @param container the parent container
|
|
21
|
+
*/
|
|
17
22
|
constructor(engine, container) {
|
|
18
23
|
this.container = container;
|
|
24
|
+
/**
|
|
25
|
+
* The engine used for registering the interactions managers
|
|
26
|
+
* @private
|
|
27
|
+
*/
|
|
19
28
|
_InteractionManager_engine.set(this, void 0);
|
|
20
29
|
__classPrivateFieldSet(this, _InteractionManager_engine, engine, "f");
|
|
21
30
|
this.externalInteractors = [];
|
|
22
31
|
this.particleInteractors = [];
|
|
23
32
|
this.init();
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Initializes the interaction manager, loading all the engine registered managers into the container
|
|
36
|
+
*/
|
|
25
37
|
init() {
|
|
26
38
|
const interactors = __classPrivateFieldGet(this, _InteractionManager_engine, "f").plugins.getInteractors(this.container, true);
|
|
27
39
|
this.externalInteractors = [];
|
|
@@ -37,6 +49,10 @@ export class InteractionManager {
|
|
|
37
49
|
}
|
|
38
50
|
}
|
|
39
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Iterates through the external interactivity manager and call the interact method, if they are enabled
|
|
54
|
+
* @param delta this variable contains the delta between the current frame and the previous frame
|
|
55
|
+
*/
|
|
40
56
|
async externalInteract(delta) {
|
|
41
57
|
for (const interactor of this.externalInteractors) {
|
|
42
58
|
if (interactor.isEnabled()) {
|
|
@@ -44,6 +60,11 @@ export class InteractionManager {
|
|
|
44
60
|
}
|
|
45
61
|
}
|
|
46
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Iterates through the particles interactions manager and call the interact method, if they are enabled
|
|
65
|
+
* @param particle the particle responsible for the current interaction
|
|
66
|
+
* @param delta this variable contains the delta between the current frame and the previous frame
|
|
67
|
+
*/
|
|
47
68
|
async particlesInteract(particle, delta) {
|
|
48
69
|
for (const interactor of this.externalInteractors) {
|
|
49
70
|
interactor.reset(particle);
|
|
@@ -55,5 +76,12 @@ export class InteractionManager {
|
|
|
55
76
|
}
|
|
56
77
|
}
|
|
57
78
|
}
|
|
79
|
+
handleClickMode(mode) {
|
|
80
|
+
for (const interactor of this.externalInteractors) {
|
|
81
|
+
if (interactor.handleClickMode) {
|
|
82
|
+
interactor.handleClickMode(mode);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
58
86
|
}
|
|
59
87
|
_InteractionManager_engine = new WeakMap();
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Particles interactions manager, base abstract class
|
|
3
|
+
*/
|
|
1
4
|
export class ParticlesInteractorBase {
|
|
5
|
+
/**
|
|
6
|
+
* The particles interactions manager constructor
|
|
7
|
+
* @param container the parent container
|
|
8
|
+
* @protected
|
|
9
|
+
*/
|
|
2
10
|
constructor(container) {
|
|
3
11
|
this.container = container;
|
|
12
|
+
/**
|
|
13
|
+
* Particles interactions type
|
|
14
|
+
*/
|
|
4
15
|
this.type = 1 /* Particles */;
|
|
5
16
|
}
|
|
6
17
|
}
|