Particles.js: Multiple colors

Created on 16 Jun 2016  路  4Comments  路  Source: VincentGarreau/particles.js

Is it possible to add multiple colors for the particles?

Most helpful comment

Heya @emilwibe - you can pass an array of colors like this:

    "color": {
      "value": ["#BD10E0","#B8E986","#50E3C2","#FFD300","#E86363"]
    }

All 4 comments

Heya @emilwibe - you can pass an array of colors like this:

    "color": {
      "value": ["#BD10E0","#B8E986","#50E3C2","#FFD300","#E86363"]
    }

@twanlass thanks you so much. This is great :)

but it is not working on linked lines?? can you have a solution for it?

Please add support for linked lines too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Adryd picture Adryd  路  7Comments

cedriccharles4 picture cedriccharles4  路  3Comments

harshamv picture harshamv  路  3Comments

ghost picture ghost  路  8Comments

rahulsimpact picture rahulsimpact  路  5Comments