particles.js icon indicating copy to clipboard operation
particles.js copied to clipboard

adding onclick pause option

Open ajmendez opened this issue 8 years ago • 2 comments

Added the ability to pause the motion of particles by clicking on the canvas. This may be a simple solution to this issue: https://github.com/VincentGarreau/particles.js/issues/88

I did not add it to the onhover mode as that it resets the locations of the particles.

Also, I am not sure which minifier you use so I have not updated the .min.js file.

ajmendez avatar Jan 29 '16 16:01 ajmendez

Thanks @ajmendez that was exactly what I needed!

P4KM4N avatar Jul 04 '17 20:07 P4KM4N

Implemented here https://github.com/matteobruni/tsparticles/commit/de1f69f7faec365d21b8208a830ab47be847b98a

matteobruni avatar May 13 '20 11:05 matteobruni