The color animation property
Color value, can be a single or an array of IValueColor, IRgb, IHsl or string
This load method is used to load data in the classes used as generic
Optional
data: RecursivePartial<IAnimatableColor>the input options
Static
createOptional
source: AnimatableColorOptional
data: SingleOrMultiple<string> | RecursivePartial<IAnimatableColor>
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.