Gradient on surface, HELP

Hello :blossom:
Have a nice time
i made a sphere divided by 20 triangles and each have a gradient.
I want to define this gradient (which I wrote in Python Grasshopper) on the surface of the sphere (sector with three points), and i cant do it with projection or python.
i’m new to grasshopper, i would be thankful for help.