Just to elucidate the idea a bit more, on the left we have the original perlin noise algorithm, and on the right we have the steerable version, with the changes underlined in red. We simply add a second set of weights, and incorporate our metric into the original dot product step