tsParticles 1.23.0 released
Tags: showdev, javascript, typescript, html
Published: 2021-03-22 08:38:00

# tsParticles 1.23.0

I didn't wrote a post since 1.18.11 so I will include all changes since that version (including the right version with the change)

## Release Notes

### New Features
- Renamed `backgroundMode` to `fullScreen` in options, non breaking since the old property is still supported. (`1.19.0`)
- By default motion is reduced when css motion reduction is enabled (`1.19.3`)
- Emitters and absorbers now can have a name in options (`1.19.4`)
- Responsive options (`1.20.0`)
- Resize keeps particles in place (`1.20.0`)
- Added overlap options to collisions (`1.20.0`)
- Added move speed decay option (`1.21.0`)
- Added external confetti shape, closes #605 (`1.21.0`)
- Added emitters spawn color (`1.21.0`)
- Added animation loop count for opacity and size options (`1.21.0`)
- Added noise/path generator in plugins management (`1.22.0`)
- Added Vector class, this is now used in particle velocity and position

### Bug Fixes
- Emitters uses the main loop, so they pause/play with the same particles logic (`1.20.1`)
- Fixed size and opacity animations (broken between `1.19.0` and `1.22.0`, restored in `1.22.1`)
- Options now can accept any additional property, double check the names; it's not `any`, it uses the indexer.

### Breaking Changes
Starting from `1.23.0` the new Vector class is used in particle speed and position, this will change how the speed works, it was a bug made in `particles.js` and not fixed.

The particle speed has now `length` and `angle` property so it's calculated correctly with the right values instead of the old bad values.

Old speed values will result in rectangular emitters, this new calculation method will result in circular emitters and more linear speed.

---

## Confetti shape
I made an article some days ago about this new shape

{% link https://dev.to/matteobruni/how-to-create-beautiful-confetti-animations-with-tsparticles-193 %}

## CodePen demos

You can find all the demos on CodePen [here](https://codepen.io/collection/DPOage)

---

### Related projects

#### jQuery

If you want to use tsParticles with jQuery checkout [this repository](https://github.com/matteobruni/jquery-particles)

#### VueJS

If you want to use tsParticles with VueJS checkout [this repository](https://github.com/matteobruni/particles.vue)

#### ReactJS

If you want to use tsParticles with ReactJS checkout [this repository](https://github.com/matteobruni/react-tsparticles)

##### 3rd Party

A 3rd-party component is available too, read more [here](https://github.com/Wufe/react-particles-js)

#### Preact

If you want to use tsParticles with Preact checkout [this repository](https://github.com/matteobruni/preact-particles)

#### Angular CLI

If you want to use tsParticles with Angular CLI (actually v9) checkout [this repository](https://github.com/matteobruni/ng-particles)

---

## Useful links

Checkout the demos here: <https://particles.matteobruni.it>

Do you want to replace the old, outdated and abandoned `particles.js`?

**You're in the right place!**

---

## GitHub repo
<https://github.com/matteobruni/tsparticles>

{% github matteobruni/tsparticles %}

If you like this project support it with a star 🌟

##npm
<https://www.npmjs.com/package/tsparticles>

##yarn
<https://yarnpkg.com/package/tsparticles>

##jsDelivr
<https://www.jsdelivr.com/package/npm/tsparticles>

## CDNJS
<https://cdnjs.com/libraries/tsparticles>

---

Feel free to contribute to the project!