DEV Community

loading...
Cover image for tsParticles 1.24.1 released

tsParticles 1.24.1 released

matteobruni profile image Matteo Bruni ・2 min read

tsParticles 1.24.1

Release Notes

New Features

  • Added autoPlay option to emitters
  • Added drift (numeric or min/max object)
  • Added min/max alternative object to move.speed, size.value, opacity.value and rotate.value particles options

Bug Fixes

  • Emitter play/pause were not working fine from container
  • Confetti fixed oval rotation

Confetti shape

I made an article some days ago about this new shape

CodePen demos

You can find all the demos on CodePen here


Related projects

jQuery

If you want to use tsParticles with jQuery checkout this repository

VueJS

If you want to use tsParticles with VueJS checkout this repository

ReactJS

If you want to use tsParticles with ReactJS checkout this repository

3rd Party

A 3rd-party component is available too, read more here

Preact

If you want to use tsParticles with Preact checkout this repository

Angular CLI

If you want to use tsParticles with Angular CLI (actually v9) checkout this repository


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 logo matteobruni / tsparticles

tsParticles - Easily create highly customizable particles animations and use them as animated backgrounds for your website. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno.

banner

tsParticles - TypeScript Particles

A lightweight TypeScript library for creating particles. Dependency free (*) and browser ready!

Particles.js converted in TypeScript, dependency free (*), improved with new cool 😎 features and various bugs fixed and it's actively maintained!

jsDelivr Cdnjs npmjs npm lerna CodeFactor Codacy Badge Gitpod Ready-to-Code Run on Repl.it

Do you want to use it on your website?

This library is available on the two most popular CDNs and it's easy and ready to use, if you were using particles.js it's even easier.

You'll find the instructions below, with all the links you need, and don't be scared by TypeScript, it's just the source language.

The output files are just JavaScript. 🤩

CDNs and npm have all the sources you need in Javascript, a bundle browser ready (tsparticles.min.js) and all files splitted for import syntax.

If you are still interested some lines below there are some instructions for migrating from…

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!

Discussion (0)

pic
Editor guide