Determines the rate (% or ° per second) at which a particle changes its hue, saturation, or lightness. A speed of 0 will set the hsl of particles to what was initially defined in value.
sync
boolean
true / false
When sync is toggled true, particles generated will change color in time with each other for their entire duration. However, when sync is toggled false, particles generated begin changing color at the set speed from their time of appearance, but independently of one another.
The animatable color interface, it provides all the necessary properties to create a color animation
Particles Color
| key | option type | example | notes | | ------------- | ----------- | ------- | --------------------------------------------------------- | ----- | |
value
|object
| | Thisvalue
property is the same described {@link IColor | here} | |animation.h
|object
| | See animation documentation below | |animation.s
|object
| | See animation documentation below | |animation.l
|object
| | See animation documentation below |Particles Color Animation
enable
boolean
true
/false
offset.max
number
60
offset.min
number
20
speed
number
40
hue, saturation, or lightness. A
speed
of0
will set the hsl ofparticles to what was initially defined in
value
.sync
boolean
true
/false
sync
is toggledtrue
, particles generated will change color intime with each other for their entire duration. However, when
sync
istoggled
false
, particles generated begin changing color at the set speed fromtheir time of appearance, but independently of one another.