IModes: Record<string, unknown>

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/tsparticles/tsparticles/tree/main/plugins/emitters
absorber object / array See Absorbers documentation https://github.com/tsparticles/tsparticles/tree/main/plugins/absorbers