VincentGarreau / particles.js

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

How to ease-in particles on page load #379

Closed Syntaf closed 5 years ago

Syntaf commented 5 years ago

I noticed that unlike https://vincentgarreau.com/particles.js/ , the particles on my page have no animation on load. The page will just cut from zero particles to a full page of particles.

I took a look at the demo site's JS, and couldn't find any config options that condense the particles on load, and have them rebound outwards.

How can I create some form of easing in the particles on my page?

Syntaf commented 5 years ago

I ended up animating this by adding a transition on the canvas itself