More custom options for external plugins or customizations
Sets if the animations should start automatically or manually
Background options, these background options will be used to the canvas element, they are all CSS properties
Background Mask options, what's behind the canvas will become hidden and particles will uncover it
Sets the animated background mode for particles canvas bringing it to the back
Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
The Particles effect duration in seconds, then the container will be destroyed
The FPS (Frame Per Second) limit applied to all particles animations.
The Frame Per Second limit applied to all particles animations.
Sets the animated background mode for particles canvas bringing it to the back
The particles interaction options
Particles inserted at load time with a specific position
Handles user's preferences about motion
The particles options
Enables or disabled the animation on window blur
Enable or disabled the animation if the element is outside the viewport
This property will be used to add specified presets to the options
This sets custom options based on canvas size
Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
User-defined themes that can be retrieved by the particles Container
The maximum layers used in the z-axis
The Options interface, defines all the options that can be used by
tsParticles
Options
autoPlay
boolean
true
/false
background
object
backgroundMask
object
detectRetina
boolean
true
/false
retina_detect
propertyduration
number
/range
60
/{ min: 30, max: 90 }
fpsLimit
number
60
60
, replaces the oldfps_limit
propertyfullScreen
object
/boolean
true
/false
interactivity
object
manualParticles
array
motion
object
particles
object
pauseOnBlur
boolean
true
/false
pauseOnOutsideViewport
boolean
true
/false
preset
string
/array
"basic"
[ "links", "confetti" ]
npm
hereresponsive
array
themes
array
Plugins
These options are not part of the slim bundle
absorbers
object
/array
emitters
object
/array
polygonMask
object