f(x,y) = ((~(~(y % y))) ^ (((y ^ x) | (y ^ y)) ^ ((y / y) / (y + x)))) % 3

Extent: 256x256 (scaled x2)

"Onebit" colouring scheme.