[Beginner] How to do a custom gradient pattern along a pipe surface?

Hi guy! I followed some youtube tutorial and already distributed the pattern on the surface.
However, I would like to do a custom pattern around a pipe surface with a gradient… from biggest to smallest. Did I make anything wrong / is there any other solutions to complete this task easily? Thank you very much!