There’s an old definition here that might be useful
Packing spheres will give you cells which are locally more similar than using a randomised point distribution, but still with a gradient here from a coloured mesh.
If it’s just a vertical gradient then I think it should work to provide a single vertical plane mesh, not a stack like that example.