Diffusion-induced spontaneous pattern formation on gelation surfaces