How to create gradient text?

How do I create gradient text?

This is what I came up with. I’m sure others may have more creative ideas.

Create a mask with transparency of the text you want.
Example:


I created this in GIMP, but the same could be done with Shotcut.

Here is the project file to try it out for yourself. You can download my mask from here. Make sure both files are in the same directory.
Gradient Text.mlt (5.7 KB)

You can use the bundled Glaxnimate: Open Other > Animation (Glaxnimate)