Options
All
  • Public
  • Public/Protected
  • All
Menu

Interactivity Modes

key option type example notes
connect.distance number 100
connect.radius number 60
connect.links.opacity number 0...1
grab.distance number 100
grab.links.opacity number 0...1
bubble.distance number 100
bubble.size number 40
bubble.duration number 0.4 seconds
repulse.distance number 200
repulse.duration number 1.2 seconds
push.quantity number 4
remove.quantity number 4
emitter object / array See Emitters documentation https://github.com/matteobruni/tsparticles/tree/main/plugins/emitters
absorber object / array See Absorbers documentation https://github.com/matteobruni/tsparticles/tree/main/plugins/absorbers

Hierarchy

  • Modes

Implements

Index

Constructors

Properties

attract: Attract
bounce: Bounce
bubble: Bubble
connect: Connect
grab: Grab
light: Light
push: Push
remove: Remove
repulse: Repulse
slow: Slow
trail: Trail

Methods