DEV Community

Cover image for tsParticles 2.12.0 Released
Matteo Bruni for tsParticles

Posted on

tsParticles 2.12.0 Released

tsParticles v2.12.0 Changelog

Bug Fixes

  • Fixed pool on particles destroyed by updaters
  • Fixed out modes, bounce was not checking the direction of the update request
  • Fixed issue with change theme when an existing canvas is used
  • Fixed updates on particles destroyed by updaters, that section wasn't using the memory pool for reusing old particles instead of creating new ones.
  • Fixed memory leak in destroyed particles by updaters, the z array wasn't filtered, thanks to @longnguyen2004, closes #5101
  • Fixed light interaction, particle shadow wasn't calculated correctly

New Features

  • Added range values to life duration and delay of emitters
  • Added two new bundles
    • tsparticles-basic: minimum plugins for having circular dots moving in the canvas, common package for all bundles, and presets after this is released. Packages included:
      • tsparticles-engine
      • tsparticles-move-base
      • tsparticles-shape-circle
      • tsparticles-updater-color
      • tsparticles-updater-opacity
      • tsparticles-updater-out-modes
      • tsparticles-updater-size
    • tsparticles-all: a package that includes all the plugins, it's not a best practice to use this, but the easiest way for trying every feature available for sure. It will be used mainly in the website.


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 (0)