How to interpolate between two colors based on a particles scale in an SPS?

Hey all! I’m new to Babylon but it’s great so far!

I’ve got an SPS set up, and I’m trying to set up a “start color” and “end color”. The idea is that the particles would be spawned with one color, and lerp to another color relative to their scale.

This is what I have so far: https://playground.babylonjs.com/#M2YDDH#1

I’m wondering what the best way to approach this would be. With an animation? Or within the update particle loop?

Any advice on what direction to go in would be awesome! Thanks in advance :pray: