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.

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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay