@tsparticles/engine 3.0.0-alpha.0 → 3.0.0-beta.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 +246 -211
- package/browser/Core/Canvas.js +271 -241
- package/browser/Core/Container.js +90 -106
- package/browser/Core/Engine.js +271 -0
- package/browser/Core/Particle.js +158 -162
- package/browser/Core/Particles.js +148 -134
- package/browser/Core/Retina.js +15 -13
- package/browser/Core/Utils/Circle.js +10 -6
- package/browser/Core/Utils/Constants.js +4 -3
- package/browser/Core/Utils/EventListeners.js +259 -220
- package/browser/Core/Utils/InteractionManager.js +6 -16
- package/browser/Core/Utils/QuadTree.js +14 -20
- package/browser/Core/Utils/Vector3d.js +17 -9
- package/browser/Options/Classes/AnimatableColor.js +2 -1
- package/browser/Options/Classes/AnimationOptions.js +7 -2
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +2 -1
- package/browser/Options/Classes/ColorAnimation.js +4 -0
- package/browser/Options/Classes/Interactivity/Events/DivEvent.js +0 -24
- package/browser/Options/Classes/Interactivity/Events/Events.js +5 -24
- package/browser/Options/Classes/Interactivity/Interactivity.js +1 -8
- package/browser/Options/Classes/Interactivity/Modes/Modes.js +11 -8
- package/browser/Options/Classes/ManualParticle.js +5 -5
- package/browser/Options/Classes/Options.js +19 -39
- package/browser/Options/Classes/OptionsColor.js +3 -2
- package/browser/Options/Classes/Particles/Collisions/Collisions.js +5 -0
- package/browser/Options/Classes/Particles/Move/Move.js +11 -41
- package/browser/Options/Classes/Particles/Move/MoveAttract.js +9 -20
- package/browser/Options/Classes/Particles/Move/MoveTrail.js +2 -8
- package/browser/Options/Classes/Particles/Move/OutModes.js +4 -5
- package/browser/Options/Classes/Particles/Move/Spin.js +3 -1
- package/browser/Options/Classes/Particles/Number/ParticlesDensity.js +2 -21
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +2 -9
- package/browser/Options/Classes/Particles/Opacity/Opacity.js +11 -7
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +0 -9
- package/browser/Options/Classes/Particles/ParticlesOptions.js +6 -11
- package/browser/Options/Classes/Particles/Shape/Shape.js +9 -2
- package/browser/Options/Classes/Particles/Size/Size.js +11 -7
- package/browser/Options/Classes/Particles/Size/SizeAnimation.js +0 -9
- package/browser/Options/Classes/ValueWithRandom.js +4 -17
- package/browser/Utils/CanvasUtils.js +18 -54
- package/browser/Utils/ColorUtils.js +17 -19
- package/browser/Utils/EventDispatcher.js +7 -6
- package/browser/Utils/HslColorManager.js +2 -4
- package/browser/Utils/NumberUtils.js +41 -45
- package/browser/Utils/RgbColorManager.js +2 -4
- package/browser/Utils/Utils.js +150 -59
- package/browser/bundle.js +4 -96
- package/browser/export-types.js +97 -0
- package/browser/exports.js +89 -0
- package/browser/index.js +8 -198
- package/browser/init.js +12 -0
- package/cjs/Core/Canvas.js +269 -239
- package/cjs/Core/Container.js +90 -106
- package/cjs/Core/Engine.js +275 -0
- package/cjs/Core/Particle.js +157 -161
- package/cjs/Core/Particles.js +148 -134
- package/cjs/Core/Retina.js +15 -13
- package/cjs/Core/Utils/Circle.js +10 -6
- package/cjs/Core/Utils/Constants.js +5 -4
- package/cjs/Core/Utils/EventListeners.js +258 -219
- package/cjs/Core/Utils/InteractionManager.js +6 -16
- package/cjs/Core/Utils/QuadTree.js +14 -20
- package/cjs/Core/Utils/Vector3d.js +17 -9
- package/cjs/Options/Classes/AnimatableColor.js +2 -1
- package/cjs/Options/Classes/AnimationOptions.js +7 -2
- package/cjs/Options/Classes/BackgroundMask/BackgroundMask.js +2 -1
- package/cjs/Options/Classes/ColorAnimation.js +4 -0
- package/cjs/Options/Classes/Interactivity/Events/DivEvent.js +0 -24
- package/cjs/Options/Classes/Interactivity/Events/Events.js +5 -24
- package/cjs/Options/Classes/Interactivity/Interactivity.js +1 -8
- package/cjs/Options/Classes/Interactivity/Modes/Modes.js +11 -8
- package/cjs/Options/Classes/ManualParticle.js +5 -5
- package/cjs/Options/Classes/Options.js +18 -38
- package/cjs/Options/Classes/OptionsColor.js +3 -2
- package/cjs/Options/Classes/Particles/Collisions/Collisions.js +5 -0
- package/cjs/Options/Classes/Particles/Move/Move.js +11 -41
- package/cjs/Options/Classes/Particles/Move/MoveAttract.js +9 -20
- package/cjs/Options/Classes/Particles/Move/MoveTrail.js +2 -8
- package/cjs/Options/Classes/Particles/Move/OutModes.js +4 -5
- package/cjs/Options/Classes/Particles/Move/Spin.js +3 -1
- package/cjs/Options/Classes/Particles/Number/ParticlesDensity.js +2 -21
- package/cjs/Options/Classes/Particles/Number/ParticlesNumber.js +2 -9
- package/cjs/Options/Classes/Particles/Opacity/Opacity.js +10 -6
- package/cjs/Options/Classes/Particles/Opacity/OpacityAnimation.js +0 -9
- package/cjs/Options/Classes/Particles/ParticlesOptions.js +6 -11
- package/cjs/Options/Classes/Particles/Shape/Shape.js +9 -2
- package/cjs/Options/Classes/Particles/Size/Size.js +11 -7
- package/cjs/Options/Classes/Particles/Size/SizeAnimation.js +0 -9
- package/cjs/Options/Classes/ValueWithRandom.js +4 -17
- package/cjs/Utils/CanvasUtils.js +21 -58
- package/cjs/Utils/ColorUtils.js +16 -18
- package/cjs/Utils/EventDispatcher.js +7 -6
- package/cjs/Utils/HslColorManager.js +2 -4
- package/cjs/Utils/NumberUtils.js +41 -45
- package/cjs/Utils/RgbColorManager.js +2 -4
- package/cjs/Utils/Utils.js +163 -63
- package/cjs/bundle.js +4 -96
- package/cjs/export-types.js +113 -0
- package/cjs/exports.js +105 -0
- package/cjs/index.js +8 -198
- package/cjs/init.js +16 -0
- package/esm/Core/Canvas.js +271 -241
- package/esm/Core/Container.js +90 -106
- package/esm/Core/Engine.js +271 -0
- package/esm/Core/Particle.js +158 -162
- package/esm/Core/Particles.js +148 -134
- package/esm/Core/Retina.js +15 -13
- package/esm/Core/Utils/Circle.js +10 -6
- package/esm/Core/Utils/Constants.js +4 -3
- package/esm/Core/Utils/EventListeners.js +259 -220
- package/esm/Core/Utils/InteractionManager.js +6 -16
- package/esm/Core/Utils/QuadTree.js +14 -20
- package/esm/Core/Utils/Vector3d.js +17 -9
- package/esm/Options/Classes/AnimatableColor.js +2 -1
- package/esm/Options/Classes/AnimationOptions.js +7 -2
- package/esm/Options/Classes/BackgroundMask/BackgroundMask.js +2 -1
- package/esm/Options/Classes/ColorAnimation.js +4 -0
- package/esm/Options/Classes/Interactivity/Events/DivEvent.js +0 -24
- package/esm/Options/Classes/Interactivity/Events/Events.js +5 -24
- package/esm/Options/Classes/Interactivity/Interactivity.js +1 -8
- package/esm/Options/Classes/Interactivity/Modes/Modes.js +11 -8
- package/esm/Options/Classes/ManualParticle.js +5 -5
- package/esm/Options/Classes/Options.js +19 -39
- package/esm/Options/Classes/OptionsColor.js +3 -2
- package/esm/Options/Classes/Particles/Collisions/Collisions.js +5 -0
- package/esm/Options/Classes/Particles/Move/Move.js +11 -41
- package/esm/Options/Classes/Particles/Move/MoveAttract.js +9 -20
- package/esm/Options/Classes/Particles/Move/MoveTrail.js +2 -8
- package/esm/Options/Classes/Particles/Move/OutModes.js +4 -5
- package/esm/Options/Classes/Particles/Move/Spin.js +3 -1
- package/esm/Options/Classes/Particles/Number/ParticlesDensity.js +2 -21
- package/esm/Options/Classes/Particles/Number/ParticlesNumber.js +2 -9
- package/esm/Options/Classes/Particles/Opacity/Opacity.js +11 -7
- package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +0 -9
- package/esm/Options/Classes/Particles/ParticlesOptions.js +6 -11
- package/esm/Options/Classes/Particles/Shape/Shape.js +9 -2
- package/esm/Options/Classes/Particles/Size/Size.js +11 -7
- package/esm/Options/Classes/Particles/Size/SizeAnimation.js +0 -9
- package/esm/Options/Classes/ValueWithRandom.js +4 -17
- package/esm/Utils/CanvasUtils.js +18 -54
- package/esm/Utils/ColorUtils.js +17 -19
- package/esm/Utils/EventDispatcher.js +7 -6
- package/esm/Utils/HslColorManager.js +2 -4
- package/esm/Utils/NumberUtils.js +41 -45
- package/esm/Utils/RgbColorManager.js +2 -4
- package/esm/Utils/Utils.js +150 -59
- package/esm/bundle.js +4 -96
- package/esm/export-types.js +97 -0
- package/esm/exports.js +89 -0
- package/esm/index.js +8 -198
- package/esm/init.js +12 -0
- package/package.json +17 -2
- package/report.html +4 -4
- package/scripts/install.js +90 -33
- package/tsparticles.engine.js +1848 -1961
- package/tsparticles.engine.min.js +1 -1
- package/tsparticles.engine.min.js.LICENSE.txt +1 -10
- package/types/Core/Canvas.d.ts +20 -16
- package/types/Core/Container.d.ts +10 -14
- package/types/Core/Engine.d.ts +71 -0
- package/types/Core/Interfaces/IContainerPlugin.d.ts +2 -0
- package/types/Core/Interfaces/ICoordinates.d.ts +5 -3
- package/types/Core/Interfaces/IDimension.d.ts +4 -0
- package/types/Core/Interfaces/IMovePathGenerator.d.ts +2 -1
- package/types/Core/Interfaces/IParticleUpdater.d.ts +0 -2
- package/types/Core/Interfaces/IParticleValueAnimation.d.ts +2 -0
- package/types/Core/Interfaces/IPlugin.d.ts +4 -3
- package/types/Core/Particle.d.ts +7 -7
- package/types/Core/Particles.d.ts +14 -10
- package/types/Core/Utils/Constants.d.ts +4 -3
- package/types/Core/Utils/EventListeners.d.ts +20 -14
- package/types/Core/Utils/InteractionManager.d.ts +1 -1
- package/types/Core/Utils/QuadTree.d.ts +2 -5
- package/types/Core/Utils/Vector3d.d.ts +2 -1
- package/types/Enums/Modes/AnimationMode.d.ts +6 -0
- package/types/Enums/Modes/{SizeMode.d.ts → PixelMode.d.ts} +1 -1
- package/types/Options/Classes/AnimationOptions.d.ts +3 -1
- package/types/Options/Classes/ColorAnimation.d.ts +1 -0
- package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +0 -6
- package/types/Options/Classes/Interactivity/Events/Events.d.ts +0 -6
- package/types/Options/Classes/Interactivity/Interactivity.d.ts +1 -3
- package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +1 -1
- package/types/Options/Classes/ManualParticle.d.ts +2 -2
- package/types/Options/Classes/Options.d.ts +5 -12
- package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +2 -0
- package/types/Options/Classes/Particles/Move/Move.d.ts +0 -11
- package/types/Options/Classes/Particles/Move/MoveAttract.d.ts +0 -4
- package/types/Options/Classes/Particles/Move/MoveCenter.d.ts +2 -2
- package/types/Options/Classes/Particles/Move/MoveTrail.d.ts +0 -3
- package/types/Options/Classes/Particles/Move/Spin.d.ts +2 -2
- package/types/Options/Classes/Particles/Number/ParticlesDensity.d.ts +0 -6
- package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +0 -2
- package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +4 -4
- package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +0 -2
- package/types/Options/Classes/Particles/ParticlesOptions.d.ts +1 -1
- package/types/Options/Classes/Particles/Shape/Shape.d.ts +2 -0
- package/types/Options/Classes/Particles/Size/Size.d.ts +4 -4
- package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +0 -2
- package/types/Options/Classes/Responsive.d.ts +3 -3
- package/types/Options/Classes/Theme/Theme.d.ts +2 -2
- package/types/Options/Classes/ValueWithRandom.d.ts +2 -6
- package/types/Options/Interfaces/IAnimation.d.ts +3 -1
- package/types/Options/Interfaces/IManualParticle.d.ts +2 -2
- package/types/Options/Interfaces/IOptions.d.ts +1 -4
- package/types/Options/Interfaces/IResponsive.d.ts +4 -3
- package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +0 -3
- package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +0 -3
- package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +0 -1
- package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +2 -0
- package/types/Options/Interfaces/Particles/IStroke.d.ts +2 -1
- package/types/Options/Interfaces/Particles/Move/IMove.d.ts +0 -5
- package/types/Options/Interfaces/Particles/Move/IMoveAttract.d.ts +0 -2
- package/types/Options/Interfaces/Particles/Move/IMoveTrail.d.ts +0 -2
- package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Number/IParticlesDensity.d.ts +0 -3
- package/types/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +2 -0
- package/types/Options/Interfaces/Particles/Size/ISize.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +0 -1
- package/types/Options/Interfaces/Theme/ITheme.d.ts +3 -2
- package/types/Types/ExportResult.d.ts +5 -0
- package/types/Utils/CanvasUtils.d.ts +2 -5
- package/types/Utils/OptionsUtils.d.ts +1 -1
- package/types/Utils/Utils.d.ts +22 -4
- package/types/bundle.d.ts +2 -90
- package/types/export-types.d.ts +107 -0
- package/types/exports.d.ts +89 -0
- package/types/index.d.ts +3 -203
- package/types/init.d.ts +2 -0
- package/umd/Core/Canvas.js +269 -239
- package/umd/Core/Container.js +91 -107
- package/umd/Core/Engine.js +285 -0
- package/umd/Core/Particle.js +158 -162
- package/umd/Core/Particles.js +149 -135
- package/umd/Core/Retina.js +15 -13
- package/umd/Core/Utils/Circle.js +11 -7
- package/umd/Core/Utils/Constants.js +5 -4
- package/umd/Core/Utils/EventListeners.js +258 -219
- package/umd/Core/Utils/InteractionManager.js +6 -16
- package/umd/Core/Utils/QuadTree.js +14 -20
- package/umd/Core/Utils/Vector3d.js +18 -10
- package/umd/Options/Classes/AnimatableColor.js +3 -2
- package/umd/Options/Classes/AnimationOptions.js +7 -2
- package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +3 -2
- package/umd/Options/Classes/ColorAnimation.js +4 -0
- package/umd/Options/Classes/Interactivity/Events/DivEvent.js +1 -25
- package/umd/Options/Classes/Interactivity/Events/Events.js +6 -25
- package/umd/Options/Classes/Interactivity/Interactivity.js +1 -8
- package/umd/Options/Classes/Interactivity/Modes/Modes.js +11 -8
- package/umd/Options/Classes/ManualParticle.js +5 -5
- package/umd/Options/Classes/Options.js +18 -38
- package/umd/Options/Classes/OptionsColor.js +4 -3
- package/umd/Options/Classes/Particles/Collisions/Collisions.js +6 -1
- package/umd/Options/Classes/Particles/Move/Move.js +12 -42
- package/umd/Options/Classes/Particles/Move/MoveAttract.js +9 -20
- package/umd/Options/Classes/Particles/Move/MoveTrail.js +2 -8
- package/umd/Options/Classes/Particles/Move/OutModes.js +4 -5
- package/umd/Options/Classes/Particles/Move/Spin.js +3 -1
- package/umd/Options/Classes/Particles/Number/ParticlesDensity.js +2 -21
- package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +2 -9
- package/umd/Options/Classes/Particles/Opacity/Opacity.js +10 -6
- package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +0 -9
- package/umd/Options/Classes/Particles/ParticlesOptions.js +6 -11
- package/umd/Options/Classes/Particles/Shape/Shape.js +9 -2
- package/umd/Options/Classes/Particles/Size/Size.js +12 -8
- package/umd/Options/Classes/Particles/Size/SizeAnimation.js +0 -9
- package/umd/Options/Classes/ValueWithRandom.js +5 -18
- package/umd/Utils/CanvasUtils.js +21 -58
- package/umd/Utils/ColorUtils.js +16 -18
- package/umd/Utils/EventDispatcher.js +7 -6
- package/umd/Utils/HslColorManager.js +2 -4
- package/umd/Utils/NumberUtils.js +42 -46
- package/umd/Utils/RgbColorManager.js +2 -4
- package/umd/Utils/Utils.js +163 -63
- package/umd/bundle.js +5 -97
- package/umd/export-types.js +123 -0
- package/umd/exports.js +115 -0
- package/umd/index.js +9 -199
- package/umd/init.js +26 -0
- package/browser/Core/Utils/FrameManager.js +0 -42
- package/browser/Core/Utils/Plugins.js +0 -112
- package/browser/Options/Interfaces/Particles/Shape/IShapeValues.js +0 -1
- package/browser/Options/Interfaces/Particles/Shape/IStarShape.js +0 -1
- package/browser/engine.js +0 -175
- package/cjs/Core/Utils/FrameManager.js +0 -46
- package/cjs/Core/Utils/Plugins.js +0 -116
- package/cjs/Options/Interfaces/Particles/Shape/ICharacterShape.js +0 -2
- package/cjs/Options/Interfaces/Particles/Shape/IImageShape.js +0 -2
- package/cjs/Options/Interfaces/Particles/Shape/IPolygonShape.js +0 -2
- package/cjs/Options/Interfaces/Particles/Shape/IShapeValues.js +0 -17
- package/cjs/Options/Interfaces/Particles/Shape/IStarShape.js +0 -2
- package/cjs/engine.js +0 -179
- package/esm/Core/Interfaces/IParticleOverride.js +0 -1
- package/esm/Core/Interfaces/IParticlesMover.js +0 -1
- package/esm/Core/Utils/FrameManager.js +0 -42
- package/esm/Core/Utils/Plugins.js +0 -112
- package/esm/Enums/Modes/SizeMode.js +0 -1
- package/esm/Options/Interfaces/Particles/Shape/ICharacterShape.js +0 -1
- package/esm/Options/Interfaces/Particles/Shape/IImageShape.js +0 -1
- package/esm/Options/Interfaces/Particles/Shape/IPolygonShape.js +0 -1
- package/esm/Options/Interfaces/Particles/Shape/IShapeValues.js +0 -1
- package/esm/Options/Interfaces/Particles/Shape/IStarShape.js +0 -1
- package/esm/engine.js +0 -175
- package/types/Core/Interfaces/IParticleOverride.d.ts +0 -6
- package/types/Core/Interfaces/IParticlesMover.d.ts +0 -7
- package/types/Core/Utils/FrameManager.d.ts +0 -6
- package/types/Core/Utils/Plugins.d.ts +0 -51
- package/types/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +0 -8
- package/types/Options/Interfaces/Particles/Shape/IImageShape.d.ts +0 -8
- package/types/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +0 -5
- package/types/Options/Interfaces/Particles/Shape/IShapeValues.d.ts +0 -1
- package/types/Options/Interfaces/Particles/Shape/IStarShape.d.ts +0 -6
- package/types/engine.d.ts +0 -39
- package/umd/Core/Utils/FrameManager.js +0 -56
- package/umd/Core/Utils/Plugins.js +0 -126
- package/umd/Options/Interfaces/Particles/Shape/ICharacterShape.js +0 -12
- package/umd/Options/Interfaces/Particles/Shape/IImageShape.js +0 -12
- package/umd/Options/Interfaces/Particles/Shape/IPolygonShape.js +0 -12
- package/umd/Options/Interfaces/Particles/Shape/IShapeValues.js +0 -27
- package/umd/Options/Interfaces/Particles/Shape/IStarShape.js +0 -12
- package/umd/engine.js +0 -189
- /package/browser/{Core/Interfaces/IParticleOverride.js → Enums/Modes/AnimationMode.js} +0 -0
- /package/browser/{Core/Interfaces/IParticlesMover.js → Enums/Modes/PixelMode.js} +0 -0
- /package/browser/{Enums/Modes/SizeMode.js → Types/ExportResult.js} +0 -0
- /package/cjs/{Core/Interfaces/IParticleOverride.js → Enums/Modes/AnimationMode.js} +0 -0
- /package/cjs/{Core/Interfaces/IParticlesMover.js → Enums/Modes/PixelMode.js} +0 -0
- /package/cjs/{Enums/Modes/SizeMode.js → Types/ExportResult.js} +0 -0
- /package/{browser/Options/Interfaces/Particles/Shape/ICharacterShape.js → esm/Enums/Modes/AnimationMode.js} +0 -0
- /package/{browser/Options/Interfaces/Particles/Shape/IImageShape.js → esm/Enums/Modes/PixelMode.js} +0 -0
- /package/{browser/Options/Interfaces/Particles/Shape/IPolygonShape.js → esm/Types/ExportResult.js} +0 -0
- /package/umd/{Core/Interfaces/IParticleOverride.js → Enums/Modes/AnimationMode.js} +0 -0
- /package/umd/{Core/Interfaces/IParticlesMover.js → Enums/Modes/PixelMode.js} +0 -0
- /package/umd/{Enums/Modes/SizeMode.js → Types/ExportResult.js} +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export * from "./Core/Interfaces/Colors";
|
|
2
|
+
export * from "./Core/Interfaces/IBounds";
|
|
3
|
+
export * from "./Core/Interfaces/IBubbleParticleData";
|
|
4
|
+
export * from "./Core/Interfaces/ICircleBouncer";
|
|
5
|
+
export * from "./Core/Interfaces/IColorManager";
|
|
6
|
+
export * from "./Core/Interfaces/IContainerInteractivity";
|
|
7
|
+
export * from "./Core/Interfaces/IContainerPlugin";
|
|
8
|
+
export * from "./Core/Interfaces/ICoordinates";
|
|
9
|
+
export * from "./Core/Interfaces/IDelta";
|
|
10
|
+
export * from "./Core/Interfaces/IDimension";
|
|
11
|
+
export * from "./Core/Interfaces/IDistance";
|
|
12
|
+
export * from "./Core/Interfaces/IDrawParticleParams";
|
|
13
|
+
export * from "./Core/Interfaces/IExternalInteractor";
|
|
14
|
+
export * from "./Core/Interfaces/IInteractor";
|
|
15
|
+
export * from "./Core/Interfaces/ILoadParams";
|
|
16
|
+
export * from "./Core/Interfaces/IMouseData";
|
|
17
|
+
export * from "./Core/Interfaces/IMovePathGenerator";
|
|
18
|
+
export * from "./Core/Interfaces/IParticle";
|
|
19
|
+
export * from "./Core/Interfaces/IParticleColorStyle";
|
|
20
|
+
export * from "./Core/Interfaces/IParticleHslAnimation";
|
|
21
|
+
export * from "./Core/Interfaces/IParticleLife";
|
|
22
|
+
export * from "./Core/Interfaces/IParticleMover";
|
|
23
|
+
export * from "./Core/Interfaces/IParticleRetinaProps";
|
|
24
|
+
export * from "./Core/Interfaces/IParticleRoll";
|
|
25
|
+
export * from "./Core/Interfaces/IParticleTransformValues";
|
|
26
|
+
export * from "./Core/Interfaces/IParticleUpdater";
|
|
27
|
+
export * from "./Core/Interfaces/IParticleValueAnimation";
|
|
28
|
+
export * from "./Core/Interfaces/IParticlesInteractor";
|
|
29
|
+
export * from "./Core/Interfaces/IPlugin";
|
|
30
|
+
export * from "./Core/Interfaces/IPositionFromSizeParams";
|
|
31
|
+
export * from "./Core/Interfaces/IRangeValue";
|
|
32
|
+
export * from "./Core/Interfaces/IRectSideResult";
|
|
33
|
+
export * from "./Core/Interfaces/IShapeDrawer";
|
|
34
|
+
export * from "./Core/Interfaces/IShapeValues";
|
|
35
|
+
export * from "./Core/Interfaces/ISlowParticleData";
|
|
36
|
+
export * from "./Core/Interfaces/ITrailFillData";
|
|
37
|
+
export * from "./Options/Interfaces/Background/IBackground";
|
|
38
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
|
39
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
|
40
|
+
export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
|
41
|
+
export * from "./Options/Interfaces/IAnimatable";
|
|
42
|
+
export * from "./Options/Interfaces/IAnimatableColor";
|
|
43
|
+
export * from "./Options/Interfaces/IAnimation";
|
|
44
|
+
export * from "./Options/Interfaces/IColorAnimation";
|
|
45
|
+
export * from "./Options/Interfaces/IHslAnimation";
|
|
46
|
+
export * from "./Options/Interfaces/IManualParticle";
|
|
47
|
+
export * from "./Options/Interfaces/IOptionLoader";
|
|
48
|
+
export * from "./Options/Interfaces/IOptions";
|
|
49
|
+
export * from "./Options/Interfaces/IOptionsColor";
|
|
50
|
+
export * from "./Options/Interfaces/IResponsive";
|
|
51
|
+
export * from "./Options/Interfaces/IValueWithRandom";
|
|
52
|
+
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
|
53
|
+
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
|
54
|
+
export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
|
55
|
+
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
|
56
|
+
export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
|
57
|
+
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent";
|
|
58
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
|
59
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
|
60
|
+
export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
|
61
|
+
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
|
62
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
|
63
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb";
|
|
64
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
|
65
|
+
export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
|
66
|
+
export * from "./Options/Interfaces/Particles/IShadow";
|
|
67
|
+
export * from "./Options/Interfaces/Particles/IStroke";
|
|
68
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
|
69
|
+
export * from "./Options/Interfaces/Particles/Move/IMove";
|
|
70
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
|
71
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveCenter";
|
|
72
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
|
73
|
+
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
|
74
|
+
export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
|
75
|
+
export * from "./Options/Interfaces/Particles/Move/ISpin";
|
|
76
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
|
77
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
|
78
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
|
79
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
|
80
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
|
81
|
+
export * from "./Options/Interfaces/Particles/Shape/IShape";
|
|
82
|
+
export * from "./Options/Interfaces/Particles/Size/ISize";
|
|
83
|
+
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
|
84
|
+
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
|
85
|
+
export * from "./Options/Interfaces/Theme/ITheme";
|
|
86
|
+
export * from "./Options/Interfaces/Theme/IThemeDefault";
|
|
87
|
+
export * from "./Types/CustomEventArgs";
|
|
88
|
+
export * from "./Types/CustomEventListener";
|
|
89
|
+
export * from "./Types/ExportResult";
|
|
90
|
+
export * from "./Types/ISourceOptions";
|
|
91
|
+
export * from "./Types/ParticlesGroups";
|
|
92
|
+
export * from "./Types/PathOptions";
|
|
93
|
+
export * from "./Types/RangeValue";
|
|
94
|
+
export * from "./Types/RecursivePartial";
|
|
95
|
+
export * from "./Types/ShapeData";
|
|
96
|
+
export * from "./Types/ShapeDrawerFunctions";
|
|
97
|
+
export * from "./Types/SingleOrMultiple";
|
package/esm/exports.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export * from "./Core/Utils/Circle";
|
|
2
|
+
export * from "./Core/Utils/Constants";
|
|
3
|
+
export * from "./Core/Utils/ExternalInteractorBase";
|
|
4
|
+
export * from "./Core/Utils/ParticlesInteractorBase";
|
|
5
|
+
export * from "./Core/Utils/Point";
|
|
6
|
+
export * from "./Core/Utils/Range";
|
|
7
|
+
export * from "./Core/Utils/Rectangle";
|
|
8
|
+
export * from "./Core/Utils/Vector";
|
|
9
|
+
export * from "./Core/Utils/Vector3d";
|
|
10
|
+
export * from "./Enums/Directions/MoveDirection";
|
|
11
|
+
export * from "./Enums/Directions/RotateDirection";
|
|
12
|
+
export * from "./Enums/Directions/OutModeDirection";
|
|
13
|
+
export * from "./Enums/Modes/AnimationMode";
|
|
14
|
+
export * from "./Enums/Modes/ClickMode";
|
|
15
|
+
export * from "./Enums/Modes/DivMode";
|
|
16
|
+
export * from "./Enums/Modes/HoverMode";
|
|
17
|
+
export * from "./Enums/Modes/CollisionMode";
|
|
18
|
+
export * from "./Enums/Modes/OutMode";
|
|
19
|
+
export * from "./Enums/Modes/PixelMode";
|
|
20
|
+
export * from "./Enums/Modes/ThemeMode";
|
|
21
|
+
export * from "./Enums/Modes/ResponsiveMode";
|
|
22
|
+
export * from "./Enums/Types/AlterType";
|
|
23
|
+
export * from "./Enums/Types/DestroyType";
|
|
24
|
+
export * from "./Enums/Types/GradientType";
|
|
25
|
+
export * from "./Enums/Types/InteractorType";
|
|
26
|
+
export * from "./Enums/Types/ParticleOutType";
|
|
27
|
+
export * from "./Enums/Types/StartValueType";
|
|
28
|
+
export * from "./Enums/Types/DivType";
|
|
29
|
+
export * from "./Enums/Types/EasingType";
|
|
30
|
+
export * from "./Enums/Types/EventType";
|
|
31
|
+
export * from "./Enums/AnimationStatus";
|
|
32
|
+
export * from "./Enums/InteractivityDetect";
|
|
33
|
+
export * from "./Options/Classes/AnimatableColor";
|
|
34
|
+
export * from "./Options/Classes/AnimationOptions";
|
|
35
|
+
export * from "./Options/Classes/Background/Background";
|
|
36
|
+
export * from "./Options/Classes/BackgroundMask/BackgroundMask";
|
|
37
|
+
export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover";
|
|
38
|
+
export * from "./Options/Classes/ColorAnimation";
|
|
39
|
+
export * from "./Options/Classes/FullScreen/FullScreen";
|
|
40
|
+
export * from "./Options/Classes/HslAnimation";
|
|
41
|
+
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
42
|
+
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
43
|
+
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
44
|
+
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
45
|
+
export * from "./Options/Classes/Interactivity/Events/Events";
|
|
46
|
+
export * from "./Options/Classes/Interactivity/Events/HoverEvent";
|
|
47
|
+
export * from "./Options/Classes/Interactivity/Events/Parallax";
|
|
48
|
+
export * from "./Options/Classes/Interactivity/Events/ResizeEvent";
|
|
49
|
+
export * from "./Options/Classes/Interactivity/Interactivity";
|
|
50
|
+
export * from "./Options/Classes/Interactivity/Modes/Modes";
|
|
51
|
+
export * from "./Options/Classes/ManualParticle";
|
|
52
|
+
export * from "./Options/Classes/Options";
|
|
53
|
+
export * from "./Options/Classes/OptionsColor";
|
|
54
|
+
export * from "./Options/Classes/Particles/Bounce/ParticlesBounce";
|
|
55
|
+
export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor";
|
|
56
|
+
export * from "./Options/Classes/Particles/Collisions/Collisions";
|
|
57
|
+
export * from "./Options/Classes/Particles/Collisions/CollisionsAbsorb";
|
|
58
|
+
export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap";
|
|
59
|
+
export * from "./Options/Classes/Particles/ParticlesOptions";
|
|
60
|
+
export * from "./Options/Classes/Particles/Shadow";
|
|
61
|
+
export * from "./Options/Classes/Particles/Stroke";
|
|
62
|
+
export * from "./Options/Classes/Particles/Move/MoveAttract";
|
|
63
|
+
export * from "./Options/Classes/Particles/Move/Move";
|
|
64
|
+
export * from "./Options/Classes/Particles/Move/MoveAngle";
|
|
65
|
+
export * from "./Options/Classes/Particles/Move/MoveCenter";
|
|
66
|
+
export * from "./Options/Classes/Particles/Move/MoveGravity";
|
|
67
|
+
export * from "./Options/Classes/Particles/Move/OutModes";
|
|
68
|
+
export * from "./Options/Classes/Particles/Move/Path/MovePath";
|
|
69
|
+
export * from "./Options/Classes/Particles/Move/Spin";
|
|
70
|
+
export * from "./Options/Classes/Particles/Move/MoveTrail";
|
|
71
|
+
export * from "./Options/Classes/Particles/Number/ParticlesNumber";
|
|
72
|
+
export * from "./Options/Classes/Particles/Number/ParticlesDensity";
|
|
73
|
+
export * from "./Options/Classes/Particles/Opacity/Opacity";
|
|
74
|
+
export * from "./Options/Classes/Particles/Opacity/OpacityAnimation";
|
|
75
|
+
export * from "./Options/Classes/Particles/Shape/Shape";
|
|
76
|
+
export * from "./Options/Classes/Particles/Size/Size";
|
|
77
|
+
export * from "./Options/Classes/Particles/Size/SizeAnimation";
|
|
78
|
+
export * from "./Options/Classes/Particles/ZIndex/ZIndex";
|
|
79
|
+
export * from "./Options/Classes/Responsive";
|
|
80
|
+
export * from "./Options/Classes/Theme/Theme";
|
|
81
|
+
export * from "./Options/Classes/Theme/ThemeDefault";
|
|
82
|
+
export * from "./Options/Classes/ValueWithRandom";
|
|
83
|
+
export * from "./Utils/CanvasUtils";
|
|
84
|
+
export * from "./Utils/ColorUtils";
|
|
85
|
+
export * from "./Utils/HslColorManager";
|
|
86
|
+
export * from "./Utils/NumberUtils";
|
|
87
|
+
export * from "./Utils/OptionsUtils";
|
|
88
|
+
export * from "./Utils/RgbColorManager";
|
|
89
|
+
export * from "./Utils/Utils";
|
package/esm/index.js
CHANGED
|
@@ -1,199 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export * from "./Core/Interfaces/Colors";
|
|
10
|
-
export * from "./Core/Interfaces/IBounds";
|
|
11
|
-
export * from "./Core/Interfaces/IBubbleParticleData";
|
|
12
|
-
export * from "./Core/Interfaces/ICircleBouncer";
|
|
13
|
-
export * from "./Core/Interfaces/IColorManager";
|
|
14
|
-
export * from "./Core/Interfaces/IContainerInteractivity";
|
|
15
|
-
export * from "./Core/Interfaces/IContainerPlugin";
|
|
16
|
-
export * from "./Core/Interfaces/ICoordinates";
|
|
17
|
-
export * from "./Core/Interfaces/IDelta";
|
|
18
|
-
export * from "./Core/Interfaces/IDimension";
|
|
19
|
-
export * from "./Core/Interfaces/IDistance";
|
|
20
|
-
export * from "./Core/Interfaces/IDrawParticleParams";
|
|
21
|
-
export * from "./Core/Interfaces/IExternalInteractor";
|
|
22
|
-
export * from "./Core/Interfaces/IInteractor";
|
|
23
|
-
export * from "./Core/Interfaces/IMouseData";
|
|
24
|
-
export * from "./Core/Interfaces/IMovePathGenerator";
|
|
25
|
-
export * from "./Core/Interfaces/IParticle";
|
|
26
|
-
export * from "./Core/Interfaces/IParticleColorStyle";
|
|
27
|
-
export * from "./Core/Interfaces/IParticleHslAnimation";
|
|
28
|
-
export * from "./Core/Interfaces/IParticlesInteractor";
|
|
29
|
-
export * from "./Core/Interfaces/IParticleLife";
|
|
30
|
-
export * from "./Core/Interfaces/IParticleOverride";
|
|
31
|
-
export * from "./Core/Interfaces/IParticleRetinaProps";
|
|
32
|
-
export * from "./Core/Interfaces/IParticleRoll";
|
|
33
|
-
export * from "./Core/Interfaces/IParticleTransformValues";
|
|
34
|
-
export * from "./Core/Interfaces/IParticleUpdater";
|
|
35
|
-
export * from "./Core/Interfaces/IParticleValueAnimation";
|
|
36
|
-
export * from "./Core/Interfaces/IParticlesMover";
|
|
37
|
-
export * from "./Core/Interfaces/IPlugin";
|
|
38
|
-
export * from "./Core/Interfaces/IRangeValue";
|
|
39
|
-
export * from "./Core/Interfaces/IRectSideResult";
|
|
40
|
-
export * from "./Core/Interfaces/IShapeDrawer";
|
|
41
|
-
export * from "./Core/Interfaces/IShapeValues";
|
|
42
|
-
export * from "./Core/Interfaces/ISlowParticleData";
|
|
43
|
-
export * from "./Core/Interfaces/ITrailFillData";
|
|
44
|
-
export * from "./Core/Utils/Circle";
|
|
45
|
-
export * from "./Core/Utils/Constants";
|
|
46
|
-
export * from "./Core/Utils/ExternalInteractorBase";
|
|
47
|
-
export * from "./Core/Utils/ParticlesInteractorBase";
|
|
48
|
-
export * from "./Core/Utils/Point";
|
|
49
|
-
export * from "./Core/Utils/Range";
|
|
50
|
-
export * from "./Core/Utils/Rectangle";
|
|
51
|
-
export * from "./Core/Utils/Vector";
|
|
52
|
-
export * from "./Core/Utils/Vector3d";
|
|
53
|
-
export * from "./Enums/Directions/MoveDirection";
|
|
54
|
-
export * from "./Enums/Directions/RotateDirection";
|
|
55
|
-
export * from "./Enums/Directions/OutModeDirection";
|
|
56
|
-
export * from "./Enums/Modes/ClickMode";
|
|
57
|
-
export * from "./Enums/Modes/DivMode";
|
|
58
|
-
export * from "./Enums/Modes/HoverMode";
|
|
59
|
-
export * from "./Enums/Modes/CollisionMode";
|
|
60
|
-
export * from "./Enums/Modes/OutMode";
|
|
61
|
-
export * from "./Enums/Modes/SizeMode";
|
|
62
|
-
export * from "./Enums/Modes/ThemeMode";
|
|
63
|
-
export * from "./Enums/Modes/ResponsiveMode";
|
|
64
|
-
export * from "./Enums/Types/AlterType";
|
|
65
|
-
export * from "./Enums/Types/DestroyType";
|
|
66
|
-
export * from "./Enums/Types/GradientType";
|
|
67
|
-
export * from "./Enums/Types/InteractorType";
|
|
68
|
-
export * from "./Enums/Types/ParticleOutType";
|
|
69
|
-
export * from "./Enums/Types/StartValueType";
|
|
70
|
-
export * from "./Enums/Types/DivType";
|
|
71
|
-
export * from "./Enums/Types/EasingType";
|
|
72
|
-
export * from "./Enums/Types/EventType";
|
|
73
|
-
export * from "./Enums/AnimationStatus";
|
|
74
|
-
export * from "./Enums/InteractivityDetect";
|
|
75
|
-
export * from "./Options/Classes/AnimatableColor";
|
|
76
|
-
export * from "./Options/Classes/AnimationOptions";
|
|
77
|
-
export * from "./Options/Classes/Background/Background";
|
|
78
|
-
export * from "./Options/Classes/BackgroundMask/BackgroundMask";
|
|
79
|
-
export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover";
|
|
80
|
-
export * from "./Options/Classes/ColorAnimation";
|
|
81
|
-
export * from "./Options/Classes/FullScreen/FullScreen";
|
|
82
|
-
export * from "./Options/Classes/HslAnimation";
|
|
83
|
-
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
84
|
-
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
85
|
-
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
86
|
-
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
87
|
-
export * from "./Options/Classes/Interactivity/Events/Events";
|
|
88
|
-
export * from "./Options/Classes/Interactivity/Events/HoverEvent";
|
|
89
|
-
export * from "./Options/Classes/Interactivity/Events/Parallax";
|
|
90
|
-
export * from "./Options/Classes/Interactivity/Interactivity";
|
|
91
|
-
export * from "./Options/Classes/Interactivity/Modes/Modes";
|
|
92
|
-
export * from "./Options/Classes/Interactivity/Events/ResizeEvent";
|
|
93
|
-
export * from "./Options/Classes/ManualParticle";
|
|
94
|
-
export * from "./Options/Classes/Options";
|
|
95
|
-
export * from "./Options/Classes/OptionsColor";
|
|
96
|
-
export * from "./Options/Classes/Particles/Bounce/ParticlesBounce";
|
|
97
|
-
export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor";
|
|
98
|
-
export * from "./Options/Classes/Particles/Collisions/Collisions";
|
|
99
|
-
export * from "./Options/Classes/Particles/Collisions/CollisionsAbsorb";
|
|
100
|
-
export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap";
|
|
101
|
-
export * from "./Options/Classes/Particles/ParticlesOptions";
|
|
102
|
-
export * from "./Options/Classes/Particles/Shadow";
|
|
103
|
-
export * from "./Options/Classes/Particles/Stroke";
|
|
104
|
-
export * from "./Options/Classes/Particles/Move/MoveAttract";
|
|
105
|
-
export * from "./Options/Classes/Particles/Move/Move";
|
|
106
|
-
export * from "./Options/Classes/Particles/Move/MoveAngle";
|
|
107
|
-
export * from "./Options/Classes/Particles/Move/MoveCenter";
|
|
108
|
-
export * from "./Options/Classes/Particles/Move/MoveGravity";
|
|
109
|
-
export * from "./Options/Classes/Particles/Move/MoveTrail";
|
|
110
|
-
export * from "./Options/Classes/Particles/Move/MoveTrailFill";
|
|
111
|
-
export * from "./Options/Classes/Particles/Move/OutModes";
|
|
112
|
-
export * from "./Options/Classes/Particles/Move/Path/MovePath";
|
|
113
|
-
export * from "./Options/Classes/Particles/Move/Spin";
|
|
114
|
-
export * from "./Options/Classes/Particles/Number/ParticlesNumber";
|
|
115
|
-
export * from "./Options/Classes/Particles/Number/ParticlesDensity";
|
|
116
|
-
export * from "./Options/Classes/Particles/Opacity/Opacity";
|
|
117
|
-
export * from "./Options/Classes/Particles/Opacity/OpacityAnimation";
|
|
118
|
-
export * from "./Options/Classes/Particles/Shape/Shape";
|
|
119
|
-
export * from "./Options/Classes/Particles/Size/Size";
|
|
120
|
-
export * from "./Options/Classes/Particles/Size/SizeAnimation";
|
|
121
|
-
export * from "./Options/Classes/Particles/ZIndex/ZIndex";
|
|
122
|
-
export * from "./Options/Classes/Responsive";
|
|
123
|
-
export * from "./Options/Classes/Theme/Theme";
|
|
124
|
-
export * from "./Options/Classes/Theme/ThemeDefault";
|
|
125
|
-
export * from "./Options/Classes/ValueWithRandom";
|
|
126
|
-
export * from "./Options/Interfaces/Background/IBackground";
|
|
127
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
|
128
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
|
129
|
-
export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
|
130
|
-
export * from "./Options/Interfaces/IAnimatable";
|
|
131
|
-
export * from "./Options/Interfaces/IAnimatableColor";
|
|
132
|
-
export * from "./Options/Interfaces/IAnimation";
|
|
133
|
-
export * from "./Options/Interfaces/IColorAnimation";
|
|
134
|
-
export * from "./Options/Interfaces/IHslAnimation";
|
|
135
|
-
export * from "./Options/Interfaces/IManualParticle";
|
|
136
|
-
export * from "./Options/Interfaces/IOptionLoader";
|
|
137
|
-
export * from "./Options/Interfaces/IOptions";
|
|
138
|
-
export * from "./Options/Interfaces/IOptionsColor";
|
|
139
|
-
export * from "./Options/Interfaces/IResponsive";
|
|
140
|
-
export * from "./Options/Interfaces/IValueWithRandom";
|
|
141
|
-
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
|
142
|
-
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
|
143
|
-
export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
|
144
|
-
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
|
145
|
-
export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
|
146
|
-
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent";
|
|
147
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
|
148
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
|
149
|
-
export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
|
150
|
-
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
|
151
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
|
152
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb";
|
|
153
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
|
154
|
-
export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
|
155
|
-
export * from "./Options/Interfaces/Particles/IShadow";
|
|
156
|
-
export * from "./Options/Interfaces/Particles/IStroke";
|
|
157
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
|
158
|
-
export * from "./Options/Interfaces/Particles/Move/IMove";
|
|
159
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
|
160
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveCenter";
|
|
161
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
|
162
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
|
163
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveTrailFill";
|
|
164
|
-
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
|
165
|
-
export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
|
166
|
-
export * from "./Options/Interfaces/Particles/Move/ISpin";
|
|
167
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
|
168
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
|
169
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
|
170
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
|
171
|
-
export * from "./Options/Interfaces/Particles/Shape/ICharacterShape";
|
|
172
|
-
export * from "./Options/Interfaces/Particles/Shape/IImageShape";
|
|
173
|
-
export * from "./Options/Interfaces/Particles/Shape/IPolygonShape";
|
|
174
|
-
export * from "./Options/Interfaces/Particles/Shape/IShape";
|
|
175
|
-
export * from "./Options/Interfaces/Particles/Shape/IShapeValues";
|
|
176
|
-
export * from "./Options/Interfaces/Particles/Shape/IStarShape";
|
|
177
|
-
export * from "./Options/Interfaces/Particles/Size/ISize";
|
|
178
|
-
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
|
179
|
-
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
|
180
|
-
export * from "./Options/Interfaces/Theme/ITheme";
|
|
181
|
-
export * from "./Options/Interfaces/Theme/IThemeDefault";
|
|
182
|
-
export * from "./Types/CustomEventArgs";
|
|
183
|
-
export * from "./Types/CustomEventListener";
|
|
184
|
-
export * from "./Types/ISourceOptions";
|
|
185
|
-
export * from "./Types/ParticlesGroups";
|
|
186
|
-
export * from "./Types/PathOptions";
|
|
187
|
-
export * from "./Types/RangeValue";
|
|
188
|
-
export * from "./Types/RecursivePartial";
|
|
189
|
-
export * from "./Types/ShapeData";
|
|
190
|
-
export * from "./Types/ShapeDrawerFunctions";
|
|
191
|
-
export * from "./Types/SingleOrMultiple";
|
|
192
|
-
export * from "./Utils/CanvasUtils";
|
|
193
|
-
export * from "./Utils/ColorUtils";
|
|
194
|
-
export * from "./Utils/HslColorManager";
|
|
195
|
-
export * from "./Utils/NumberUtils";
|
|
196
|
-
export * from "./Utils/OptionsUtils";
|
|
197
|
-
export * from "./Utils/RgbColorManager";
|
|
198
|
-
export * from "./Utils/Utils";
|
|
1
|
+
import { init } from "./init";
|
|
2
|
+
import { isSsr } from "./Utils/Utils";
|
|
3
|
+
const tsParticles = init();
|
|
4
|
+
if (!isSsr()) {
|
|
5
|
+
window.tsParticles = tsParticles;
|
|
6
|
+
}
|
|
7
|
+
export * from "./exports";
|
|
8
|
+
export * from "./export-types";
|
|
199
9
|
export { tsParticles };
|
package/esm/init.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Engine } from "./Core/Engine";
|
|
2
|
+
import { HslColorManager } from "./Utils/HslColorManager";
|
|
3
|
+
import { RgbColorManager } from "./Utils/RgbColorManager";
|
|
4
|
+
import { addColorManager } from "./Utils/ColorUtils";
|
|
5
|
+
export function init() {
|
|
6
|
+
const rgbColorManager = new RgbColorManager(), hslColorManager = new HslColorManager();
|
|
7
|
+
addColorManager(rgbColorManager);
|
|
8
|
+
addColorManager(hslColorManager);
|
|
9
|
+
const engine = new Engine();
|
|
10
|
+
engine.init();
|
|
11
|
+
return engine;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/engine",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-beta.0",
|
|
4
4
|
"description": "Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"scripts": {
|
|
@@ -74,6 +74,10 @@
|
|
|
74
74
|
"type": "github",
|
|
75
75
|
"url": "https://github.com/sponsors/matteobruni"
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"type": "github",
|
|
79
|
+
"url": "https://github.com/sponsors/tsparticles"
|
|
80
|
+
},
|
|
77
81
|
{
|
|
78
82
|
"type": "buymeacoffee",
|
|
79
83
|
"url": "https://www.buymeacoffee.com/matteobruni"
|
|
@@ -84,7 +88,18 @@
|
|
|
84
88
|
"jsdelivr": "tsparticles.engine.min.js",
|
|
85
89
|
"unpkg": "tsparticles.engine.min.js",
|
|
86
90
|
"types": "types/index.d.ts",
|
|
91
|
+
"sideEffects": false,
|
|
92
|
+
"exports": {
|
|
93
|
+
".": {
|
|
94
|
+
"types": "./types/index.d.ts",
|
|
95
|
+
"import": "./esm/index.js",
|
|
96
|
+
"require": "./cjs/index.js",
|
|
97
|
+
"umd": "./umd/index.js",
|
|
98
|
+
"default": "./cjs/index.js"
|
|
99
|
+
},
|
|
100
|
+
"./package.json": "./package.json"
|
|
101
|
+
},
|
|
87
102
|
"publishConfig": {
|
|
88
103
|
"access": "public"
|
|
89
104
|
}
|
|
90
|
-
}
|
|
105
|
+
}
|