DEV Community

Cover image for tsParticles 2.6.0 Released
Matteo Bruni for tsParticles

Posted on

tsParticles 2.6.0 Released

tsParticles 2.6.0 Changelog

Bug Fixes

  • Improved angular component id management
  • Fixed multiline text shape (and relative demo)
  • Fixed issues with links colors and themes, fixes #4841

New Features

  • Added new resize object to interactivity options, can change the debounce delay, fixes #4803
  • WordPress plugin is now localizable, closes #4807

Other Changes

  • Fixed dependencies charts on README files, closes #4763
  • Added reset to path generators, this fixes issues with sea anemone and polygon path plugins


Social links

GitHub logo matteobruni / tsparticles

tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

Top comments (2)

developertugrul profile image

hello, thanks for sharing. It is really nice confetti animation. I am using it in my several projects but I couldn't any way to set animation time. I wanted to play all animation for 2 seconds. Can you say how ?

matteobruni profile image
Matteo Bruni

If you are using standard tsParticles options, there is a duration field in the root object, that sets how long the effect will last, the value is in seconds.
If you are using the confetti alias function from tsparticles-confetti, there is the ticks field, that values is used to calculate how fast the confetti will become transparent. Converting it to seconds can be hard to explain, it's easier to try some values and see the effect if it's nice.