No. A uniformly continuous function takes $O(N)$ distinct values on an $N\times N$ grid.