VincentGarreau / particles.js

A lightweight JavaScript library for creating particles
https://vincentgarreau.com/particles.js/
MIT License
28.66k stars 4.81k forks source link

Rotation on particle #448

Open cedriccharles4 opened 3 years ago

cedriccharles4 commented 3 years ago

Hi there!

Thank you for this great library! Is there a way to rotate the particle randomly? I mean that right now, all my shapes have the same rotation. I would like to have a different rotation for each particule, to have something more random, like this: https://snipboard.io/N21pQ0.jpg

Thank you in advance, Cedric

matteobruni commented 3 years ago

Hi @cedriccharles4,

This library was abandoned years ago, I resumed this project some months ago and added other features, which includes the one you are asking.

The rebooted project is this: https://github.com/matteobruni/tsparticles

And you can see a working sample here:

cedriccharles4 commented 3 years ago

Hi @matteobruni !

Perfect, thank you 👍

lindelof commented 3 years ago

Oh, I think this project has not been abandoned, on the contrary it is very powerful and convenient. Please respect the author.