ReadonlycolorThe color managers map
ReadonlyeasingThe easing functions map
ReadonlyinitializersThe initializers map
ReadonlypalettesThe palettes map
ReadonlypluginsThe plugins array
ReadonlypresetsThe presets map
Registers a color manager.
Color manager identifier.
Color manager implementation.
Adds a config to the manager
the configuration to add
Registers an easing function.
Easing identifier.
Easing function implementation.
addEffect adds effect to tsParticles, it will be available to all future instances created
the effect name
the effect drawer function or class instance that draws the effect in the canvas
Adds a palette to the manager
the palette name
the palette to add
Adds a particle updater to the collection
the particle updater name used as a key
the particle updater initializer
addPreset adds preset to tsParticles, it will be available to all future instances created
the preset name
the options to add to the preset
if true, the preset will override any existing with the same name
addShape adds shape to tsParticles, it will be available to all future instances created
the shape names to add, it can be a single shape or an array of shapes
the shape drawer function or class instance that draws the shape in the canvas
Gets an easing function by name.
Easing identifier.
The easing function, or a passthrough easing if not found.
Gets a palette by name
the palette name
the palette if found
Searches if the specified plugin exists and returns it
the plugin name
the plugin if found, or undefined
Searches the preset with the given name
the preset name to search
the preset if found, or undefined
init method, used by imports
Registers plugin loaders
the plugin loader functions to register
Stores and resolves plugins, shapes, effects, palettes and updaters.