DEV Community

Cover image for tsParticles 2.8.0 Released
Matteo Bruni for tsParticles

Posted on

tsParticles 2.8.0 Released

tsParticles 2.8.0 Changelog

New Features

  • Reworked move.trail options, created an object with color and image, closes #4882

Trail Fill options

The previous fillColor is still available, but it's just a getter for the new fill options, which is an object like this:

fill: {
  color: "#123456"
Enter fullscreen mode Exit fullscreen mode


fill: {
  image: ""
Enter fullscreen mode Exit fullscreen mode

You can choose only one of them, to fill the canvas with the given image or color and create a trail effect.

As many knows, filling the canvas with a semitransparent color or image and drawing stuff, can leave some trail marks and in the image they can be seen a lot sometimes, the longer the trail the more visible they'll be.

Bug Fixes

  • Fixed polygon mask position issues
  • Fixed polygon mask scaling issues



Probably this will be the last v2.x version, except some bug fixes needed before v3.0 will be released.

You can read more about the upcoming v3.0 in the post linked below


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)