1 | import { Engine } from "./engine";
|
2 |
|
3 |
|
4 |
|
5 | const tsParticles = new Engine();
|
6 | tsParticles.init();
|
7 | export * from "./Core/Interfaces/Colors";
|
8 | export * from "./Core/Interfaces/Gradients";
|
9 | export * from "./Core/Interfaces/IBounds";
|
10 | export * from "./Core/Interfaces/IBubbleParticleData";
|
11 | export * from "./Core/Interfaces/ICircleBouncer";
|
12 | export * from "./Core/Interfaces/IContainerInteractivity";
|
13 | export * from "./Core/Interfaces/IContainerPlugin";
|
14 | export * from "./Core/Interfaces/ICoordinates";
|
15 | export * from "./Core/Interfaces/IDelta";
|
16 | export * from "./Core/Interfaces/IDimension";
|
17 | export * from "./Core/Interfaces/IDistance";
|
18 | export * from "./Core/Interfaces/IExternalInteractor";
|
19 | export * from "./Core/Interfaces/IInteractor";
|
20 | export * from "./Core/Interfaces/IMouseData";
|
21 | export * from "./Core/Interfaces/IMovePathGenerator";
|
22 | export * from "./Core/Interfaces/IParticle";
|
23 | export * from "./Core/Interfaces/IParticleColorStyle";
|
24 | export * from "./Core/Interfaces/IParticleGravity";
|
25 | export * from "./Core/Interfaces/IParticleHslAnimation";
|
26 | export * from "./Core/Interfaces/IParticlesInteractor";
|
27 | export * from "./Core/Interfaces/IParticleLife";
|
28 | export * from "./Core/Interfaces/IParticleLoops";
|
29 | export * from "./Core/Interfaces/IParticleRetinaProps";
|
30 | export * from "./Core/Interfaces/IParticleRoll";
|
31 | export * from "./Core/Interfaces/IParticleUpdater";
|
32 | export * from "./Core/Interfaces/IParticleValueAnimation";
|
33 | export * from "./Core/Interfaces/IParticleWobble";
|
34 | export * from "./Core/Interfaces/IParticlesMover";
|
35 | export * from "./Core/Interfaces/IPlugin";
|
36 | export * from "./Core/Interfaces/IRangeValue";
|
37 | export * from "./Core/Interfaces/IRectSideResult";
|
38 | export * from "./Core/Interfaces/IShapeDrawer";
|
39 | export * from "./Core/Interfaces/IShapeValues";
|
40 | export * from "./Core/Utils/Circle";
|
41 | export * from "./Core/Utils/CircleWarp";
|
42 | export * from "./Core/Utils/Constants";
|
43 | export * from "./Core/Utils/EventListeners";
|
44 | export * from "./Core/Utils/ExternalInteractorBase";
|
45 | export * from "./Core/Utils/FrameManager";
|
46 | export * from "./Core/Utils/InteractionManager";
|
47 | export * from "./Core/Utils/ParticlesInteractorBase";
|
48 | export * from "./Core/Utils/Plugins";
|
49 | export * from "./Core/Utils/Point";
|
50 | export * from "./Core/Utils/QuadTree";
|
51 | export * from "./Core/Utils/Range";
|
52 | export * from "./Core/Utils/Rectangle";
|
53 | export * from "./Core/Utils/Vector";
|
54 | export * from "./Core/Utils/Vector3d";
|
55 | export * from "./Core/Canvas";
|
56 | export * from "./Core/Container";
|
57 | export * from "./Core/Loader";
|
58 | export * from "./Core/Particle";
|
59 | export * from "./Core/Particles";
|
60 | export * from "./Core/Retina";
|
61 | export * from "./Enums/Directions/MoveDirection";
|
62 | export * from "./Enums/Directions/RotateDirection";
|
63 | export * from "./Enums/Directions/OutModeDirection";
|
64 | export * from "./Enums/Directions/TiltDirection";
|
65 | export * from "./Enums/Modes/ClickMode";
|
66 | export * from "./Enums/Modes/DestroyMode";
|
67 | export * from "./Enums/Modes/DivMode";
|
68 | export * from "./Enums/Modes/HoverMode";
|
69 | export * from "./Enums/Modes/CollisionMode";
|
70 | export * from "./Enums/Modes/OutMode";
|
71 | export * from "./Enums/Modes/RollMode";
|
72 | export * from "./Enums/Modes/SizeMode";
|
73 | export * from "./Enums/Modes/ThemeMode";
|
74 | export * from "./Enums/Modes/ResponsiveMode";
|
75 | export * from "./Enums/Types/AlterType";
|
76 | export * from "./Enums/Types/DestroyType";
|
77 | export * from "./Enums/Types/GradientType";
|
78 | export * from "./Enums/Types/InteractorType";
|
79 | export * from "./Enums/Types/ParticleOutType";
|
80 | export * from "./Enums/Types/StartValueType";
|
81 | export * from "./Enums/Types/DivType";
|
82 | export * from "./Enums/Types/EasingType";
|
83 | export * from "./Enums/AnimationStatus";
|
84 | export * from "./Enums/InteractivityDetect";
|
85 | export { Engine, Engine as Main };
|
86 | export * from "./Options/Classes/AnimatableColor";
|
87 | export * from "./Options/Classes/AnimatableGradient";
|
88 | export * from "./Options/Classes/AnimationOptions";
|
89 | export * from "./Options/Classes/Background/Background";
|
90 | export * from "./Options/Classes/BackgroundMask/BackgroundMask";
|
91 | export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover";
|
92 | export * from "./Options/Classes/ColorAnimation";
|
93 | export * from "./Options/Classes/FullScreen/FullScreen";
|
94 | export * from "./Options/Classes/HslAnimation";
|
95 | export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
96 | export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
97 | export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
98 | export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
99 | export * from "./Options/Classes/Interactivity/Events/Events";
|
100 | export * from "./Options/Classes/Interactivity/Events/HoverEvent";
|
101 | export * from "./Options/Classes/Interactivity/Events/Parallax";
|
102 | export * from "./Options/Classes/Interactivity/Interactivity";
|
103 | export * from "./Options/Classes/Interactivity/Modes/Attract";
|
104 | export * from "./Options/Classes/Interactivity/Modes/Bounce";
|
105 | export * from "./Options/Classes/Interactivity/Modes/Bubble";
|
106 | export * from "./Options/Classes/Interactivity/Modes/BubbleBase";
|
107 | export * from "./Options/Classes/Interactivity/Modes/BubbleDiv";
|
108 | export * from "./Options/Classes/Interactivity/Modes/Connect";
|
109 | export * from "./Options/Classes/Interactivity/Modes/ConnectLinks";
|
110 | export * from "./Options/Classes/Interactivity/Modes/Grab";
|
111 | export * from "./Options/Classes/Interactivity/Modes/GrabLinks";
|
112 | export * from "./Options/Classes/Interactivity/Modes/Light";
|
113 | export * from "./Options/Classes/Interactivity/Modes/LightArea";
|
114 | export * from "./Options/Classes/Interactivity/Modes/LightGradient";
|
115 | export * from "./Options/Classes/Interactivity/Modes/LightShadow";
|
116 | export * from "./Options/Classes/Interactivity/Modes/Modes";
|
117 | export * from "./Options/Classes/Interactivity/Modes/Push";
|
118 | export * from "./Options/Classes/Interactivity/Modes/Remove";
|
119 | export * from "./Options/Classes/Interactivity/Modes/Repulse";
|
120 | export * from "./Options/Classes/Interactivity/Modes/RepulseBase";
|
121 | export * from "./Options/Classes/Interactivity/Modes/RepulseDiv";
|
122 | export * from "./Options/Classes/Interactivity/Modes/Slow";
|
123 | export * from "./Options/Classes/Interactivity/Modes/Trail";
|
124 | export * from "./Options/Classes/ManualParticle";
|
125 | export * from "./Options/Classes/Motion/Motion";
|
126 | export * from "./Options/Classes/Motion/MotionReduce";
|
127 | export * from "./Options/Classes/Options";
|
128 | export * from "./Options/Classes/OptionsColor";
|
129 | export * from "./Options/Classes/Particles/Bounce/ParticlesBounce";
|
130 | export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor";
|
131 | export * from "./Options/Classes/Particles/Collisions/Collisions";
|
132 | export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap";
|
133 | export * from "./Options/Classes/Particles/Destroy/Destroy";
|
134 | export * from "./Options/Classes/Particles/Destroy/Split";
|
135 | export * from "./Options/Classes/Particles/Destroy/SplitFactor";
|
136 | export * from "./Options/Classes/Particles/Destroy/SplitRate";
|
137 | export * from "./Options/Classes/Particles/ParticlesOptions";
|
138 | export * from "./Options/Classes/Particles/Shadow";
|
139 | export * from "./Options/Classes/Particles/Stroke";
|
140 | export * from "./Options/Classes/Particles/Life/Life";
|
141 | export * from "./Options/Classes/Particles/Life/LifeDelay";
|
142 | export * from "./Options/Classes/Particles/Life/LifeDuration";
|
143 | export * from "./Options/Classes/Particles/Links/Links";
|
144 | export * from "./Options/Classes/Particles/Links/LinksShadow";
|
145 | export * from "./Options/Classes/Particles/Links/LinksTriangle";
|
146 | export * from "./Options/Classes/Particles/Move/MoveAttract";
|
147 | export * from "./Options/Classes/Particles/Move/Move";
|
148 | export * from "./Options/Classes/Particles/Move/MoveAngle";
|
149 | export * from "./Options/Classes/Particles/Move/MoveGravity";
|
150 | export * from "./Options/Classes/Particles/Move/OutModes";
|
151 | export * from "./Options/Classes/Particles/Move/Path/MovePath";
|
152 | export * from "./Options/Classes/Particles/Move/Path/MovePathDelay";
|
153 | export * from "./Options/Classes/Particles/Move/Spin";
|
154 | export * from "./Options/Classes/Particles/Move/MoveTrail";
|
155 | export * from "./Options/Classes/Particles/Number/ParticlesNumber";
|
156 | export * from "./Options/Classes/Particles/Number/ParticlesDensity";
|
157 | export * from "./Options/Classes/Particles/Opacity/Opacity";
|
158 | export * from "./Options/Classes/Particles/Opacity/OpacityAnimation";
|
159 | export * from "./Options/Classes/Particles/Orbit/Orbit";
|
160 | export * from "./Options/Classes/Particles/Orbit/OrbitRotation";
|
161 | export * from "./Options/Classes/Particles/Repulse/ParticlesRepulse";
|
162 | export * from "./Options/Classes/Particles/Roll/Roll";
|
163 | export * from "./Options/Classes/Particles/Roll/RollLight";
|
164 | export * from "./Options/Classes/Particles/Rotate/Rotate";
|
165 | export * from "./Options/Classes/Particles/Rotate/RotateAnimation";
|
166 | export * from "./Options/Classes/Particles/Shape/Shape";
|
167 | export * from "./Options/Classes/Particles/Size/Size";
|
168 | export * from "./Options/Classes/Particles/Size/SizeAnimation";
|
169 | export * from "./Options/Classes/Particles/Tilt/Tilt";
|
170 | export * from "./Options/Classes/Particles/Tilt/TiltAnimation";
|
171 | export * from "./Options/Classes/Particles/Twinkle/Twinkle";
|
172 | export * from "./Options/Classes/Particles/Twinkle/TwinkleValues";
|
173 | export * from "./Options/Classes/Particles/Wobble/Wobble";
|
174 | export * from "./Options/Classes/Particles/ZIndex/ZIndex";
|
175 | export * from "./Options/Classes/Responsive";
|
176 | export * from "./Options/Classes/Theme/Theme";
|
177 | export * from "./Options/Classes/Theme/ThemeDefault";
|
178 | export * from "./Options/Classes/ValueWithRandom";
|
179 | export * from "./Options/Interfaces/Background/IBackground";
|
180 | export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
181 | export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
182 | export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
183 | export * from "./Options/Interfaces/IAnimatable";
|
184 | export * from "./Options/Interfaces/IAnimatableColor";
|
185 | export * from "./Options/Interfaces/IAnimatableGradient";
|
186 | export * from "./Options/Interfaces/IAnimation";
|
187 | export * from "./Options/Interfaces/IColorAnimation";
|
188 | export * from "./Options/Interfaces/IHslAnimation";
|
189 | export * from "./Options/Interfaces/IManualParticle";
|
190 | export * from "./Options/Interfaces/IOptionLoader";
|
191 | export * from "./Options/Interfaces/IOptions";
|
192 | export * from "./Options/Interfaces/IOptionsColor";
|
193 | export * from "./Options/Interfaces/IOptionsGradient";
|
194 | export * from "./Options/Interfaces/IResponsive";
|
195 | export * from "./Options/Interfaces/IValueWithRandom";
|
196 | export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
197 | export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
198 | export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
199 | export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
200 | export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
201 | export * from "./Options/Interfaces/Interactivity/Modes/IAttract";
|
202 | export * from "./Options/Interfaces/Interactivity/Modes/IBounce";
|
203 | export * from "./Options/Interfaces/Interactivity/Modes/IBubble";
|
204 | export * from "./Options/Interfaces/Interactivity/Modes/IBubbleBase";
|
205 | export * from "./Options/Interfaces/Interactivity/Modes/IBubbleDiv";
|
206 | export * from "./Options/Interfaces/Interactivity/Modes/IConnect";
|
207 | export * from "./Options/Interfaces/Interactivity/Modes/IConnectLinks";
|
208 | export * from "./Options/Interfaces/Interactivity/Modes/IGrab";
|
209 | export * from "./Options/Interfaces/Interactivity/Modes/IGrabLinks";
|
210 | export * from "./Options/Interfaces/Interactivity/Modes/ILight";
|
211 | export * from "./Options/Interfaces/Interactivity/Modes/ILightArea";
|
212 | export * from "./Options/Interfaces/Interactivity/Modes/ILightGradient";
|
213 | export * from "./Options/Interfaces/Interactivity/Modes/ILightShadow";
|
214 | export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
215 | export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
216 | export * from "./Options/Interfaces/Interactivity/Modes/IPush";
|
217 | export * from "./Options/Interfaces/Interactivity/Modes/IRemove";
|
218 | export * from "./Options/Interfaces/Interactivity/Modes/IRepulse";
|
219 | export * from "./Options/Interfaces/Interactivity/Modes/IRepulseBase";
|
220 | export * from "./Options/Interfaces/Interactivity/Modes/IRepulseDiv";
|
221 | export * from "./Options/Interfaces/Interactivity/Modes/ISlow";
|
222 | export * from "./Options/Interfaces/Interactivity/Modes/ITrail";
|
223 | export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
224 | export * from "./Options/Interfaces/Motion/IMotion";
|
225 | export * from "./Options/Interfaces/Motion/IMotionReduce";
|
226 | export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
227 | export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
228 | export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
229 | export * from "./Options/Interfaces/Particles/Destroy/IDestroy";
|
230 | export * from "./Options/Interfaces/Particles/Destroy/ISplit";
|
231 | export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
232 | export * from "./Options/Interfaces/Particles/IShadow";
|
233 | export * from "./Options/Interfaces/Particles/IStroke";
|
234 | export * from "./Options/Interfaces/Particles/Life/ILife";
|
235 | export * from "./Options/Interfaces/Particles/Life/ILifeDelay";
|
236 | export * from "./Options/Interfaces/Particles/Life/ILifeDuration";
|
237 | export * from "./Options/Interfaces/Particles/Links/ILinks";
|
238 | export * from "./Options/Interfaces/Particles/Links/ILinksShadow";
|
239 | export * from "./Options/Interfaces/Particles/Links/ILinksTriangle";
|
240 | export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
241 | export * from "./Options/Interfaces/Particles/Move/IMove";
|
242 | export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
243 | export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
244 | export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
245 | export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
246 | export * from "./Options/Interfaces/Particles/Move/ISpin";
|
247 | export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
248 | export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
249 | export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
250 | export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
251 | export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
252 | export * from "./Options/Interfaces/Particles/Orbit/IOrbit";
|
253 | export * from "./Options/Interfaces/Particles/Repulse/IParticlesRepulse";
|
254 | export * from "./Options/Interfaces/Particles/Roll/IRoll";
|
255 | export * from "./Options/Interfaces/Particles/Roll/IRollLight";
|
256 | export * from "./Options/Interfaces/Particles/Rotate/IRotate";
|
257 | export * from "./Options/Interfaces/Particles/Rotate/IRotateAnimation";
|
258 | export * from "./Options/Interfaces/Particles/Shape/ICharacterShape";
|
259 | export * from "./Options/Interfaces/Particles/Shape/IImageShape";
|
260 | export * from "./Options/Interfaces/Particles/Shape/IPolygonShape";
|
261 | export * from "./Options/Interfaces/Particles/Shape/IShape";
|
262 | export * from "./Options/Interfaces/Particles/Shape/IShapeValues";
|
263 | export * from "./Options/Interfaces/Particles/Shape/IStarShape";
|
264 | export * from "./Options/Interfaces/Particles/Size/ISize";
|
265 | export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
266 | export * from "./Options/Interfaces/Particles/Tilt/ITilt";
|
267 | export * from "./Options/Interfaces/Particles/Tilt/ITiltAnimation";
|
268 | export * from "./Options/Interfaces/Particles/Twinkle/ITwinkle";
|
269 | export * from "./Options/Interfaces/Particles/Twinkle/ITwinkleValues";
|
270 | export * from "./Options/Interfaces/Particles/Wobble/IWobble";
|
271 | export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
272 | export * from "./Options/Interfaces/Theme/ITheme";
|
273 | export * from "./Options/Interfaces/Theme/IThemeDefault";
|
274 | export * from "./Types/RangeValue";
|
275 | export * from "./Types/RecursivePartial";
|
276 | export * from "./Types/ShapeData";
|
277 | export * from "./Types/ShapeDrawerFunctions";
|
278 | export * from "./Types/SingleOrMultiple";
|
279 | export * from "./Types/PathOptions";
|
280 | export * from "./Utils/CanvasUtils";
|
281 | export * from "./Utils/ColorUtils";
|
282 | export * from "./Utils/NumberUtils";
|
283 | export * from "./Utils/Utils";
|
284 | export { tsParticles };
|