# Bend a flat gradient without distortion

I am trying to make some shapes out of object coordinate vectors. I want to take a linear gradient (the X, Y, or Z) and bend it an arbitrary amount around an arbitrary point without distorting it. Currently, I am attempting this with Vector Rotate, as it lets me control the Angle and point to bend around. Here are the results with a 90 deg rotation:

And the nodes:

The Rotation is being masked based on the vertical axis. I've put it through Steps to make it easier to see the width.

The problem is that this is getting distorted. The thickness of the gradient is being lost when it is bent. I would like to prevent this from happening accidentally, but would also like to be able to make it happen intentionally.

My current setup seems convoluted, and it feels like there must be a better way to do all this?

• Crikes! x sin(t) + y cos(t) = r ! Why isn't that one on the 'obvious' shelf? Maybe it is, for you... :) Sep 4 at 19:22