DEV Community

Cover image for tsParticles 2.12.0 Released
Matteo Bruni for tsParticles

Posted on

6 5 4 4 4

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.

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay