Make glowing colors flow from one end of face to other end?

My attempt to copy your answer:

How do I get your Color Map Param2D? Thanks