tsParticles 2.2.0 Released

matteobruni

Matteo Bruni

Posted on August 11, 2022

tsParticles 2.2.0 Released

tsParticles 2.2.0 Changelog

New Features

  • Container now can have more than one path generator, each particle will keep its own
  • Added new getRandom and setRandom functions for customizing all the random behaviors, it's recommended to use the getRandom function instead of Math.random when writing plugins, so the randomness can be customized as expected
  • Image Shape now supports multiple colors in SVG replace color, random value too, fixes #4532
  • Improved Fireworks preset, now more realistic
  • Improved snow preset, added a small wobble effect

Bug Fixes

  • Moved out more properties from the engine, making the engine lighter and plugins more autonomous.
  • Improving some functions, could improve performance a bit
  • Fixed some 404 links in readme files, thanks to @munyoudoum
  • Fixed responsive screen size calculation

Other Changes

  • EventDispatcher is now private on the engine, it won't be possible to access it without using the given methods
  • Changed some exports, exported types instead of the entire classes, since it wasn't intended to use them outside the library
  • Created a builder CLI for building many packages, this makes it easier to maintain the build process
  • Removed active from slow interactivity mode object, it was obsolete, small breaking change but the engine will be a bit smaller

Social links


GitHub logo tsparticles / 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.

💖 💪 🙅 🚩
matteobruni
Matteo Bruni

Posted on August 11, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

tsParticles 2.9.3 Released
javascript tsParticles 2.9.3 Released

February 12, 2023

tsParticles 2.9.2 Released
javascript tsParticles 2.9.2 Released

February 12, 2023

tsParticles 2.9.0 Released
javascript tsParticles 2.9.0 Released

February 10, 2023

tsParticles 2.8.0 Released
javascript tsParticles 2.8.0 Released

January 19, 2023

Preparing tsParticles v3
javascript Preparing tsParticles v3

January 10, 2023