You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2020. It is now read-only.
You might want to look into this. If you define a color array (or string) with CSS color names (eg: seagreen, blue, yellow, red, etc.), and enable connectParticles, the animation fails. Particles.init({ selector: "#particles", color: ["seagreen", "yellow", "blue"], // this will fail connectParticles: true // if this is set to true (it works fine if set to false) });
It has to do with hextorgb (which doesn't understand color names). Might want to look into fixing this or documenting it!
The text was updated successfully, but these errors were encountered:
Hello,
You might want to look into this. If you define a color array (or string) with CSS color names (eg: seagreen, blue, yellow, red, etc.), and enable connectParticles, the animation fails.
Particles.init({
selector: "#particles",
color: ["seagreen", "yellow", "blue"], // this will fail
connectParticles: true // if this is set to true (it works fine if set to false)
});
It has to do with hextorgb (which doesn't understand color names). Might want to look into fixing this or documenting it!
The text was updated successfully, but these errors were encountered: