1 | import { Engine } from "./engine";
|
2 | import { HslColorManager } from "./Utils/HslColorManager";
|
3 | import { RgbColorManager } from "./Utils/RgbColorManager";
|
4 | import { addColorManager } from "./Utils/ColorUtils";
|
5 | const rgbColorManager = new RgbColorManager(), hslColorManager = new HslColorManager();
|
6 | addColorManager(rgbColorManager);
|
7 | addColorManager(hslColorManager);
|
8 | const tsParticles = new Engine();
|
9 | tsParticles.init();
|
10 | export * from "./Core/Interfaces/Colors";
|
11 | export * from "./Core/Interfaces/IBounds";
|
12 | export * from "./Core/Interfaces/IBubbleParticleData";
|
13 | export * from "./Core/Interfaces/ICircleBouncer";
|
14 | export * from "./Core/Interfaces/IColorManager";
|
15 | export * from "./Core/Interfaces/IContainerInteractivity";
|
16 | export * from "./Core/Interfaces/IContainerPlugin";
|
17 | export * from "./Core/Interfaces/ICoordinates";
|
18 | export * from "./Core/Interfaces/IDelta";
|
19 | export * from "./Core/Interfaces/IDimension";
|
20 | export * from "./Core/Interfaces/IDistance";
|
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/IParticleRetinaProps";
|
31 | export * from "./Core/Interfaces/IParticleRoll";
|
32 | export * from "./Core/Interfaces/IParticleTransformValues";
|
33 | export * from "./Core/Interfaces/IParticleUpdater";
|
34 | export * from "./Core/Interfaces/IParticleValueAnimation";
|
35 | export * from "./Core/Interfaces/IParticlesMover";
|
36 | export * from "./Core/Interfaces/IPlugin";
|
37 | export * from "./Core/Interfaces/IRangeValue";
|
38 | export * from "./Core/Interfaces/IRectSideResult";
|
39 | export * from "./Core/Interfaces/IShapeDrawer";
|
40 | export * from "./Core/Interfaces/IShapeValues";
|
41 | export * from "./Core/Interfaces/ISlowParticleData";
|
42 | export * from "./Core/Utils/Circle";
|
43 | export * from "./Core/Utils/Constants";
|
44 | export * from "./Core/Utils/ExternalInteractorBase";
|
45 | export * from "./Core/Utils/ParticlesInteractorBase";
|
46 | export * from "./Core/Utils/Point";
|
47 | export * from "./Core/Utils/Range";
|
48 | export * from "./Core/Utils/Rectangle";
|
49 | export * from "./Core/Utils/Vector";
|
50 | export * from "./Core/Utils/Vector3d";
|
51 | export * from "./Enums/Directions/MoveDirection";
|
52 | export * from "./Enums/Directions/RotateDirection";
|
53 | export * from "./Enums/Directions/OutModeDirection";
|
54 | export * from "./Enums/Modes/ClickMode";
|
55 | export * from "./Enums/Modes/DivMode";
|
56 | export * from "./Enums/Modes/HoverMode";
|
57 | export * from "./Enums/Modes/CollisionMode";
|
58 | export * from "./Enums/Modes/OutMode";
|
59 | export * from "./Enums/Modes/SizeMode";
|
60 | export * from "./Enums/Modes/ThemeMode";
|
61 | export * from "./Enums/Modes/ResponsiveMode";
|
62 | export * from "./Enums/Types/AlterType";
|
63 | export * from "./Enums/Types/DestroyType";
|
64 | export * from "./Enums/Types/GradientType";
|
65 | export * from "./Enums/Types/InteractorType";
|
66 | export * from "./Enums/Types/ParticleOutType";
|
67 | export * from "./Enums/Types/StartValueType";
|
68 | export * from "./Enums/Types/DivType";
|
69 | export * from "./Enums/Types/EasingType";
|
70 | export * from "./Enums/Types/EventType";
|
71 | export * from "./Enums/AnimationStatus";
|
72 | export * from "./Enums/InteractivityDetect";
|
73 | export * from "./Options/Classes/AnimatableColor";
|
74 | export * from "./Options/Classes/AnimationOptions";
|
75 | export * from "./Options/Classes/Background/Background";
|
76 | export * from "./Options/Classes/BackgroundMask/BackgroundMask";
|
77 | export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover";
|
78 | export * from "./Options/Classes/ColorAnimation";
|
79 | export * from "./Options/Classes/FullScreen/FullScreen";
|
80 | export * from "./Options/Classes/HslAnimation";
|
81 | export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
82 | export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
83 | export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
84 | export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
85 | export * from "./Options/Classes/Interactivity/Events/Events";
|
86 | export * from "./Options/Classes/Interactivity/Events/HoverEvent";
|
87 | export * from "./Options/Classes/Interactivity/Events/Parallax";
|
88 | export * from "./Options/Classes/Interactivity/Interactivity";
|
89 | export * from "./Options/Classes/Interactivity/Modes/Modes";
|
90 | export * from "./Options/Classes/ManualParticle";
|
91 | export * from "./Options/Classes/Options";
|
92 | export * from "./Options/Classes/OptionsColor";
|
93 | export * from "./Options/Classes/Particles/Bounce/ParticlesBounce";
|
94 | export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor";
|
95 | export * from "./Options/Classes/Particles/Collisions/Collisions";
|
96 | export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap";
|
97 | export * from "./Options/Classes/Particles/ParticlesOptions";
|
98 | export * from "./Options/Classes/Particles/Shadow";
|
99 | export * from "./Options/Classes/Particles/Stroke";
|
100 | export * from "./Options/Classes/Particles/Move/MoveAttract";
|
101 | export * from "./Options/Classes/Particles/Move/Move";
|
102 | export * from "./Options/Classes/Particles/Move/MoveAngle";
|
103 | export * from "./Options/Classes/Particles/Move/MoveCenter";
|
104 | export * from "./Options/Classes/Particles/Move/MoveGravity";
|
105 | export * from "./Options/Classes/Particles/Move/OutModes";
|
106 | export * from "./Options/Classes/Particles/Move/Path/MovePath";
|
107 | export * from "./Options/Classes/Particles/Move/Spin";
|
108 | export * from "./Options/Classes/Particles/Move/MoveTrail";
|
109 | export * from "./Options/Classes/Particles/Number/ParticlesNumber";
|
110 | export * from "./Options/Classes/Particles/Number/ParticlesDensity";
|
111 | export * from "./Options/Classes/Particles/Opacity/Opacity";
|
112 | export * from "./Options/Classes/Particles/Opacity/OpacityAnimation";
|
113 | export * from "./Options/Classes/Particles/Shape/Shape";
|
114 | export * from "./Options/Classes/Particles/Size/Size";
|
115 | export * from "./Options/Classes/Particles/Size/SizeAnimation";
|
116 | export * from "./Options/Classes/Particles/ZIndex/ZIndex";
|
117 | export * from "./Options/Classes/Responsive";
|
118 | export * from "./Options/Classes/Theme/Theme";
|
119 | export * from "./Options/Classes/Theme/ThemeDefault";
|
120 | export * from "./Options/Classes/ValueWithRandom";
|
121 | export * from "./Options/Interfaces/Background/IBackground";
|
122 | export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
123 | export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
124 | export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
125 | export * from "./Options/Interfaces/IAnimatable";
|
126 | export * from "./Options/Interfaces/IAnimatableColor";
|
127 | export * from "./Options/Interfaces/IAnimation";
|
128 | export * from "./Options/Interfaces/IColorAnimation";
|
129 | export * from "./Options/Interfaces/IHslAnimation";
|
130 | export * from "./Options/Interfaces/IManualParticle";
|
131 | export * from "./Options/Interfaces/IOptionLoader";
|
132 | export * from "./Options/Interfaces/IOptions";
|
133 | export * from "./Options/Interfaces/IOptionsColor";
|
134 | export * from "./Options/Interfaces/IResponsive";
|
135 | export * from "./Options/Interfaces/IValueWithRandom";
|
136 | export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
137 | export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
138 | export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
139 | export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
140 | export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
141 | export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
142 | export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
143 | export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
144 | export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
145 | export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
146 | export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
147 | export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
148 | export * from "./Options/Interfaces/Particles/IShadow";
|
149 | export * from "./Options/Interfaces/Particles/IStroke";
|
150 | export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
151 | export * from "./Options/Interfaces/Particles/Move/IMove";
|
152 | export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
153 | export * from "./Options/Interfaces/Particles/Move/IMoveCenter";
|
154 | export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
155 | export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
156 | export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
157 | export * from "./Options/Interfaces/Particles/Move/ISpin";
|
158 | export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
159 | export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
160 | export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
161 | export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
162 | export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
163 | export * from "./Options/Interfaces/Particles/Shape/ICharacterShape";
|
164 | export * from "./Options/Interfaces/Particles/Shape/IImageShape";
|
165 | export * from "./Options/Interfaces/Particles/Shape/IPolygonShape";
|
166 | export * from "./Options/Interfaces/Particles/Shape/IShape";
|
167 | export * from "./Options/Interfaces/Particles/Shape/IShapeValues";
|
168 | export * from "./Options/Interfaces/Particles/Shape/IStarShape";
|
169 | export * from "./Options/Interfaces/Particles/Size/ISize";
|
170 | export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
171 | export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
172 | export * from "./Options/Interfaces/Theme/ITheme";
|
173 | export * from "./Options/Interfaces/Theme/IThemeDefault";
|
174 | export * from "./Types/CustomEventArgs";
|
175 | export * from "./Types/CustomEventListener";
|
176 | export * from "./Types/ParticlesGroups";
|
177 | export * from "./Types/PathOptions";
|
178 | export * from "./Types/RangeValue";
|
179 | export * from "./Types/RecursivePartial";
|
180 | export * from "./Types/ShapeData";
|
181 | export * from "./Types/ShapeDrawerFunctions";
|
182 | export * from "./Types/SingleOrMultiple";
|
183 | export * from "./Utils/CanvasUtils";
|
184 | export * from "./Utils/ColorUtils";
|
185 | export * from "./Utils/HslColorManager";
|
186 | export * from "./Utils/NumberUtils";
|
187 | export * from "./Utils/OptionsUtils";
|
188 | export * from "./Utils/RgbColorManager";
|
189 | export * from "./Utils/Utils";
|
190 | export { tsParticles };
|
191 | export { CollisionsAbsorb } from "./Options/Classes/Particles/Collisions/CollisionsAbsorb";
|
192 | export { ResizeEvent } from "./Options/Classes/Interactivity/Events/ResizeEvent";
|