tguerin / newton

An Easy To Use Particle Emitter
https://newton.7omtech.fr
MIT License
22 stars 7 forks source link

Allow color interpolation #1

Closed tguerin closed 11 months ago

tguerin commented 11 months ago

For now we can only set a color, the idea would be to add a color array and interpolate the color following a linear gradient interpolation. We would need to replace the color property by a ParticleColor that could be single, linearGradient etc.