f(x,y) = (((-(x ^ x)) & ((x % x) - (y % 3))) ^ (-(-(y ^ x)))) % 10

Extent: 256x256 (scaled x2)

"Onebit" colouring scheme.