Custom Color Transitions
Author: chrizzzly87Created Apr 11, 2024Updated Feb 18, 2025
Labelsdocumentationenhancementhelp wantedgood first issueup-for-grabspluginfeature_requestpinned
Contact Details
What is your request?
Custom color transitions
Color Transition / Gradient by lifetime
It would be neat to have an option to set color transitions during the particles lifetime. This might be very helpful to simulate real-life effects (i.e. burning fire that might go from bright yellow - red - black) as it burns up.
Color Transition / Gradient by Angle/Rotation
It would also be nice to be able to change the hue/lightness/color based on the rotation/displacement to create more realistic lightening options (i.e. to simulate golden glitter or other things where the lightening changes depending on the angle/squishyness of the particle rather than it's lifetime).
tsParticles Version
3.0.2
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: tsparticles/tsparticles