Project that the shutter project came from, except instead of mapping angle, it maps distance in two different ways. Setting 0 is standard Euclidean distance from (0,0). Setting 1 is Manhattan distance, where diagonals count as the distance from the x coordinate plus the distance from the y. Setting 2 is the Chebyshev distance, where diagonals count as 1 unit. More info: https://en.wikipedia.org/wiki/Euclidean_distance https://en.wikipedia.org/wiki/Taxicab_geometry https://en.wikipedia.org/wiki/Chebyshev_distance