ReadonlycolorThe color managers map
ReadonlyeasingThe easing functions map
ReadonlyeffectThe drawers (additional effects) array
ReadonlyinitializersThe initializers map
ReadonlypalettesThe palettes map
ReadonlypluginsThe plugins array
ReadonlypresetsThe presets map
ReadonlyshapeThe drawers (additional shapes) array
ReadonlyupdatersThe updaters array
The configs record
Registers a color manager.
Color manager identifier.
Color manager implementation.
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
Clears plugins for a container
the container to clear plugins for
Gets an easing function by name.
Easing identifier.
The easing function, or a passthrough easing if not found.
Gets the effect drawers for a container
the container to get effect drawers for
if true, reloads the effect drawers
the effect drawers map
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
Gets the shape drawers for a container
the container to get shape drawers for
if true, reloads the shape drawers
the shape drawers map
Returns all the container particle updaters
the container used to check which particle updaters are enabled
if true reloads the updater collection for the given container
the array of updaters for the given container
init method, used by imports
Loads particles options for all updaters.
the container of the updaters
the actual options to set
the source options to read
Registers plugin loaders
the plugin loader functions to register
Stores and resolves plugins, shapes, effects, palettes and updaters.