ReferenceBehaviorsInterface
TwinkleOptions
How often and how strongly particles twinkle.
Options for twinkle().
Properties
Section titled “Properties”brightnessoptionalnumberdefault0.6How far a particle’s color moves towards white at the peak of a glint, from 0 (not at all) to 1 (fully white).
glintsoptionalnumberdefault1.5How many glints a particle catches per second, on average. A particle that lives for one second with the default of 1.5 glints once or twice, at random moments.
lengthoptionalnumberdefault0.22How long a single glint lasts, from start to end, in seconds. Longer glints look softer.
sizeoptionalnumberdefault0.25How much a particle grows at the peak of a glint, relative to its size.
0.25makes it 25% larger.