Skip to content

Releases: tsparticles/tsparticles

tsParticles 3.0.2

06 Dec 23:35
fa3e7c1
Compare
Choose a tag to compare

tsParticles 3.0.2 Changelog

Bug Fixes

  • Fixed trails config
  • Fixed flat output in @tsparticles/confetti
  • Improved sounds plugin
  • Fixed position in emitters after respawn

New Features

  • Added new EventType particleDestroyed
  • Replaced text shape with emoji shape in @tsparticles/confetti
  • Reworked @tsparticles/fireworks a bit for better output with the new v3 trails

tsParticles 3.0.1 Changelog

Bug Fixes

  • Fixed bug when using particles groups

tsParticles 3.0.0

05 Dec 09:11
0ea45de
Compare
Choose a tag to compare

tsParticles 3.0.0 Changelog

BREAKING CHANGES

  • Removed all tsParticles load methods to keep only a single one using a single object parameter
  • Removed support for shape deprecated properties like shape.image, shape.polygon, shape.stroke
    • the stroke property can be found in the particles section, not in the shape object
    • the image and polygon properties, like any other shape, are part of the shape.options object
  • Stroke now is a single object only like all the other particles properties
  • Removed multiline text shape, the text shape now supports that
  • Simplified some functions, using objects or removing unused overloads, this is breaking for v2 shapes
  • Moved some properties to private since they were public by mistake (this shouldn't affect many, the properties were mainly used in the engine)
  • Removed obsolete random properties in options objects
  • Removed emitters shapes from the plugin files, every emitters shape now has a dedicated package

Major Changes

New Features

  • Added event on config added to the engine
  • Added flat options to tsparticles-confetti options
  • Creating support for effects, like bubble that wasn't a real shape
  • Added linear easing
  • Created new emitters shapes: Canvas, Path and Polygon
  • Created trail effect plugin, this one is a real trail drawn in the canvas, it works also in transparent backgrounds. It requires more resources since it's drawn calculating last N positions and not redrawing a semi-transparent canvas on itself, supports also fade.
  • Added pop click interaction
  • Added limit mode (breaking changes on limit options)
  • Added possibility to replace color and opacity for emitters shapes
  • Added more options for customizing noises values (only Simplex and Perlin paths)
  • Added curl noise path plugin
  • Created Simplex and Perlin noise packages from their path plugins, they can be used in multiple packages without duplication (Curl Noise path for example)
  • Added new emoji shape, better performance than text shape
  • Added clear flag to the root object, enabled by default, if disabled, the canvas won't be cleared

Bug Fixes

  • Improved resize event and density formula