I'm hoping to find a way to follow a path with a gradient so that the gradient changes along a tangent to the path.
Sorta like this:
So far, however, the solutions I've found in my search have all used variations on using a shape layer to mask a gradient layer.
Which results in an unwanted variation like this:
Is there a way to do this with Cocoa? In a way which will lend itself to animating changes to the path's shape?